function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Satapon WongsiriSatapon Wongsiri 

How to package with article type?

I add article type to my package but target org enable knowledge lighting
and I don't need to delete article type in my package.

How to fix solution this?

thank you 
SwethaSwetha (Salesforce Developers) 
HI Satapon,

> Can you provide any error messages or log details that you receive when attempting to deploy the package to an org with Knowledge Lightning enabled?

> Have you included the necessary components related to the article type in your package, such as page layouts, record types, or any custom fields associated with the article type?

> Are there any specific customizations or configurations related to the article type in the target org that might be causing conflicts during deployment?

Related: 
https://salesforce.stackexchange.com/questions/389782/when-lightning-knowledge-is-enabled-you-cant-add-an-article-type
https://help.salesforce.com/s/articleView?id=000393774&type=1
https://help.salesforce.com/s/articleView?id=sf.knowledge_article_types_create.htm&type=5

Important Update - what you need to do
User-added image
As a reminder, on December 4, 2023 the Salesforce Discussion Forums will be removed from the Salesforce Developers website. These forums will shut down and all relevant discussions will migrate to the Trailblazer Community digital platform.

During the week starting November 20, you can view discussions, but not post new questions or responses. On December 4, you will no longer be able to access the discussion forums from the Salesforce Developers website.

Please take these steps before November 30, 2023, 11:59 p.m. PT to ensure your contributions follow you to the Trailblazer Community:
  1. If you’re not already a member of the Trailblazer Community, sign up for a Trailblazer account using the same login email address associated with your Developer Discussion Forums account. This is crucial.
  2. If you already have a Trailblazer account, and it’s using a different email address from your Developer Discussion Forums account, we recommend that you log in to the Trailblazer Community and connect your forums email address to your Trailblazer account.
Find more info & support
We know that moving platforms can be a hassle, so we created a special forums users group, the Migration Support Hub, in the Trailblazer Community where you can get training videos, information, and assistance.

We are here to help you through this transition!

Sincerely,
The Forums Support Team