adaltas / node-hbase

Asynchronous HBase client for NodeJs using REST

Home Page:https://hbase.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM install failing due to krb5@0.1.0

Lutziferbox opened this issue · comments

Since the bumb from hbase@0.2.2 to hbase@0.2.3, the npm install is failing due to the change from krb5@0.0.3 to krb5@0.1.0.

The exact error message is "fatal error C1083: Cannot open include file: 'gssapi.h': No such file or directory (compiling source file ..\src\krb5.cc)". I tried installing the complete visual studio compile chain, python2.7 and even MIT Kerberos, but the error remains the same.
"npm install hbase@0.2.3 --no-optional" is working fine, but since i cannot specify the "--no-optional" in the package.json, this will not suffice.

You shall redirect this message to the krb5 project with more detailed information. It works for me on my dev environment.

Could you please take the time to report an issue on the [krb5] project. We'll be happy to fix it but we need additionnal information like your OS and Node.js version.

Actually, I cannot find a way to do so. There is no way to submit issues to https://github.com/krb5/krb5 or www.npmjs.com/package/krb5.
My OS is Windows 10 and my node version is 6.9.1.
I tried to set up the whole windows toolchain for nody-gyp but it did not resolve the issue:

...\node_modules\krb5\src\krb5.h(5): fatal error C1083: Cannot open includ e file: 'gssapi.h': No such file or directory (compiling source file ..\src\krb5.cc) [...\node_modules\krb5\build\krb5.vcxproj]
...\node_modules\krb5\src\krb5.h(5): fatal error C1083: Cannot open includ e file: 'gssapi.h': No such file or directory (compiling source file ..\src\worker.cc) [...\node_modules\krb5\build\krb5.vcxproj]
...\node_modules\krb5\src\krb5.h(5): fatal error C1083: Cannot open includ e file: 'gssapi.h': No such file or directory (compiling source file ..\src\addon.cc) [...\node_modules\krb5\build\krb5.vcxproj]
...\node_modules\krb5\src\krb5.h(5): fatal error C1083: Cannot open includ e file: 'gssapi.h': No such file or directory (compiling source file ..\src\bind.cc) [...\node_modules\krb5\build\krb5.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: ...\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (...\nvm\v6.9.1\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "...\nodejs\node.exe" "...\nvm\v6.9.1\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd ...\node_modules\krb5
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: krb5@0.1.0 (node_modules\krb5):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: krb5@0.1.0 install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1