NPM run * doesn’t do anything

npm has a ignore-scripts configuration key. It’s expected value is a Boolean and it’s set to false by default.

Perhaps it has inadvertently been set to true.

To get/set the ignore-scripts configuration you can utilize the npm-config command:

  1. Check its current setting by running:

    npm config get ignore-scripts
    
  2. If the aforementioned command returns true then reset it to false by running:

    npm config set ignore-scripts false
    

Leave a Comment