In your post, please share:
- Whether you are bare or managed workflow
- Your
eas-cli
version - What you have tried so far
I am using Bit.dev and that requires an npm registry
that is detailed in docs. What i am struggling with is the suggested NPM_TOKEN
config setup.
I have added a new .npmrc
file in my route;
@bit:registry=https://node.bit.cloud
//node.bitsrc.io/:_authToken=***
//node.bit.cloud/:_authToken=***
@whatch:registry=https://node.bit.cloud
The *** is token. The docs suggest _authToken=${NPM_TOKEN}
. When i get to run my build script, i get the following error locally (before it hits eas);
An unexpected error occurred: “Failed to replace env in config: ${NPM_TOKEN}”
This happens immediately after yarn run
(v1.22.17
)