Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

None of the scripts within package.json works #209

Open
OleksiL opened this issue Nov 6, 2018 · 1 comment
Open

None of the scripts within package.json works #209

OleksiL opened this issue Nov 6, 2018 · 1 comment

Comments

@OleksiL
Copy link

OleksiL commented Nov 6, 2018

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
`

@fabiofdsantos
Copy link

fabiofdsantos commented Dec 27, 2018

What's your OS? Windows?

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants