Skip to content

Tag: npm-scripts

npm not running scripts in package.json

The problem is that when I do npm start OR npm run customScriptCommand npm just not doing anything with the project and quickly just return new line in the terminal. I’ve tried removing node and npm from my machine and then do brew installation for node and npm, but it does not fix the problem. Then I tried removing node

Passing NODE_ENV into the npm script for Windows 10

I am using webpack in a Typescript project. I am following a tutorial where I have created 3 webpack files: webpack.common.js webpack.production.js webpack.development.js Within the tutorial’s package.json the “scripts” seconds have the following: I have been looking into the following SE Query to set the NODE_ENV for Windows 10. Where within PowerShell I perform: However once I execute npm run