SAP / node-rfc

Asynchronous, non-blocking SAP NW RFC SDK bindings for Node.js
Apache License 2.0
249 stars 73 forks source link

Installation fails #313

Closed KaiserEngi closed 5 months ago

KaiserEngi commented 6 months ago

I have been desperately trying to install the RFC Node for a few hours now.

I keep getting the following error message. I hope someone can help me.

0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\RS\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js 1 info using npm@10.2.5 2 info using node@v20.10.0 3 timing npm:load:whichnode Completed in 2ms 4 timing config:load:defaults Completed in 2ms 5 timing config:load:file:C:\Users\RS\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 5ms 6 timing config:load:builtin Completed in 5ms 7 timing config:load:cli Completed in 2ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:C:\Windows\system32.npmrc Completed in 1ms 10 timing config:load:project Completed in 3ms 11 timing config:load:file:C:\Users\RS.npmrc Completed in 0ms 12 timing config:load:user Completed in 1ms 13 timing config:load:file:C:\Users\RS\AppData\Roaming\npm\etc\npmrc Completed in 0ms 14 timing config:load:global Completed in 0ms 15 timing config:load:setEnvs Completed in 1ms 16 timing config:load Completed in 14ms 17 timing npm:load:configload Completed in 15ms 18 timing config:load:flatten Completed in 3ms 19 timing npm:load:mkdirpcache Completed in 1ms 20 timing npm:load:mkdirplogs Completed in 1ms 21 verbose title npm install node-red-contrib-saprfc 22 verbose argv "install" "node-red-contrib-saprfc" 23 timing npm:load:setTitle Completed in 1ms 24 timing npm:load:display Completed in 1ms 25 verbose logfile logs-max:10 dir:C:\Users\RS\AppData\Local\npm-cache_logs\2024-01-04T14_10_48_828Z- 26 verbose logfile C:\Users\RS\AppData\Local\npm-cache_logs\2024-01-04T14_10_48_828Z-debug-0.log 27 timing npm:load:logFile Completed in 12ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 59ms 31 timing arborist:ctor Completed in 1ms 32 silly logfile start cleaning logs, removing 2 files 33 silly logfile done cleaning log files 34 timing idealTree:init Completed in 125ms 35 timing idealTree:userRequests Completed in 1ms 36 silly idealTree buildDeps 37 silly fetch manifest node-red-contrib-saprfc@ 38 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 39 http fetch GET 200 https://registry.npmjs.org/node-red-contrib-saprfc 184ms (cache hit) 40 silly placeDep ROOT node-red-contrib-saprfc@1.2.6 OK for: want: 41 silly fetch manifest node-rfc@>=2.3.1 42 silly fetch manifest async@>=3.0.0 43 http fetch GET 200 https://registry.npmjs.org/async 85ms (cache hit) 44 http fetch GET 200 https://registry.npmjs.org/node-rfc 88ms (cache hit) 45 timing idealTree:#root Completed in 283ms 46 silly placeDep ROOT async@3.2.5 OK for: node-red-contrib-saprfc@1.2.6 want: >=3.0.0 47 silly placeDep ROOT node-rfc@3.3.1 OK for: node-red-contrib-saprfc@1.2.6 want: >=2.3.1 48 silly fetch manifest bluebird@^3.7.2 49 silly fetch manifest decimal.js@^10.4.3 50 silly fetch manifest node-addon-api@^6.1.0 51 silly fetch manifest node-gyp-build@^4.6.0 52 http fetch GET 200 https://registry.npmjs.org/decimal.js 21ms (cache hit) 53 http fetch GET 200 https://registry.npmjs.org/node-addon-api 23ms (cache hit) 54 http fetch GET 200 https://registry.npmjs.org/bluebird 27ms (cache hit) 55 http fetch GET 200 https://registry.npmjs.org/node-gyp-build 30ms (cache hit) 56 timing idealTree:node_modules/node-red-contrib-saprfc Completed in 39ms 57 timing idealTree:node_modules/async Completed in 0ms 58 silly placeDep ROOT bluebird@3.7.2 OK for: node-rfc@3.3.1 want: ^3.7.2 59 silly placeDep ROOT decimal.js@10.4.3 OK for: node-rfc@3.3.1 want: ^10.4.3 60 silly placeDep node_modules/node-rfc node-addon-api@6.1.0 OK for: node-rfc@3.3.1 want: ^6.1.0 61 silly placeDep ROOT node-gyp-build@4.7.1 OK for: node-rfc@3.3.1 want: ^4.6.0 62 timing idealTree:node_modules/node-rfc Completed in 9ms 63 timing idealTree:node_modules/bluebird Completed in 0ms 64 timing idealTree:node_modules/decimal.js Completed in 0ms 65 timing idealTree:node_modules/node-gyp-build Completed in 0ms 66 timing idealTree:node_modules/node-rfc/node_modules/node-addon-api Completed in 0ms 67 timing idealTree:buildDeps Completed in 334ms 68 timing idealTree:fixDepFlags Completed in 3ms 69 timing idealTree Completed in 470ms 70 timing reify:loadTrees Completed in 471ms 71 timing reify:diffTrees Completed in 18ms 72 silly reify moves {} 73 timing reify:retireShallow Completed in 1ms 74 timing reify:createSparse Completed in 6ms 75 timing reify:loadBundles Completed in 0ms 76 silly audit bulk request { 76 silly audit '@gar/promisify': [ '1.1.3' ], 76 silly audit '@npmcli/fs': [ '2.1.2' ], 76 silly audit '@npmcli/move-file': [ '2.0.1' ], 76 silly audit '@tootallnate/once': [ '2.0.0' ], 76 silly audit abbrev: [ '1.1.1' ], 76 silly audit 'abort-controller': [ '3.0.0' ], 76 silly audit after: [ '0.8.2' ], 76 silly audit 'agent-base': [ '6.0.2' ], 76 silly audit agentkeepalive: [ '4.5.0' ], 76 silly audit 'aggregate-error': [ '3.1.0' ], 76 silly audit ajv: [ '6.12.6' ], 76 silly audit ansi: [ '0.3.1' ], 76 silly audit 'ansi-regex': [ '5.0.1', '2.1.1' ], 76 silly audit 'ansi-styles': [ '4.3.0' ], 76 silly audit aproba: [ '2.0.0', '1.2.0' ], 76 silly audit 'are-we-there-yet': [ '3.0.1', '1.1.7', '4.0.1' ], 76 silly audit 'array-index': [ '1.0.0' ], 76 silly audit debug: [ '2.6.9', '4.3.4' ], 76 silly audit ms: [ '2.0.0', '2.1.2' ], 76 silly audit asn1: [ '0.2.6' ], 76 silly audit 'assert-plus': [ '1.0.0' ], 76 silly audit asynckit: [ '0.4.0' ], 76 silly audit 'aws-sign2': [ '0.7.0' ], 76 silly audit aws4: [ '1.12.0' ], 76 silly audit axios: [ '1.6.4' ], 76 silly audit b4a: [ '1.6.4' ], 76 silly audit 'balanced-match': [ '1.0.2' ], 76 silly audit 'base64-js': [ '1.5.1' ], 76 silly audit 'bcrypt-pbkdf': [ '1.0.2' ], 76 silly audit bl: [ '3.0.1', '4.1.0' ], 76 silly audit 'block-stream': [ '0.0.9' ], 76 silly audit 'brace-expansion': [ '1.1.11', '2.0.1' ], 76 silly audit buffer: [ '6.0.3', '5.7.1' ], 76 silly audit 'buffer-from': [ '0.1.2' ], 76 silly audit cacache: [ '16.1.3' ], 76 silly audit glob: [ '8.1.0', '7.2.3' ], 76 silly audit minimatch: [ '5.1.6', '3.1.2' ], 76 silly audit caseless: [ '0.12.0' ], 76 silly audit chownr: [ '2.0.0', '1.1.4' ], 76 silly audit 'clean-stack': [ '2.2.0' ], 76 silly audit cliui: [ '8.0.1' ], 76 silly audit 'cmake-js': [ '7.2.1' ], 76 silly audit 'code-point-at': [ '1.1.0' ], 76 silly audit 'color-convert': [ '2.0.1' ], 76 silly audit 'color-name': [ '1.1.4' ], 76 silly audit 'color-support': [ '1.1.3' ], 76 silly audit 'combined-stream': [ '1.0.8' ], 76 silly audit commander: [ '2.20.3' ], 76 silly audit 'concat-map': [ '0.0.1' ], 76 silly audit 'console-control-strings': [ '1.1.0' ], 76 silly audit 'core-util-is': [ '1.0.2' ], 76 silly audit d: [ '1.0.1' ], 76 silly audit dashdash: [ '1.14.1' ], 76 silly audit 'decompress-response': [ '6.0.0' ], 76 silly audit 'deep-extend': [ '0.6.0' ], 76 silly audit 'delayed-stream': [ '1.0.0' ], 76 silly audit delegates: [ '1.0.0' ], 76 silly audit 'detect-libc': [ '2.0.2' ], 76 silly audit duplexer2: [ '0.0.2' ], 76 silly audit 'readable-stream': [ '1.1.14', '2.3.8', '4.5.2', '3.6.2', '1.0.34' ], 76 silly audit string_decoder: [ '0.10.31', '1.1.1', '1.3.0' ], 76 silly audit 'each-series-async': [ '1.0.1' ], 76 silly audit 'ecc-jsbn': [ '0.1.2' ], 76 silly audit 'emoji-regex': [ '8.0.0' ], 76 silly audit encoding: [ '0.1.13' ], 76 silly audit 'end-of-stream': [ '1.4.4' ], 76 silly audit 'env-paths': [ '2.2.1' ], 76 silly audit 'err-code': [ '2.0.3' ], 76 silly audit 'es5-ext': [ '0.10.62' ], 76 silly audit 'es6-iterator': [ '2.0.3' ], 76 silly audit 'es6-symbol': [ '3.1.3' ], 76 silly audit escalade: [ '3.1.1' ], 76 silly audit 'event-target-shim': [ '5.0.1' ], 76 silly audit events: [ '3.3.0' ], 76 silly audit execspawn: [ '1.0.1' ], 76 silly audit 'expand-template': [ '2.0.3' ], 76 silly audit 'exponential-backoff': [ '3.1.1' ], 76 silly audit ext: [ '1.7.0' ], 76 silly audit type: [ '2.7.2', '1.2.0' ], 76 silly audit extend: [ '3.0.2' ], 76 silly audit extsprintf: [ '1.3.0' ], 76 silly audit 'fast-deep-equal': [ '3.1.3' ], 76 silly audit 'fast-fifo': [ '1.3.2' ], 76 silly audit 'fast-json-stable-stringify': [ '2.1.0' ], 76 silly audit 'follow-redirects': [ '1.15.4' ], 76 silly audit 'forever-agent': [ '0.6.1' ], 76 silly audit 'form-data': [ '4.0.0', '2.3.3' ], 76 silly audit 'fs-constants': [ '1.0.0' ], 76 silly audit 'fs-extra': [ '10.1.0' ], 76 silly audit 'fs-minipass': [ '2.1.0' ], 76 silly audit 'fs.realpath': [ '1.0.0' ], 76 silly audit fstream: [ '1.0.12' ], 76 silly audit mkdirp: [ '0.5.6', '1.0.4' ], 76 silly audit rimraf: [ '2.7.1', '3.0.2' ], 76 silly audit gauge: [ '4.0.4', '1.2.7', '2.7.4', '5.0.1' ], 76 silly audit 'get-caller-file': [ '2.0.5' ], 76 silly audit getpass: [ '0.1.7' ], 76 silly audit ghreleases: [ '3.0.2' ], 76 silly audit ghrepos: [ '2.1.0' ], 76 silly audit ghutils: [ '3.2.6' ], 76 silly audit 'github-from-package': [ '0.0.0' ], 76 silly audit 'graceful-fs': [ '4.2.11' ], 76 silly audit 'har-schema': [ '2.0.0' ], 76 silly audit 'har-validator': [ '5.1.5' ], 76 silly audit 'has-unicode': [ '2.0.1' ], 76 silly audit 'http-cache-semantics': [ '4.1.1' ], 76 silly audit 'http-proxy-agent': [ '5.0.0' ], 76 silly audit 'http-signature': [ '1.2.0' ], 76 silly audit 'https-proxy-agent': [ '5.0.1' ], 76 silly audit 'humanize-ms': [ '1.2.1' ], 76 silly audit hyperquest: [ '2.1.3' ], 76 silly audit 'iconv-lite': [ '0.6.3' ], 76 silly audit ieee754: [ '1.2.1' ], 76 silly audit imurmurhash: [ '0.1.4' ], 76 silly audit 'indent-string': [ '4.0.0' ], 76 silly audit 'infer-owner': [ '1.0.4' ], 76 silly audit inflight: [ '1.0.6' ], 76 silly audit inherits: [ '2.0.4' ], 76 silly audit ini: [ '1.3.8' ], 76 silly audit ip: [ '2.0.0' ], 76 silly audit 'is-fullwidth-code-point': [ '3.0.0', '1.0.0' ], 76 silly audit 'is-lambda': [ '1.0.1' ], 76 silly audit 'is-typedarray': [ '1.0.0' ], 76 silly audit isarray: [ '0.0.1', '1.0.0' ], 76 silly audit isexe: [ '2.0.0' ], 76 silly audit isstream: [ '0.1.2' ], 76 silly audit jsbn: [ '0.1.1' ], 76 silly audit 'json-schema': [ '0.4.0' ], 76 silly audit 'json-schema-traverse': [ '0.4.1' ], 76 silly audit 'json-stringify-safe': [ '5.0.1' ], 76 silly audit jsonfile: [ '6.1.0' ], 76 silly audit jsonist: [ '2.1.2' ], 76 silly audit jsprim: [ '1.4.2' ], 76 silly audit 'lodash.isplainobject': [ '4.0.6' ], 76 silly audit 'lodash.pad': [ '4.5.1' ], 76 silly audit 'lodash.padend': [ '4.6.1' ], 76 silly audit 'lodash.padstart': [ '4.6.1' ], 76 silly audit 'lodash.uniq': [ '4.5.0' ], 76 silly audit 'lru-cache': [ '7.18.3', '6.0.0' ], 76 silly audit 'make-fetch-happen': [ '10.2.1' ], 76 silly audit 'memory-stream': [ '1.0.0' ], 76 silly audit 'mime-db': [ '1.52.0' ], 76 silly audit 'mime-types': [ '2.1.35' ], 76 silly audit 'mimic-response': [ '3.1.0' ], 76 silly audit minimist: [ '1.2.8' ], 76 silly audit minipass: [ '3.3.6', '5.0.0' ], 76 silly audit 'minipass-collect': [ '1.0.2' ], 76 silly audit 'minipass-fetch': [ '2.1.2' ], 76 silly audit 'minipass-flush': [ '1.0.5' ], 76 silly audit 'minipass-pipeline': [ '1.2.4' ], 76 silly audit 'minipass-sized': [ '1.0.3' ], 76 silly audit minizlib: [ '2.1.2' ], 76 silly audit 'mkdirp-classic': [ '0.5.3' ], 76 silly audit 'napi-build-utils': [ '1.0.2' ], 76 silly audit negotiator: [ '0.6.3' ], 76 silly audit 'next-tick': [ '1.1.0' ], 76 silly audit 'node-abi': [ '3.52.0' ], 76 silly audit 'node-addon-api': [ '7.0.0', '6.1.0' ], 76 silly audit 'node-api-headers': [ '0.0.2' ], 76 silly audit 'node-gyp': [ '9.4.1' ], 76 silly audit 'node-ninja': [ '1.0.2' ], 76 silly audit nopt: [ '3.0.6', '6.0.0' ], 76 silly audit npmlog: [ '2.0.4', '6.0.2', '4.1.2', '7.0.1' ], 76 silly audit 'safe-buffer': [ '5.1.2', '5.2.1' ], 76 silly audit semver: [ '5.7.2', '5.3.0', '7.5.4' ], 76 silly audit tar: [ '2.2.2', '6.2.0' ], 76 silly audit which: [ '1.3.1', '2.0.2' ], 76 silly audit 'noop-logger': [ '0.1.1' ], 76 silly audit 'npm-path': [ '2.0.4' ], 76 silly audit 'npm-which': [ '3.0.1' ], 76 silly audit 'number-is-nan': [ '1.0.1' ], 76 silly audit 'nw-gyp': [ '3.6.6' ], 76 silly audit 'string-width': [ '1.0.2', '4.2.3' ], 76 silly audit 'strip-ansi': [ '3.0.1', '6.0.1' ], 76 silly audit 'oauth-sign': [ '0.9.0' ], 76 silly audit 'object-assign': [ '4.1.1' ], 76 silly audit once: [ '1.4.0' ], 76 silly audit 'os-homedir': [ '1.0.2' ], 76 silly audit 'os-tmpdir': [ '1.0.2' ], 76 silly audit osenv: [ '0.1.5' ], 76 silly audit 'p-map': [ '4.0.0' ], 76 silly audit 'path-array': [ '1.0.1' ], 76 silly audit 'path-is-absolute': [ '1.0.1' ], 76 silly audit 'performance-now': [ '2.1.0' ], 76 silly audit prebuild: [ '12.1.0' ], 76 silly audit 'prebuild-install': [ '7.1.1' ], 76 silly audit 'signal-exit': [ '4.1.0', '3.0.7' ], 76 silly audit process: [ '0.11.10' ], 76 silly audit 'process-nextick-args': [ '2.0.1' ], 76 silly audit 'promise-inflight': [ '1.0.1' ], 76 silly audit 'promise-retry': [ '2.0.1' ], 76 silly audit 'proxy-from-env': [ '1.1.0' ], 76 silly audit psl: [ '1.9.0' ], 76 silly audit pump: [ '3.0.0' ], 76 silly audit punycode: [ '2.3.1' ], 76 silly audit qs: [ '6.5.3' ], 76 silly audit 'queue-tick': [ '1.0.1' ], 76 silly audit rc: [ '1.2.8' ], 76 silly audit request: [ '2.88.2' ], 76 silly audit 'require-directory': [ '2.1.1' ], 76 silly audit retry: [ '0.12.0' ], 76 silly audit 'run-waterfall': [ '1.1.7' ], 76 silly audit 'safer-buffer': [ '2.1.2' ], 76 silly audit 'set-blocking': [ '2.0.0' ], 76 silly audit 'simple-concat': [ '1.0.1' ], 76 silly audit 'simple-get': [ '4.0.1' ], 76 silly audit 'simple-mime': [ '0.1.0' ], 76 silly audit 'smart-buffer': [ '4.2.0' ], 76 silly audit socks: [ '2.7.1' ], 76 silly audit 'socks-proxy-agent': [ '7.0.0' ], 76 silly audit sshpk: [ '1.18.0' ], 76 silly audit ssri: [ '9.0.1' ], 76 silly audit streamx: [ '2.15.6' ], 76 silly audit 'strip-json-comments': [ '2.0.1' ], 76 silly audit 'tar-fs': [ '2.1.1' ], 76 silly audit 'tar-stream': [ '2.2.0', '3.1.6' ], 76 silly audit through2: [ '0.6.5' ], 76 silly audit 'tough-cookie': [ '2.5.0' ], 76 silly audit 'tunnel-agent': [ '0.6.0' ], 76 silly audit tweetnacl: [ '0.14.5' ], 76 silly audit 'unique-filename': [ '2.0.1' ], 76 silly audit 'unique-slug': [ '3.0.0' ], 76 silly audit universalify: [ '2.0.1' ], 76 silly audit 'uri-js': [ '4.4.1' ], 76 silly audit 'url-join': [ '4.0.1' ], 76 silly audit 'url-template': [ '2.0.8' ], 76 silly audit 'util-deprecate': [ '1.0.2' ], 76 silly audit 'util-extend': [ '1.0.3' ], 76 silly audit uuid: [ '3.4.0' ], 76 silly audit verror: [ '1.10.0' ], 76 silly audit 'wide-align': [ '1.1.5' ], 76 silly audit 'wrap-ansi': [ '7.0.0' ], 76 silly audit wrappy: [ '1.0.2' ], 76 silly audit xtend: [ '4.0.2' ], 76 silly audit y18n: [ '5.0.8' ], 76 silly audit yallist: [ '4.0.0' ], 76 silly audit yargs: [ '17.7.2' ], 76 silly audit 'yargs-parser': [ '21.1.1' ], 76 silly audit 'node-red-contrib-saprfc': [ '1.2.6' ], 76 silly audit async: [ '3.2.5' ], 76 silly audit 'node-rfc': [ '3.3.1' ], 76 silly audit bluebird: [ '3.7.2' ], 76 silly audit 'decimal.js': [ '10.4.3' ], 76 silly audit 'node-gyp-build': [ '4.7.1' ] 76 silly audit } 77 timing reifyNode:node_modules/node-red-contrib-saprfc Completed in 149ms 78 timing reifyNode:node_modules/node-gyp-build Completed in 163ms 79 timing reifyNode:node_modules/decimal.js Completed in 180ms 80 timing reifyNode:node_modules/node-rfc/node_modules/node-addon-api Completed in 221ms 81 timing reifyNode:node_modules/bluebird Completed in 306ms 82 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 368ms 83 timing auditReport:getReport Completed in 375ms 84 silly audit report { 84 silly audit report semver: [ 84 silly audit report { 84 silly audit report id: 1094554, 84 silly audit report url: 'https://github.com/advisories/GHSA-c2qf-rxjj-qqgw', 84 silly audit report title: 'semver vulnerable to Regular Expression Denial of Service', 84 silly audit report severity: 'moderate', 84 silly audit report vulnerable_versions: '<5.7.2', 84 silly audit report cwe: [Array], 84 silly audit report cvss: [Object] 84 silly audit report } 84 silly audit report ], 84 silly audit report tar: [ 84 silly audit report { 84 silly audit report id: 1089685, 84 silly audit report url: 'https://github.com/advisories/GHSA-3jfq-g458-7qm9', 84 silly audit report title: 'Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization', 84 silly audit report severity: 'high', 84 silly audit report vulnerable_versions: '<3.2.2', 84 silly audit report cwe: [Array], 84 silly audit report cvss: [Object] 84 silly audit report }, 84 silly audit report { 84 silly audit report id: 1095111, 84 silly audit report url: 'https://github.com/advisories/GHSA-9r2w-394v-53qc', 84 silly audit report title: 'Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links', 84 silly audit report severity: 'high', 84 silly audit report vulnerable_versions: '<4.4.16', 84 silly audit report cwe: [Array], 84 silly audit report cvss: [Object] 84 silly audit report }, 84 silly audit report { 84 silly audit report id: 1095114, 84 silly audit report url: 'https://github.com/advisories/GHSA-qq89-hq3f-393p', 84 silly audit report title: 'Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links', 84 silly audit report severity: 'high', 84 silly audit report vulnerable_versions: '<4.4.18', 84 silly audit report cwe: [Array], 84 silly audit report cvss: [Object] 84 silly audit report }, 84 silly audit report { 84 silly audit report id: 1095117, 84 silly audit report url: 'https://github.com/advisories/GHSA-5955-9wpr-37jh', 84 silly audit report title: 'Arbitrary File Creation/Overwrite on Windows via insufficient relative path sanitization', 84 silly audit report severity: 'high', 84 silly audit report vulnerable_versions: '<4.4.18', 84 silly audit report cwe: [Array], 84 silly audit report cvss: [Object] 84 silly audit report }, 84 silly audit report { 84 silly audit report id: 1095108, 84 silly audit report url: 'https://github.com/advisories/GHSA-r628-mhmh-qjhw', 84 silly audit report title: 'Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning', 84 silly audit report severity: 'high', 84 silly audit report vulnerable_versions: '<3.2.3', 84 silly audit report cwe: [Array], 84 silly audit report cvss: [Object] 84 silly audit report } 84 silly audit report ], 84 silly audit report request: [ 84 silly audit report { 84 silly audit report id: 1092972, 84 silly audit report url: 'https://github.com/advisories/GHSA-p8p7-x288-28g6', 84 silly audit report title: 'Server-Side Request Forgery in Request', 84 silly audit report severity: 'moderate', 84 silly audit report vulnerable_versions: '<=2.88.2', 84 silly audit report cwe: [Array], 84 silly audit report cvss: [Object] 84 silly audit report } 84 silly audit report ], 84 silly audit report 'tough-cookie': [ 84 silly audit report { 84 silly audit report id: 1095102, 84 silly audit report url: 'https://github.com/advisories/GHSA-72xf-g2v4-qvf3', 84 silly audit report title: 'tough-cookie Prototype Pollution vulnerability', 84 silly audit report severity: 'moderate', 84 silly audit report vulnerable_versions: '<4.1.3', 84 silly audit report cwe: [Array], 84 silly audit report cvss: [Object] 84 silly audit report } 84 silly audit report ] 84 silly audit report } 85 timing metavuln:cache:get:security-advisory:semver:3PyBKqoXEpiL7mFRG7u0gNFJbfuPkyG3pE4CL+7K43jfFC8aNmrbqXPNAP9cb7xSQVnnHiYFl6opVqdT+Xmf1g== Completed in 13ms 86 timing metavuln:cache:get:security-advisory:tar:Oa066nJpV2ox85F6qnk1N5eWmAmoWAMU7byYhWk4oYfHYrQ8aGHfCKRikfcy0dHDcKWKiPRc7Nz7R9fxKkj0Yw== Completed in 13ms 87 timing metavuln:cache:get:security-advisory:tar:qweLcXkEUn/DfcnjzFJUEu5do6vr8IqTSdS35f49423/NY+krD30fMYGS5ccPHEBFlS0ATRDv0Dw3++xYe5pdA== Completed in 12ms 88 timing metavuln:cache:get:security-advisory:tar:b0fCoK+2otf7Nha52jR5STLJsyDMnvQzBozhYiojLQHUE2MjYnczh0SCYCXIUIFc8ElJtX2G9GuLooD/irrIRQ== Completed in 12ms 89 timing metavuln:cache:get:security-advisory:tar:2lGtz15Gs28nRX11iCY/mSa25Ky4CfNVzD5qptDvtqdkLXPb/znmxdJ/4OrOyJZ2qQgFtnfxP9ee2xfimUMfuw== Completed in 13ms 90 timing metavuln:cache:get:security-advisory:tar:vVEosPeRh9VYBjRp76VzpISqXhQnTb+86nd/JaHYgvIOgMJfjbOqgyVE41AcmG7w/frudHksWA9K841GgfMqHA== Completed in 13ms 91 timing metavuln:cache:get:security-advisory:request:koWeGxnAvq4FABswDKpuz/5A9Fh4CEpyLScKR4Vcx8PqZAOQWapHQFcG4Z93jnNvMUUR00ZbC/YEgKSGkn+lcw== Completed in 13ms 92 timing metavuln:cache:get:security-advisory:tough-cookie:wWt7slzqumCOy+eBzh02NxczD2Ro629xuSO1o/Sam3nNJuHEhzggtsM/Z0K8BzRHAaxdURGMPCPOYGj4sGWquQ== Completed in 12ms 93 http fetch GET 200 https://registry.npmjs.org/tough-cookie 24ms (cache hit) 94 timing metavuln:packument:tough-cookie Completed in 25ms 95 timing metavuln:load:security-advisory:tough-cookie:1095102 Completed in 1ms 96 timing metavuln:calculate:security-advisory:tough-cookie:1095102 Completed in 26ms 97 http fetch GET 200 https://registry.npmjs.org/tar 30ms (cache hit) 98 timing metavuln:packument:tar Completed in 31ms 99 timing metavuln:load:security-advisory:tar:1089685 Completed in 1ms 100 timing metavuln:calculate:security-advisory:tar:1089685 Completed in 32ms 101 timing metavuln:load:security-advisory:tar:1095111 Completed in 0ms 102 timing metavuln:calculate:security-advisory:tar:1095111 Completed in 31ms 103 timing metavuln:load:security-advisory:tar:1095114 Completed in 1ms 104 timing metavuln:calculate:security-advisory:tar:1095114 Completed in 32ms 105 timing metavuln:load:security-advisory:tar:1095117 Completed in 1ms 106 timing metavuln:calculate:security-advisory:tar:1095117 Completed in 33ms 107 timing metavuln:load:security-advisory:tar:1095108 Completed in 0ms 108 timing metavuln:calculate:security-advisory:tar:1095108 Completed in 33ms 109 http fetch GET 200 https://registry.npmjs.org/semver 34ms (cache hit) 110 timing metavuln:packument:semver Completed in 36ms 111 timing metavuln:load:security-advisory:semver:1094554 Completed in 1ms 112 timing metavuln:calculate:security-advisory:semver:1094554 Completed in 38ms 113 http fetch GET 200 https://registry.npmjs.org/request 34ms (cache hit) 114 timing metavuln:packument:request Completed in 36ms 115 timing metavuln:load:security-advisory:request:1092972 Completed in 0ms 116 timing metavuln:calculate:security-advisory:request:1092972 Completed in 37ms 117 timing metavuln:cache:get:security-advisory:nw-gyp:dswoo+YSqwpHKvMGHlTGhxVyn2teimCY97Zre3VpooQJWJuqxqHMjCIJODdGcyNhRXe4LiZIeoDdAUTcVb7MIA== Completed in 5ms 118 http fetch GET 200 https://registry.npmjs.org/nw-gyp 9ms (cache hit) 119 timing metavuln:packument:nw-gyp Completed in 11ms 120 timing metavuln:load:security-advisory:nw-gyp:3PyBKqoXEpiL7mFRG7u0gNFJbfuPkyG3pE4CL+7K43jfFC8aNmrbqXPNAP9cb7xSQVnnHiYFl6opVqdT+Xmf1g== Completed in 0ms 121 timing metavuln:calculate:security-advisory:nw-gyp:3PyBKqoXEpiL7mFRG7u0gNFJbfuPkyG3pE4CL+7K43jfFC8aNmrbqXPNAP9cb7xSQVnnHiYFl6opVqdT+Xmf1g== Completed in 11ms 122 timing metavuln:cache:get:security-advisory:node-ninja:qpuTDoQffwoxFyvPIBflRCQB2PrhwpkazP/dbFC87GwULpz1i8hlT4EqN25Iqu06ZN/xy6ahED2wGDL+zN45yQ== Completed in 6ms 123 timing metavuln:cache:get:security-advisory:nw-gyp:8k4+u1fhSTCz+Bectxh5iC0OoYTaRALNYS0zDmHPBoaqvWLVJX/SF3hSZXfC65zt7bxgP7ZbWmWttlNiKzz/TA== Completed in 6ms 124 timing metavuln:load:security-advisory:nw-gyp:Oa066nJpV2ox85F6qnk1N5eWmAmoWAMU7byYhWk4oYfHYrQ8aGHfCKRikfcy0dHDcKWKiPRc7Nz7R9fxKkj0Yw== Completed in 0ms 125 timing metavuln:calculate:security-advisory:nw-gyp:Oa066nJpV2ox85F6qnk1N5eWmAmoWAMU7byYhWk4oYfHYrQ8aGHfCKRikfcy0dHDcKWKiPRc7Nz7R9fxKkj0Yw== Completed in 6ms 126 http fetch GET 200 https://registry.npmjs.org/node-ninja 13ms (cache hit) 127 timing metavuln:packument:node-ninja Completed in 15ms 128 timing metavuln:load:security-advisory:node-ninja:Oa066nJpV2ox85F6qnk1N5eWmAmoWAMU7byYhWk4oYfHYrQ8aGHfCKRikfcy0dHDcKWKiPRc7Nz7R9fxKkj0Yw== Completed in 0ms 129 timing metavuln:calculate:security-advisory:node-ninja:Oa066nJpV2ox85F6qnk1N5eWmAmoWAMU7byYhWk4oYfHYrQ8aGHfCKRikfcy0dHDcKWKiPRc7Nz7R9fxKkj0Yw== Completed in 15ms 130 timing metavuln:cache:get:security-advisory:node-ninja:g5V3auyLHh0AyUwcg+4OA/ZpWy0dUILqwMSlLkicgZVmI5fCqx+sdt53DQGbC4MSrA6trHi2dJGggsywfePnyQ== Completed in 3ms 131 timing metavuln:load:security-advisory:node-ninja:koWeGxnAvq4FABswDKpuz/5A9Fh4CEpyLScKR4Vcx8PqZAOQWapHQFcG4Z93jnNvMUUR00ZbC/YEgKSGkn+lcw== Completed in 0ms 132 timing metavuln:calculate:security-advisory:node-ninja:koWeGxnAvq4FABswDKpuz/5A9Fh4CEpyLScKR4Vcx8PqZAOQWapHQFcG4Z93jnNvMUUR00ZbC/YEgKSGkn+lcw== Completed in 4ms 133 timing metavuln:cache:get:security-advisory:nw-gyp:D79Wr/D38XoNd4IOKZv19jXR/jQSQ8OXxxvljVx0zimVfg5GOLNNhdZZkfri7BvM/RKbTXd53yyCEibuWaOUKg== Completed in 3ms 134 timing metavuln:load:security-advisory:nw-gyp:koWeGxnAvq4FABswDKpuz/5A9Fh4CEpyLScKR4Vcx8PqZAOQWapHQFcG4Z93jnNvMUUR00ZbC/YEgKSGkn+lcw== Completed in 1ms 135 timing metavuln:calculate:security-advisory:nw-gyp:koWeGxnAvq4FABswDKpuz/5A9Fh4CEpyLScKR4Vcx8PqZAOQWapHQFcG4Z93jnNvMUUR00ZbC/YEgKSGkn+lcw== Completed in 4ms 136 timing metavuln:cache:get:security-advisory:request:Erzn/uu5GltmIzlVH2xET0AjMA9EiKQoy9Utl+92FG+LNV4qQ5MLJK+eOYeZWn/mxYQZiP7kITHPIvOyY/MORA== Completed in 3ms 137 timing metavuln:load:security-advisory:request:wWt7slzqumCOy+eBzh02NxczD2Ro629xuSO1o/Sam3nNJuHEhzggtsM/Z0K8BzRHAaxdURGMPCPOYGj4sGWquQ== Completed in 1ms 138 timing metavuln:calculate:security-advisory:request:wWt7slzqumCOy+eBzh02NxczD2Ro629xuSO1o/Sam3nNJuHEhzggtsM/Z0K8BzRHAaxdURGMPCPOYGj4sGWquQ== Completed in 4ms 139 timing metavuln:cache:get:security-advisory:prebuild:DABK61MxZf1gr0rSrOcZETsL14Z+bvvIGS7MEd/dMHkwdr/PtmToisKnXRkAXroKm90rOQVKqyzHCWHvvlL1Fg== Completed in 3ms 140 http fetch GET 200 https://registry.npmjs.org/prebuild 9ms (cache hit) 141 timing metavuln:packument:prebuild Completed in 11ms 142 timing metavuln:load:security-advisory:prebuild:dswoo+YSqwpHKvMGHlTGhxVyn2teimCY97Zre3VpooQJWJuqxqHMjCIJODdGcyNhRXe4LiZIeoDdAUTcVb7MIA== Completed in 0ms 143 timing metavuln:calculate:security-advisory:prebuild:dswoo+YSqwpHKvMGHlTGhxVyn2teimCY97Zre3VpooQJWJuqxqHMjCIJODdGcyNhRXe4LiZIeoDdAUTcVb7MIA== Completed in 12ms 144 timing metavuln:cache:get:security-advisory:prebuild:rD3+L31v/DlgFJ3zR/RnIkAgELs0eCZXFMh4WE5hpA2Q24cIsxHUx/clQTzfQztXzMOFHMwjsOWTGAHKbQVJFw== Completed in 3ms 145 timing metavuln:load:security-advisory:prebuild:qpuTDoQffwoxFyvPIBflRCQB2PrhwpkazP/dbFC87GwULpz1i8hlT4EqN25Iqu06ZN/xy6ahED2wGDL+zN45yQ== Completed in 1ms 146 timing metavuln:calculate:security-advisory:prebuild:qpuTDoQffwoxFyvPIBflRCQB2PrhwpkazP/dbFC87GwULpz1i8hlT4EqN25Iqu06ZN/xy6ahED2wGDL+zN45yQ== Completed in 4ms 147 timing auditReport:init Completed in 100ms 148 timing reify:audit Completed in 476ms 149 timing reifyNode:node_modules/node-rfc Completed in 516ms 150 timing reifyNode:node_modules/async Completed in 583ms 151 timing reify:unpack Completed in 584ms 152 timing reify:unretire Completed in 0ms 153 timing build:queue Completed in 2ms 154 timing build:link:node_modules/node-gyp-build Completed in 16ms 155 timing build:link Completed in 17ms 156 info run node-rfc@3.3.1 install node_modules/node-rfc node-gyp-build 157 info run node-rfc@3.3.1 install { code: 1, signal: null } 158 timing reify:rollback:createSparse Completed in 96ms 159 timing reify:rollback:retireShallow Completed in 0ms 160 timing command:install Completed in 4738ms 161 verbose stack Error: command failed 161 verbose stack at ChildProcess. (C:\Users\RS\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:53:27) 161 verbose stack at ChildProcess.emit (node:events:514:28) 161 verbose stack at maybeClose (node:internal/child_process:1105:16) 161 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:305:5) 162 verbose pkgid node-rfc@3.3.1 163 verbose cwd C:\Windows\system32 164 verbose Windows_NT 10.0.19045 165 verbose node v20.10.0 166 verbose npm v10.2.5 167 error code 1 168 error path C:\Windows\system32\node_modules\node-rfc 169 error command failed 170 error command C:\Windows\system32\cmd.exe /d /s /c node-gyp-build 171 error MSBUILD : error MSB1009: Die Projektdatei ist nicht vorhanden. 171 error Schalter: build/binding.sln 172 error gyp info it worked if it ends with ok 172 error gyp info using node-gyp@9.4.1 172 error gyp info using node@20.10.0 | win32 | x64 172 error gyp info find Python using Python version 3.11.4 found at "C:\Users\RS\AppData\Local\Programs\Python\Python311\python.exe" 172 error gyp info find VS using VS2019 (16.11.34301.259) found at: 172 error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools" 172 error gyp info find VS run with --verbose for detailed information 172 error gyp info spawn C:\Users\RS\AppData\Local\Programs\Python\Python311\python.exe 172 error gyp info spawn args [ 172 error gyp info spawn args 'C:\Windows\System32\node_modules\node-gyp\gyp\gyp_main.py', 172 error gyp info spawn args 'binding.gyp', 172 error gyp info spawn args '-f', 172 error gyp info spawn args 'msvs', 172 error gyp info spawn args '-I', 172 error gyp info spawn args 'C:\Windows\system32\node_modules\node-rfc\build\config.gypi', 172 error gyp info spawn args '-I', 172 error gyp info spawn args 'C:\Windows\System32\node_modules\node-gyp\addon.gypi', 172 error gyp info spawn args '-I', 172 error gyp info spawn args 'C:\Users\RS\AppData\Local\node-gyp\Cache\20.10.0\include\node\common.gypi', 172 error gyp info spawn args '-Dlibrary=shared_library', 172 error gyp info spawn args '-Dvisibility=default', 172 error gyp info spawn args '-Dnode_root_dir=C:\Users\RS\AppData\Local\node-gyp\Cache\20.10.0', 172 error gyp info spawn args '-Dnode_gyp_dir=C:\Windows\System32\node_modules\node-gyp', 172 error gyp info spawn args '-Dnode_lib_file=C:\\Users\\RS\\AppData\\Local\\node-gyp\\Cache\\20.10.0\\<(target_arch)\\node.lib', 172 error gyp info spawn args '-Dmodule_root_dir=C:\Windows\system32\node_modules\node-rfc', 172 error gyp info spawn args '-Dnode_engine=v8', 172 error gyp info spawn args '--depth=.', 172 error gyp info spawn args '--no-parallel', 172 error gyp info spawn args '--generator-output', 172 error gyp info spawn args 'C:\Windows\system32\node_modules\node-rfc\build', 172 error gyp info spawn args '-Goutput_dir=.' 172 error gyp info spawn args ] 172 error gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe 172 error gyp info spawn args [ 172 error gyp info spawn args 'build/binding.sln', 172 error gyp info spawn args '/clp:Verbosity=minimal', 172 error gyp info spawn args '/nologo', 172 error gyp info spawn args '/p:Configuration=Release;Platform=x64' 172 error gyp info spawn args ] 172 error gyp ERR! build error 172 error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1 172 error gyp ERR! stack at ChildProcess.onExit (C:\Windows\System32\node_modules\node-gyp\lib\build.js:203:23) 172 error gyp ERR! stack at ChildProcess.emit (node:events:514:28) 172 error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12) 172 error gyp ERR! System Windows_NT 10.0.19045 172 error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Windows\System32\node_modules\node-gyp\bin\node-gyp.js" "rebuild" 172 error gyp ERR! cwd C:\Windows\system32\node_modules\node-rfc 172 error gyp ERR! node -v v20.10.0 172 error gyp ERR! node-gyp -v v9.4.1 172 error gyp ERR! not ok 173 verbose exit 1 174 timing npm Completed in 5239ms 175 verbose unfinished npm timer reify 1704377449258 176 verbose unfinished npm timer reify:build 1704377450356 177 verbose unfinished npm timer build 1704377450357 178 verbose unfinished npm timer build:deps 1704377450357 179 verbose unfinished npm timer build:run:install 1704377450376 180 verbose unfinished npm timer build:run:install:node_modules/node-rfc 1704377450376 181 verbose code 1 182 error A complete log of this run can be found in: C:\Users\RS\AppData\Local\npm-cache_logs\2024-01-04T14_10_48_828Z-debug-0.log

