JoshKaufman / ursa

URSA - RSA public/private key OpenSSL bindings for Node.js
Other
619 stars 135 forks source link

Cannot open include file: 'nan.h': No such file or directory #150

Open gkorland opened 7 years ago

gkorland commented 7 years ago

Failed to build on windows dues - Cannot open include file: 'nan.h' error

D:\home\site\wwwroot\node_modules\ursa>if not defined npm_config_node_gyp (node "D:\Program Files (x86)\npm\3.10.3\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild ) 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  ursaNative.cc
d:\home\site\wwwroot\node_modules\ursa\src\ursaNative.h(10): fatal error C1083: Cannot open include file: 'nan.h': No such file or directory [D:\home\site\wwwroot\node_modules\ursa\build\ursaNative.vcxproj]
quartzjer commented 7 years ago

I'm looking for a new maintainer: https://github.com/quartzjer/ursa#maintainer-needed

davedoesdev commented 7 years ago

@gkorland does https://github.com/quartzjer/ursa/pull/149 help at all? I have ursa compiling on Windows with Node >=6.3.0 using that fix.