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
"dsccConnector": {
"production": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"latest": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
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