You need to sign in to do that
Don't have an account?
sfdx force:package:version:create commnt throws error about instalation of package with no namespace to org with namespacen
So i am creating my first unmanaged package with namespace. I created the package with no problem but when i tried to create package version i get this error:
Sie können kein nicht gesperrtes Paket ohne Namespace in einer Organisation mit Namespace installieren
I used this commend :
sfdx force:package:version:create -k "password" -w 40 -p "mypackageID"
and here is package definiton file:
{ "sourceApiVersion": "45.0", "sfdcLoginUrl": "https://login.salesforce.com", "namespace": "amsHRR", "packageDirectories": [ { "definitionFile": "config/project-scratch-def.json", "package": "HRProcessesSupportApp", "default": true, "versionNumber": "0.0.0.NEXT", "dependencies": [ { "package": "Propel", "subscriberPackageVersionId": "packageID" }, { "package": "ZeroStateAMSApp", "subscriberPackageVersionId": "packageID" } ], "versionName": "Version 0.0", "path": "force-app" } ], "packageAliases": { "Propel": "04t1S000000XzOQQA0", "ZeroStareAMSApp": "packageID", "ZeroStareAMSApp@0.0.0-1": "packageID", "HRProcessesSupportApp": "packageID" } }