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
Introduced with #273, the "--ignore-scripts" option is used to prevent execution of any build scripts of the node.js project or its dependencies. However, this flag is not (yet) used for npm ci cases (introduced with #877), but IMHO it is totally valid to do so as same reasoning applies here (prevent execution of arbitrary build scripts + high risk of failing because the scripts could try to compile native code).
Caveat: ignore-scripts was introduced with NPM 5.7.0 (together with npm ci itself), but was not supported in NPM versions 7.0.0 < 7.4.0 (link)
If there are no objections, I would be able to prepare a PR for this.
The text was updated successfully, but these errors were encountered:
Introduced with #273, the "--ignore-scripts" option is used to prevent execution of any build scripts of the node.js project or its dependencies. However, this flag is not (yet) used for
npm ci
cases (introduced with #877), but IMHO it is totally valid to do so as same reasoning applies here (prevent execution of arbitrary build scripts + high risk of failing because the scripts could try to compile native code).Caveat:
ignore-scripts
was introduced with NPM 5.7.0 (together withnpm ci
itself), but was not supported in NPM versions 7.0.0 < 7.4.0 (link)If there are no objections, I would be able to prepare a PR for this.
The text was updated successfully, but these errors were encountered: