s2geometry-node and node-gyp build error
See original GitHub issueemote: make: Leaving directory `/var/lib/openshift/56a101f97628e1ed0c0000ad/app-root/runtime/repo/node_modules/pokemon-go-node-api/node_modules/s2geometry-node/build'
remote: gyp ERR! build error
remote: gyp ERR! stack Error: `make` failed with exit code: 2
remote: gyp ERR! stack at ChildProcess.onExit (/opt/rh/nodejs010/root/usr/lib/node_modules/node-gyp/lib/build.js:276:23)
remote: gyp ERR! stack at ChildProcess.emit (events.js:98:17)
remote: gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
remote: gyp ERR! System Linux 2.6.32-573.12.1.el6.x86_64
remote: gyp ERR! command "node" "/opt/rh/nodejs010/root/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
remote: gyp ERR! cwd /var/lib/openshift/56a101f97628e1ed0c0000ad/app-root/runtime/repo/node_modules/pokemon-go-node-api/node_modules/s2geometry-node
remote: gyp ERR! node -v v0.10.35
remote: gyp ERR! node-gyp -v v3.2.0
remote: gyp ERR! not ok
remote: npm info s2geometry-node@1.3.1 Failed to exec install script
remote: npm ERR! Linux 2.6.32-573.12.1.el6.x86_64
remote: npm ERR! argv "node" "/opt/rh/nodejs010/root/usr/bin/npm" "install" "-d"
remote: npm ERR! node v0.10.35
remote: npm ERR! npm v2.14.13
remote: npm ERR! code ELIFECYCLE
remote:
remote: npm ERR! s2geometry-node@1.3.1 install: `node-gyp rebuild`
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the s2geometry-node@1.3.1 install script 'node-gyp rebuild'.
I’m trying to upload my project to openshift, and I keep getting this build error. I had try everything I could think of, but my options are limited being a free hosting for open source projects. Everything works great on my side…but I don’t know where to attack this problem. May you throw some insight on this? 😃 I’ll contact openshift’s tech, meanwhile
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top Results From Across the Web
build failed on ubuntu · Issue #41 · mapbox/node-s2 · GitHub
I have a bit newer build on my machine that I will push out tomorrow. This might be environment specific, however, since I...
Read more >NPM install fails with node-gyp - Stack Overflow
> node-gyp --python D:\Python27\python.exe - 'node-gyp' is not recognized as an internal or external command, operable program or batch file.
Read more >11483458 by tmcw - blocks
geometry /s2cell.cc:190:37: error: too many arguments provided to function-like macro invocation DCHECK_EQ(((face_ < 3) ? 1 : -1), S2::GetNorm(face_)[face_ ...
Read more >npmsearchfullcat_npm143.txt - GitHub
=jacoblyles 2013-08-17 0.0.0 alphabetize json node abcenter assets build center ... =mercmobily 2013-12-05 0.3.1 javascript http errors allie-github-example ...
Read more >How to run Java code in Node.js ? - GeeksforGeeks
How to run Java code in Node.js ? · 1. Install Node.js on your computer, See the steps here. If it is already...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I need help fixing https://github.com/coolaj86/s2-geometry-javascript/issues/6 before this can be merged in.
However, you can use my fork in the meantime: https://github.com/Daplie/Pokemon-GO-node-api
You can test that it (usually) works with my Pokémap server: https://github.com/Daplie/node-pokemap
After much hunting info around…I’ve come to this: https://github.com/icflorescu/openshift-cartridge-nodejs/issues/49
It’s seems there is no hope 😦 Maybe its there some kind of alternative? another lib that doesn’t depend on node-gyp? I didn’t expect this…everything works fine, and then founding that all that work means nothing before the mighty-outdated server xD