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

Problem executing "npm start" in Windows Environment (solved) #40

Open
LucasAmorimSilva opened this issue May 24, 2017 · 0 comments
Open

Comments

@LucasAmorimSilva
Copy link

I followed the instructions in the main page using git bash to initialize the json-diff and I got this error:

$ npm start
> [email protected] start C:\Users\silvalk\Desktop\online-json-diff
> ./node_modules/serve/bin/serve .

'.' is not recognized as an internal or external command,
operable program or batch file.

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"

So I changed the file package.json in the field start from ./node_modules/serve/bin/serve . to ./node_modules/serve/bin/serve and it worked.

May you change the instruction page to guide Windows users?

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

1 participant