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
Pablo Ledesma 8Pablo Ledesma 8 

Build Your First Unlocked Package

I have an issue in the step 5 wen I execute this:

sfdx force:package2:version:create --directory force-app --wait 10

I get this error

ERROR:  dreamhouse: In field: application - no CustomApplication named DreamHouse found,DreamHouse: Property 'tabs' not valid in version 41.0.

Could you please help me?
SandhyaSandhya (Salesforce Developers) 
Hi,

Make sure that you have done below steps in the challenge content

Configure Your Environment
Before you can get to the good stuff, let’s make sure you have everything set up that you need to ace the challenge ahead.
Have you already set up a Developer Hub (Dev Hub) and installed the Salesforce CLI? Head over to this unit in the App Development with Salesforce DX module for details.
Do you have a GitHub account?
Have you turned on the Packaging 2 beta in your Dev Hub org? From Setup, enter Dev Hub in the Quick Find box and select Dev Hub. Click Enable Packaging 2 (Beta).

Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
 
Best Regards
Sandhya
 
Pablo Ledesma 8Pablo Ledesma 8
Thanks Sandhya

I have already reviewed the configuration of my work environment. I have the salesforce dx tools installed, I am connected to the devhub and my developer account and I have an active github account.

I have already created the package
User-added image

But wen I try to create the version:
User-added image