-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build s2geometry-node #64
Comments
This working for me. |
The build-essential doesn't work for me. It's already installed and still cannot pass s2geometry-node build. |
I still can't figure this out either. In the mean time, what I did was
|
It's an issue on Windows machines. @billyriantono said he would look for a fix. Right now we are kinda stumped on Windows. Meanwhile, try booting up a linux VM and see if it npm installs. |
I've some issues with "isnan has not been declared" |
I'm on linux and I'm getting this:
I have also tested with node 5.9.1 and 6.3.1 |
@FabioAntunes try with
Youi'll have nan but it won't compile either way |
@vekexasia thanks for the tip, that doesn't work but I tried |
shit. which linux are you on? |
Elementary OS, basically it's ubuntu 14.04 the weird thing is yesterday I tried this repo on this machine and everything worked fine. Then I created a new folder for a fresh project and suddenly it didn't compile anymore |
i'm on 16.04 and it just don't work :( |
@vekexasia you are not the only one, @LASkuma had the same problem d-pollard/Pokemon-GO-node-api@526d671#commitcomment-18350298 |
Sorry for the nan problem ... i have removed from package.json but i am miss in one file have been updated in s2geometry-node@1.2.2 |
Can I build it on my Mac for a windows machine? |
i have to problems with s2geometery. console: http://pastebin.com/Xvu53Ts1 |
I couldn't get it to build on Ubuntu 16.04 on my Chromebook, but it did build okay on a 15.04 VM I have on my desktop... |
@Luzifix have you try npm install s2geometry-node ? |
@billyriantono Same error :( |
After reinstall node & npm on linux it works fine :) |
In my case, the problem was Windows. I have Visual Studio 2016, so that could be part of the issue. I made a Virtual Box for Ubuntu and I got the API running in under 10 minutes. I highly recommend using Virtual Box for developing anyway. Linux is the best! Edit: I run Ubuntu 16.0. I didn't have to install build-essential. |
Fixed in #165 by using pure JavaScript - no C++ or compiler necessary. |
I've tried many times and many tips over the internet to build s2geometry using node-gyp but each time it fails on errors like
I'm pasting a npm-debug.log
npm-debug.txt
npm -v 3.10.5
node -v v4.4.7
The text was updated successfully, but these errors were encountered: