How Would I Setup a NPM_RC Variable on Vercel With Multiple Scopes From Different Packages
Unanswered
Donald Louch posted this in #help-forum
Hello,
I'm trying to use a new Icon provider (for this case lets call the provider NewIcons) and while I'm updating all my icons I'm still wanting to use my old provider (for this case lets call the provider OldIcons)!
Both of the providers use private dependencies and need to use a
I have it working fine in dev but I can't deploy to Vercel!
I get the following error
I have my
I'm trying to use a new Icon provider (for this case lets call the provider NewIcons) and while I'm updating all my icons I'm still wanting to use my old provider (for this case lets call the provider OldIcons)!
Both of the providers use private dependencies and need to use a
.npmrc
or NPM_RC
env variable for Vercel!I have it working fine in dev but I can't deploy to Vercel!
I get the following error
Compiled with warnings in 35.8min
and Critical dependency: the request of a dependency is an expression
.I have my
NPM_RC
setup as:@NewIconProviderKit:registry=https://npm.NewIconProvider.com/
@NewIconProviderCore:registry=https://npm.NewIconProvider.com/
//npm.NewIconProvider.com/:_authToken=TOKEN
@OldIconProvider:registry=https://npmOldIconProvider.com/
//npm.OldIconProvider.com/:_authToken=TOKEN