overra / screeps-remote

ISC License
17 stars 6 forks source link

bin/dashboard doesn't run under Windows #1

Closed quonic closed 7 years ago

quonic commented 7 years ago
npm install
npm start

Gets this:

C:\Projects\spyingwind>npm start

> screeps-remote@0.0.2 start C:\Projects\spyingwind
> ./bin/dashboard

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

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\spyin\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.4.0
npm ERR! npm  v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! screeps-remote@0.0.2 start: `./bin/dashboard`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the screeps-remote@0.0.2 start script './bin/dashboard'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the screeps-remote package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./bin/dashboard
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs screeps-remote
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls screeps-remote
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Projects\spyingwind\npm-debug.log
quonic commented 7 years ago

Figured it out part of the problem, some dependencies were missing:

"sockjs-client": "^1.1.1",
"chokidar": "^1.6.0"

if I run node ./bin/dashboard it runs now.

overra commented 7 years ago

Thanks for the heads up! I've pushed the changes 👍