on 2017 Nov 07 1:08 PM
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyone?
Does any one do an npm install @sap/xssec --save succesfully?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
30 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.