deploy-to-sfdx icon indicating copy to clipboard operation
deploy-to-sfdx copied to clipboard

namespace attribute must be a simple Javascript name.

Open ghost opened this issue 6 years ago • 6 comments

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

ghost avatar Jul 30 '18 09:07 ghost

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

britishboyindc avatar Nov 07 '18 17:11 britishboyindc

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

Linking a Namespace to a Dev hub solved the problem.

KamilSzostak avatar Nov 09 '18 18:11 KamilSzostak

@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!

mattlacey avatar Nov 16 '18 03:11 mattlacey

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

KeithClarke avatar Dec 06 '18 09:12 KeithClarke

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

wkuehler avatar Dec 28 '18 17:12 wkuehler

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

kokasvmx avatar Feb 11 '19 17:02 kokasvmx