I have a MeteorJS project with several internal packages (in the packages/ dir). During meteorbundle in the build stage of my project, meteor tries to update npm dependencies of one specific package, which causes UNABLE_TO_VERIFY_LEAF_SIGNATURE error and stops the bundle.
So I have two problems:
- How to prevent update of the npm dependencies of that package?
- If it cannot be prevented, how to turn off certificate verification in that process?
Things that I've tried and did not help:
- NODE_TLS_REJECT_UNAUTHORIZED=0
- METEOR_OFFLINE_CATALOG=1
- npm config set strict-ssl=false
- meteor npm config set strict-ssl=false
It should be noted that meteor npm install works fine, one meteor build fails.