maierfelix / maierfelix/POGOserver
I keep getting this error when installing POGO!
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 476
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
npm run boot
> POGOServer@0.6.1 boot /Users/***/Desktop/POGOserver
> npm run babel-node -- ./src/index.js
> POGOServer@0.6.1 babel-node /Users/***/Desktop/POGOserver
> babel-node --presets=es2015 "./src/index.js"
/Users/***/Desktop/POGOserver/node_modules/babel-core/lib/transformation/file/index.js:590
throw err;
^
SyntaxError: /Users/***/Desktop/POGOserver/cfg.js: Unexpected character '“' (56:21)
54 | // Used for asset download session
55 | DOWNLOAD_PROVIDER: "GOOGLE",
> 56 | DOWNLOAD_USERNAME: “*****”,
| ^
57 | DOWNLOAD_PASSWORD: “******”,
58 |
59 | // Google maps api key
at Parser.pp$5.raise (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:4454:13)
at Parser.getTokenFromCode (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:1147:10)
at Parser.readToken (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:776:19)
at Parser.nextToken (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:766:19)
at Parser.next (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:691:10)
at Parser.eat (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:698:12)
at Parser.pp$3.parseObjectProperty (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:4114:12)
at Parser.pp$3.parseObjPropValue (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:4140:84)
at Parser.pp$3.parseObj (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:4048:10)
at Parser.pp$3.parseExprAtom (/Users/***/Desktop/POGOserver/node_modules/babylon/lib/index.js:3719:19)
npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "babel-node" "--" "./src/index.js"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! POGOServer@0.6.1 babel-node: `babel-node --presets=es2015 "./src/index.js"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the POGOServer@0.6.1 babel-node script 'babel-node --presets=es2015 "./src/index.js"'.
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 POGOServer package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! babel-node --presets=es2015 "./src/index.js"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs POGOServer
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls POGOServer
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/***/Desktop/POGOserver/npm-debug.log
npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "boot"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! POGOServer@0.6.1 boot: `npm run babel-node -- ./src/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the POGOServer@0.6.1 boot script 'npm run babel-node -- ./src/index.js'.
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 POGOServer package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run babel-node -- ./src/index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs POGOServer
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls POGOServer
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/***/Desktop/POGOserver/npm-debug.log
Log file:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'boot' ]
2 info using npm@3.10.10
3 info using node@v6.11.2
4 verbose run-script [ 'preboot', 'boot', 'postboot' ]
5 info lifecycle POGOServer@0.6.1~preboot: POGOServer@0.6.1
6 silly lifecycle POGOServer@0.6.1~preboot: no script for preboot, continuing
7 info lifecycle POGOServer@0.6.1~boot: POGOServer@0.6.1
8 verbose lifecycle POGOServer@0.6.1~boot: unsafe-perm in lifecycle true
9 verbose lifecycle POGOServer@0.6.1~boot: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/***/Desktop/POGOserver/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
10 verbose lifecycle POGOServer@0.6.1~boot: CWD: /Users/***/Desktop/POGOserver
11 silly lifecycle POGOServer@0.6.1~boot: Args: [ '-c', 'npm run babel-node -- ./src/index.js' ]
12 silly lifecycle POGOServer@0.6.1~boot: Returned: code: 1 signal: null
13 info lifecycle POGOServer@0.6.1~boot: Failed to exec boot script
14 verbose stack Error: POGOServer@0.6.1 boot: `npm run babel-node -- ./src/index.js`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:891:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid POGOServer@0.6.1
16 verbose cwd /Users/***/Desktop/POGOserver
17 error Darwin 16.6.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "boot"
19 error node v6.11.2
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error POGOServer@0.6.1 boot: `npm run babel-node -- ./src/index.js`
22 error Exit status 1
23 error Failed at the POGOServer@0.6.1 boot script 'npm run babel-node -- ./src/index.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the POGOServer package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error npm run babel-node -- ./src/index.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs POGOServer
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls POGOServer
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with cfg.js at lines 56-57 and reproduce the failure with npm run boot. Verify that the configuration parses successfully and that the server gets past the Babel startup error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- babel, javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100