Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gemmi opened this issue Jul 17, 2017 · 4 comments
Open

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

gemmi opened this issue Jul 17, 2017 · 4 comments

Comments

@gemmi
Copy link

gemmi commented Jul 17, 2017

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.

@AlexandreBonaventure
Copy link
Owner

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.

@tangj1206
Copy link

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

@tangj1206
Copy link

It's cannot run on macos too.please help

@tangj1206
Copy link

@gemmi 这个问题你解决了吗

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

No branches or pull requests

3 participants