maierfelix / maierfelix/POGOserver

Failed to run "run-windows"

Open
#280 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
476
Forks
198
PR merge metrics
No merged PRs in 30d

Description

Windows 10. After doing install-windows.bat and then run-windows.bat, this error message is created.

> 0 info it worked if it ends with ok
> 1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
> 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
> 1 verbose cli 'run',
> 1 verbose cli 'boot' ]
> 2 info using npm@2.15.9
> 3 info using node@v4.6.0
> 4 verbose run-script [ 'preboot', 'boot', 'postboot' ]
> 5 info preboot POGOServer@0.6.0
> 6 info boot POGOServer@0.6.0
> 7 verbose unsafe-perm in lifecycle true
> 8 info POGOServer@0.6.0 Failed to exec boot script
> 9 verbose stack Error: POGOServer@0.6.0 boot: `npm run babel-node -- ./src/index.js`
> 9 verbose stack Exit status 1
> 9 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
> 9 verbose stack at emitTwo (events.js:87:13)
> 9 verbose stack at EventEmitter.emit (events.js:172:7)
> 9 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
> 9 verbose stack at emitTwo (events.js:87:13)
> 9 verbose stack at ChildProcess.emit (events.js:172:7)
> 9 verbose stack at maybeClose (internal/child_process.js:829:16)
> 9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
> 10 verbose pkgid POGOServer@0.6.0
> 11 verbose cwd C:\Users\David\Desktop\PGM-3.2.0\server
> 12 error Windows_NT 10.0.14393
> 13 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "boot"
> 14 error node v4.6.0
> 15 error npm v2.15.9
> 16 error code ELIFECYCLE
> 17 error POGOServer@0.6.0 boot: `npm run babel-node -- ./src/index.js`
> 17 error Exit status 1
> 18 error Failed at the POGOServer@0.6.0 boot script 'npm run babel-node -- ./src/index.js'.
> 18 error This is most likely a problem with the POGOServer package,
> 18 error not with npm itself.
> 18 error Tell the author that this fails on your system:
> 18 error npm run babel-node -- ./src/index.js
> 18 error You can get information on how to open an issue for this project with:
> 18 error npm bugs POGOServer
> 18 error Or if that isn't available, you can get their info via:
> 18 error
> 18 error npm owner ls POGOServer
> 18 error There is likely additional logging output above.
> 19 verbose exit [ 1, true ]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with install-windows.bat and run-windows.bat, then inspect the package boot script that runs npm run babel-node -- ./src/index.js. Reproduce the failure on Windows 10 and capture the missing output above the npm lifecycle error; done means the documented Windows startup command launches the server successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.