npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm run fails without errors for large package.json file

My package.json is around 220KB. Running npm run fails/does nothing. But if I remove some fields to make the file size smaller, all npm run commands work fine.
I’m using npm 6.4.1 and node 10.14.2 on MacOS High Sierra 10.13.6.
It works fine on Windows and Linux.
This is my package.json.
Please help.


Note, this has now been reported as a bug: All npm run <command> fails for large package.json