bsrdjan commented 6 months ago

Could you please describe steps / commands, how to reproduce?

KaiserEngi commented 6 months ago

I can try yes

I have installed node.js in the LTS version with all additional addins.

then I tried to install the RFC Node, which unfortunately failed.

From then on it became uncontrolled and I can no longer say exactly what I tried

bsrdjan commented 6 months ago

then I tried to install the RFC Node, which unfortunately failed.

which installation method?

Did you check SAP NWRFC SDK installation as described here? https://github.com/SAP/node-rfc/blob/main/doc/installation.md

KaiserEngi commented 6 months ago

Ah, I don't have the SAP NWRFC SDK yet. Unfortunately, you can only download it with a login.

That's why I've now asked my customer if he can make it available to me.

bsrdjan commented 5 months ago

It should work then. SAP NWRFC SDK is platform specific, therefore check if version for Windows is downloaded. Also check if required VS C++ redistributable is installed: https://github.com/SAP/node-rfc?tab=readme-ov-file#windows

KaiserEngi commented 5 months ago

We are one step further and the installation worked with the SDK.

Now I have set all paths according to the instructions. However, when starting Node-Red, the error appears on the print screen

image

bsrdjan commented 5 months ago

node-red platform is not supported, see #148

KaiserEngi commented 5 months ago

