have you tried running a script which was defined in your package.json and it didn’t do anything?
I had this issue because I must have set the ignore-scripts to true after reading this article regarding Package install scripts vulnerability.
ignore-scriptsconfiguration key. Its expected value is a Boolean and it’s set to
Perhaps it has inadvertently been set to
ignore-scripts the configuration you can utilize the npm-config command:
- Check its current setting by running:
npm config get ignore-scripts
- If the aforementioned command returns
truethen reset it to
npm config set ignore-scripts false