Skip to Content
0

@sap/xssec issue npm install : binding.gyp not found

Nov 07, 2017 at 01:08 PM

255

avatar image
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Bert Deterd Nov 10, 2017 at 10:58 AM
0

Anyone?

Does any one do an npm install @sap/xssec --save succesfully?

Share
10 |10000 characters needed characters left characters exceeded
Georgi Farashev
Nov 20, 2017 at 05:07 PM
0

Hi Bert,

The problem is that the node version that you are using was not supported.

@sap/node-jwt (which is a dependency of @sap/xssec) is built for specific OS-es and node versions.

The issue should be resolved with the new version of @sap/node-jwt 1.4.2 which supports node 8.9.

Best regards,

Georgi

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
Nov 23, 2017 at 12:29 PM
0

Hello Georgi,

i still get the same error. Is 7.10 not supported?

3:11 $ npm install @sap/xssec


> @sap/node-jwt@1.4.2 install /Users/xxx/Documents/DevProjects/xxx/node_modules/@sap/node-jwt
> node ./build.js


(node:12503) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead.
gyp: binding.gyp not found (cwd: /Users/xxx/Documents/DevProjects/xxx/node_modules/@sap/node-jwt) while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:194:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 17.2.0
gyp ERR! command "/usr/local/Cellar/node/7.10.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/d047589/Documents/DevProjects/asksap/node_modules/@sap/node-jwt
gyp ERR! node -v v7.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
Build failed


Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi,

Sorry for the delayed answer - node 7.10.x is not supported either.

It is best if you use the latest versions of node 6 or node 8.

Best regards,

Georgi

0
avatar image
Former Member
Dec 05, 2017 at 04:46 PM
0

Hi,

there was an update recently with version 1.4.3, which supports now node 9.2.0 , however 7.10.0 is not supported, because in general we support LTS releases and latest one.

See https://github.com/nodejs/Release#release-schedule , so 7.x was removed

You can easily install new versions with nvm: https://github.com/creationix/nvm

regards,

-markus

Share
10 |10000 characters needed characters left characters exceeded