node-rfc: Can't install node-rfc, running out of memory. Error 134
Hello everyone,
I’m trying to install node-rfc for about two weeks now and keep failing, so I guess I need your help.
A little bit of background: I’m working on a enterprise server, behind a proxy. I’m using jfrog artifactory to use npm. my node version is: 14.8.0 npm version: 6.14.7
I got the installation so far to show:
`C:>npm install node-rfc
node-rfc@2.1.0 preinstall C:\node_modules\node-rfc npm install cmake-js prebuild-install prebuild node-addon-api
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm notice created a lockfile as package-lock.json. You should commit this file.
- prebuild-install@5.3.5
- cmake-js@6.1.0
- node-addon-api@3.0.1
- prebuild@10.0.1 added 252 packages from 228 contributors in 30.944s
5 packages are looking for funding
run npm fund
for details
node-rfc@2.1.0 install C:\node_modules\node-rfc prebuild-install --tag-prefix -r napi || cmake-js rebuild
prebuild-install WARN install getaddrinfo ENOTFOUND github.com [ ‘C:\Program Files\nodejs\node.exe’, ‘C:\node_modules\node-rfc\node_modules\cmake-js\bin\cmake-js’, ‘rebuild’ ] info TOOL Using Visual Studio 16 2019 generator. info CMD CLEAN info RUN cmake -E remove_directory “C:\node_modules\node-rfc\build” info CMD CONFIGURE`
The installation takes really long (>20mins) and then aborts with attached error output.
Apparently it is a memory allocation error, so I increased the RAM of the server and granted node more memory with set NODE_OPTIONS=--max_old_space_size=4096
This only led to the installation consuming 4 GB instead of 2GB and taking twice as long before aborting with the same error.
So I guess there must be something else off.
Attached is the complete log. Thank you in advance! 2020-08-19T14_40_33_018Z-debug.log
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (9 by maintainers)
Hi @vinibiscolla,
the thread is bit older, could you please let me know what is exactly the issue and on which platform it occurs?
The node-red platform is not supported, see https://github.com/SAP/node-rfc/issues/161#issuecomment-678463099.
Kind regards, Srdjan