I have now changed the Node-Red version, the error remains the same:

image

But I also see that my node-rfc folder is missing:

image

bsrdjan commented 5 months ago

As per following steps, I could not reproduce the same error on arm64 Mac

install and start node-red

mkdir test
cd test
npm i node-red
node-red

install node-red-contrib-saprfc via Menu > Manage Palette

Screenshot 2024-01-11 at 15 48 53

configure sapRFC call node

system

Screenshot 2024-01-11 at 15 54 43

bapi call

Screenshot 2024-01-11 at 15 51 32

error after flow started

After flow (re)started, following error is reported

11 Jan 15:43:40 - [info] Stopping flows
11 Jan 15:43:40 - [info] Stopped flows
11 Jan 15:43:40 - [info] Starting flows
11 Jan 15:43:40 - [error] [saprfc-config:2fce0260e94f4686] Error: Pool configuration object must provide "connectionParameters"

The node-rfc is installed and loaded and error is thrown from node-rfc C++ wrapper because connectionParameters are not passed correctly.

It looks like bug in node-red-contrib-saprfc and @PaulWieland might eventually help, or you can create the issue in https://github.com/PaulWieland/node-red-contrib-saprfc

node-red integration is not in scope of this project support

KaiserEngi commented 5 months ago

What is the extension of your files in the bin folder of the SDK? .exe or .ex_?

