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
npm ci is not respecting the '--ignore-scripts' flag. The postintsall script is being executed regardless.
Expected Behavior:
I would expect 'npm ci --ignore-scripts' to behave in the same way as 'npm install --no-scripts' and not run any scripts. The two commands worked in the same way in 6.14.9 but no longer after updating to 7.3.0.
Steps To Reproduce:
Create a package.json with postinstall:"echo running post install"
Run npm install --ignore-scripts
Run npm ci --ignore-scripts
Post install script has been executed once but should not have executed at all.
Environment:
OS: Debian 10
Node: 15.5.0
npm: 7.3.0
The text was updated successfully, but these errors were encountered:
Current Behavior:
npm ci is not respecting the '--ignore-scripts' flag. The postintsall script is being executed regardless.
Expected Behavior:
I would expect 'npm ci --ignore-scripts' to behave in the same way as 'npm install --no-scripts' and not run any scripts. The two commands worked in the same way in 6.14.9 but no longer after updating to 7.3.0.
Steps To Reproduce:
Environment:
The text was updated successfully, but these errors were encountered: