wadewegner / deploy-to-sfdx

An open-source and community-driven tool for one-click Salesforce DX deployments from public repositories to Scratch Orgs
https://deploy-to-sfdx.com
Apache License 2.0
98 stars 22 forks source link

namespace attribute must be a simple Javascript name. #45

Open ghost opened 6 years ago

ghost commented 6 years ago

Invalid value specified for the namespace attribute: fmfctest. Must be a simple Javascript name.

britishboyindc commented 5 years ago

I got this today - I hadn't linked my namespace to my devhub via the name space registries

KamilSzostak commented 5 years ago

I got the same error when my namespace was not linked to the DevHub.

Linking a Namespace to a Dev hub solved the problem.

mattlacey commented 5 years ago

@wadewegner Any chance we could get a more descriptive error in this scenario? I just hit the same issue as Peter and Kamil, just had to link up the namespace in the registry but would never have guessed that from the message!

KeithClarke commented 5 years ago

+1 for including not having the namespace linked as a possible cause in the error message.

wkuehler commented 5 years ago

Just ran into this error as well. Thanks @KamilSzostak for the namespace tip. Agree that the messaging could be better here.

kokasvmx commented 5 years ago

I have encountered the same, this thread helped me to resolve. One other step to be performed once namespace registry is linked is I have reinitiated the force:auth:web:login to my DevHub org