bsrdjan commented 5 months ago

It is exe, as in original NW RFC SDK package for Windows, on SAP Service Portal. The download link is in https://me.sap.com/notes/2573790

KaiserEngi commented 5 months ago

thx

KaiserEngi commented 5 months ago

I have now had no more errors when installing node-rfc. However, I still get the same error when starting node.red:

PS C:\Users\RS> node-red 16 Jan 16:48:14 - [info]

Welcome to Node-RED

16 Jan 16:48:14 - [info] Node-RED version: v3.1.3 16 Jan 16:48:14 - [info] Node.js version: v20.11.0 16 Jan 16:48:14 - [info] Windows_NT 10.0.19045 x64 LE 16 Jan 16:48:15 - [info] Loading palette nodes 16 Jan 16:48:16 - [warn] ------------------------------------------------------ 16 Jan 16:48:16 - [warn] [node-red-contrib-saprfc/saprfc] Error: Das angegebene Modul wurde nicht gefunden. \?\C:\Users\RS\AppData\Roaming\npm\node_modules\node-red-contrib-saprfc\node_modules\node-rfc\build\Release\sapnwrfc.node environment: { "platform": { "name": "win32", "arch": "x64", "release": "10.0.19045" }, "env": { "SAPNWRFC_HOME": "C:\nwrfcsdk", "RFC_INI": "", "nwrfcsdk_lib_on_path": true }, "versions": { "node": "20.11.0", "acorn": "8.11.2", "ada": "2.7.4", "ares": "1.20.1", "base64": "0.5.1", "brotli": "1.0.9", "cjs_module_lexer": "1.2.2", "cldr": "43.1", "icu": "73.2", "llhttp": "8.1.1", "modules": "115", "napi": "9", "nghttp2": "1.58.0", "nghttp3": "0.7.0", "ngtcp2": "0.8.1", "openssl": "3.0.12+quic", "simdutf": "4.0.4", "tz": "2023c", "undici": "5.27.2", "unicode": "15.0", "uv": "1.46.0", "uvwasi": "0.0.19", "v8": "11.3.244.8-node.17", "zlib": "1.2.13.1-motley-5daffc7" } }

16 Jan 16:48:16 - [warn] ------------------------------------------------------ 16 Jan 16:48:16 - [info] Settings file : C:\Users\RS.node-red\settings.js 16 Jan 16:48:16 - [info] Context store : 'default' [module=memory] 16 Jan 16:48:16 - [info] User directory : \Users\RS.node-red 16 Jan 16:48:16 - [warn] Projects disabled : editorTheme.projects.enabled=false 16 Jan 16:48:16 - [info] Flows file : \Users\RS.node-red\flows.json 16 Jan 16:48:16 - [info] Creating new flow file 16 Jan 16:48:16 - [warn]


Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials file will not be recoverable, you will have to delete it and re-enter your credentials.

You should set your own key using the 'credentialSecret' option in your settings file. Node-RED will then re-encrypt your credentials file using your chosen key the next time you deploy a change.

KaiserEngi commented 5 months ago

The installation worked. The following update was still missing for the SDK to work properly:

https://support.microsoft.com/de-de/topic/update-f%C3%BCr-visual-c-2013-und-visual-c-redistributable-paket-5b2ac5ab-4139-8acc-08e2-9578ec9b2cf1

thank you very much