using `export`ed NPM_TOKEN syntax incorrect


(Dale Tan) #1

Not sure if this is due to bash or zbash differences, but on the https://docs.npmjs.com/private-modules/ci-server-config, the syntax for

//registry.npmjs.org/:_authToken=${NPM_TOKEN}

is incorrect.

I had to use

//registry.npmjs.org/:_authToken=$NPM_TOKEN

lack of wrapping curly braces. again, iโ€™m not sure if this is bash vs zbash difference or not though as I am running a zbash shell.


(Nikki Everett) #2

Yeah, curly braces work on bash, but I donโ€™t know about zbash (if by zbash, you mean https://github.com/dczhu/zbash). What happens when you use the syntax from the doc?


(Dale Tan) #3

sorry, i referenced the wrong shell - i meant zshell - https://ohmyz.sh/