maierfelix / maierfelix/POGOserver
Is it possible to get this working on a mac
- Dominant language
- JavaScript
- Stars
- 476
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
I was just wondering if it's possible to get this working on a mac because when I type npm install on my mac but I get this:
> node-protobuf@1.3.3 install /Users/OCO0003/Desktop/POGOserver-master/node_modules/node-protobuf
> node-gyp rebuild
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 15.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/OCO0003/Desktop/POGOserver-master/node_modules/node-protobuf
gyp ERR! node -v v6.6.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN POGOServer@0.5.9 license should be a valid SPDX license expression
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.6.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! node-protobuf@1.3.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-protobuf@1.3.3 install script 'node-gyp rebuild'.
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 node-protobuf package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-protobuf
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-protobuf
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/OCO0003/Desktop/POGOserver-master/npm-debug.log
and when I try npm run boot I get this:
> POGOServer@0.5.9 boot /Users/OCO0003/Desktop/POGOserver-master
> npm run babel-node -- ./src/index.js
>
> POGOServer@0.5.9 babel-node /Users/OCO0003/Desktop/POGOserver-master
> babel-node --presets=es2015 "./src/index.js"
module.js:457
throw err;
^
Error: Cannot find module 'pokemongo-protobuf'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/Users/OCO0003/Desktop/POGOserver-master/src/index.js:5:1)
at Module._compile (module.js:556:32)
at loader (/Users/OCO0003/Desktop/POGOserver-master/node_modules/babel-register/lib/node.js:146:5)
at Object.require.extensions.(anonymous function) [as .js](/Users/OCO0003/Desktop/POGOserver-master/node_modules/babel-register/lib/node.js:156:7)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "babel-node" "--" "./src/index.js"
npm ERR! node v6.6.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! POGOServer@0.5.9 babel-node: `babel-node --presets=es2015 "./src/index.js"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the POGOServer@0.5.9 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/OCO0003/Desktop/POGOserver-master/npm-debug.log
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "boot"
npm ERR! node v6.6.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! POGOServer@0.5.9 boot: `npm run babel-node -- ./src/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the POGOServer@0.5.9 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/OCO0003/Desktop/POGOserver-master/npm-debug.log
So is it possible to get this working on mac If it isn't is there any alternative programs I could use to make a Pokemon go private server?
Contributor guide
No contributing guide indexed for this repository
Research direction
The reported failures occur during node-protobuf's node-gyp install and when src/index.js loads pokemongo-protobuf; begin by checking the npm install and boot scripts alongside those dependency errors. Done means the setup completes on macOS and npm run boot no longer fails with the shown build or missing-module errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend, build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100