formbuilder icon indicating copy to clipboard operation
formbuilder copied to clipboard

None of the scripts within package.json works

Open OleksiL opened this issue 7 years ago • 1 comments

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

[email protected] 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 `

OleksiL avatar Nov 06 '18 14:11 OleksiL

What's your OS? Windows?

If yes, try to install this: npm install -g win-node-env

fabiofdsantos avatar Dec 27 '18 19:12 fabiofdsantos