Newer Version Available
Verify Project Configuration
Before you create a second-generation package, review your project configuration and
other Salesforce DX settings, including the namespace prefix.
Each project in SFDX requires an sfdx-project.json project configuration file.
Verify that the packageDirectories, namespace, and sourceApiVersion attributes are set.
1{
2 "packageDirectories": [
3 {
4 "path": "my-pkg2-app",
5 "default": true
6 }
7 ],
8 "namespace": "acme_example",
9 "sourceApiVersion": "41.0"
10}You can create the sfdx-project.json file by hand or copy the versions in the SFDX sample repositories as a starting point.