You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my NPM to the latest version (7.18.1). And now I can't run npm run update_production / dscc-scripts connector update_production anymore.
I get the following error message: Your package.json must have dsccConnector.production entry.
My package.json contains the correct values
Wanted to add some detail for anyone else running into this. Downgrading NPM worked for me too. I was on 7.15.0 and dropped back to 6.7.0. I did this by switching Node versions with NVM from 12.14.1 to 11.15.0. I'm guessing anything 12.x is broken and anything 11.x will work.
Wanted to add some detail for anyone else running into this. Downgrading NPM worked for me too. I was on 7.15.0 and dropped back to 6.7.0. I did this by switching Node versions with NVM from 12.14.1 to 11.15.0. I'm guessing anything 12.x is broken and anything 11.x will work.
Node.js 12.x and 14.x come bundled with NPM 6.x, so downgrading Node.js isn't necessary.
I have updated my NPM to the latest version (7.18.1). And now I can't run
npm run update_production
/dscc-scripts connector update_production
anymore.I get the following error message:
Your package.json must have dsccConnector.production entry
.My package.json contains the correct values
The reason for this is probably the "reduce lifecycle script environment".
npm_package_*
environment variables (like npm_package_dsccConnector_production) are removed from the context of lifecycle scripts.Solution
Downgrading my NPM
The text was updated successfully, but these errors were encountered: