Kinto / formbuilder

Create your own forms and surveys, get your data back.
622 stars 148 forks source link

None of the scripts within package.json works #209

Open OleksiL opened 5 years ago

OleksiL commented 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

'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 `

fabiofdsantos commented 5 years ago

What's your OS? Windows?

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