blitlabs/online-json-diff

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

LucasAmorimSilva opened this issue · 0 comments

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

$ npm start
> online-json-diff@1.0.0 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?