Open OleksiL opened 5 years ago
My goal is to publish this project to my local npm registry so that I could import it in another projects. But when I try to run any of the scripts defined in package.json they don't work. For example:
`
npm run build:formbuilder formbuilder@0.0.1 build:formbuilder C:\GitRepository\formbuilder NODE_ENV=production rimraf build && webpack --config webpack.config.prod.js --optimize-minimize && cp formbuilder/index.prod.html build/index.html
npm run build:formbuilder
formbuilder@0.0.1 build:formbuilder C:\GitRepository\formbuilder NODE_ENV=production rimraf build && webpack --config webpack.config.prod.js --optimize-minimize && cp formbuilder/index.prod.html build/index.html
'NODE_ENV' is not recognized as an internal or external command, operable program or batch file.`
npm run dist && npm publish
npm ERR! missing script: dist `
What's your OS? Windows?
If yes, try to install this: npm install -g win-node-env
npm install -g win-node-env
My goal is to publish this project to my local npm registry so that I could import it in another projects. But when I try to run any of the scripts defined in package.json they don't work. For example:
`
'NODE_ENV' is not recognized as an internal or external command, operable program or batch file.`
`
npm ERR! missing script: dist `