logoalt Hacker News

ameliaquining • today at 12:52 PM • 1 reply • view on HN

Huh, I already got the new behavior last time I tried this, and I didn't manually enable it. I wonder why.


Replies

nicce • today at 2:10 PM

You will get the warnings but default npm in Node will still run the scripts.

npm 12 has the relevant breaking changes: https://github.blog/changelog/2026-06-09-upcoming-breaking-c...

Node 27 will likely ship with it:

https://github.com/nodejs/Release/issues/1161

https://github.com/npm/cli/issues/9997