vue-flowchart icon indicating copy to clipboard operation
vue-flowchart copied to clipboard

'NODE_PATH'is not recognized as an internal or external command

Open gemmi opened this issue 7 years ago • 4 comments

After installed all the packages and run “npm run serve”, i got this error "'NODE_PATH' is not recognized as an internal or external command...". Then I set env_variable 'NODE_PATH' to 'D:\Program Files\nodejs\node_global\node_modules' ( with nodejs installed in 'D:\Program Files\nodejs'), but still failed to start server. I think there is a mistake of NODE_PATH but i don't know how to fix it, thanks for help.

gemmi avatar Jul 17 '17 13:07 gemmi

Hi, thanks for posting this issue I'm working on a Mac environment so I forget sometimes to set environment variables. In order to fix this, I should install: https://www.npmjs.com/package/cross-env

Don't have the time to do this right now, but feel free to open a PR.

AlexandreBonaventure avatar Jul 17 '17 17:07 AlexandreBonaventure

I had the same problem Please help us to slove this problem thanks!

tangj1206 avatar Aug 31 '17 01:08 tangj1206

It's cannot run on macos too.please help

tangj1206 avatar Aug 31 '17 14:08 tangj1206

@gemmi 这个问题你解决了吗

tangj1206 avatar Sep 01 '17 05:09 tangj1206