Pokemon-GO-node-api: Cannot build s2geometry-node

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

..\geometry\s1interval.cc(249): error C2065: 'M_PI': undeclared identifier [C:\
nodejs\poke\node_modules\s2geometry-node\build\NativeExtension.vcxproj

I’m pasting a npm-debug.log

npm-debug.txt

npm -v 3.10.5

node -v v4.4.7

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 21 (4 by maintainers)

Most upvoted comments

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