Closed arkdelkaos closed 8 years ago
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
Same problem with MeteorJS 1.3.5 (who run a Node 0.10.46).
But s2geometry-node
(and so node-gyp
) use V8 namespace introduced on 0.11
same here...
I had the same problem before. Possible solutions https://github.com/billyriantono/s2geometry-node/issues/12
In the end I'm gonna change to Heroku :) There all goes smooth. I think that openshift isn't going to do much, knowing that their node base is 0.10, and they just don't care enough to upgrade.
@klisman & @arkdelkaos https://github.com/billyriantono/s2geometry-node/issues/14#issuecomment-235588095 <- worked for me.
Fixed in https://github.com/Armax/Pokemon-GO-node-api/pull/165 by using pure JavaScript - no C++ or compiler necessary.
Build is going fine on windows 7 but now calling PokeIo.heartbreak gives me:
C:\src\dkj\performance-hunting\node_modules\pokemon-go-node-api\poke.io.js:49
var origin = S2.latLngToQuadkey(lat, lng, level);
^
TypeError: S2.latLngToQuadkey is not a function
at getNeighbors (C:\src\dkj\performance-hunting\node_modules\pokemon-go-node-api\poke.io.js:49:19)
at Pokeio.self.Heartbeat (C:\src\dkj\performance-hunting\node_modules\pokemon-go-node-api\poke.io.js:261:16)
at Timeout.setInterval [as _repeat] (C:\src\dkj\performance-hunting\index.js:59:20)
at Timeout.wrapper [as _onTimeout] (timers.js:421:11)
at tryOnTimeout (timers.js:228:11)
at Timer.listOnTimeout (timers.js:202:5)
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
Closing issue for now. Please continue discussion on the pr by @coolaj86.
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