You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
II just wanted to upgrade to latest version, but unfortunately I cannot install node-rfc, neither via npm install nor via cloning the repository anymore. Installing any other npm module works flawlessly.
Same setup, same versions on another windows laptop: all worked - reinstalled node/ npm on both laptops 2 times. With same blank default setup of node & npm it should work in all environments the same...
Update
I could reproduce the bug on my blank second laptop. Looks like its related to updating npm to v8.15.0
Install latest Node LTS
Upgrade NPM (with is by default 8.11) with "npm install npm@latest -g" to 8.15.
Mkdir, npm init -y & npm install node-rfc will fail
How to fix:
Downgrading with "npm install [email protected]" didn't solve the problem, even with cleaning cache before retrying to install node-rfc. That's what I did to magically solve this:
Windows remove Node.JS
Delete all npm & node related folders in %appdata%
Delete choco
Reboot
Install Node.JS latest LTS, stayed with npm 8.11
Rebott
npm install node-rfc worked. (Finally after 4 hours of log reading & trial & error.....)
To Reproduce npm install always failes after a while with a large err tree:
Every of those "dependency.cmd" contains: "@echo off
npm install --save bluebird node-addon-api prebuild-install", which at its own executes flawlessly again.
Looking into the various log files that has been generated by those errors the only thing that has been interesting is, that command npm couldnt be found (see at the end of the log file). For sure I checked that "npm" is available in all CLIs. I also tried to run command as admin. No effect.
Environemt
Win 10, latest stable node & npm. Never had problems installing node-rfc before. Using latest LTS node version.
The text was updated successfully, but these errors were encountered:
tvwy
changed the title
Installation problems: tried with npm and local file
Installation problems: tried with npm and local file on Windows 10
Jul 21, 2022
I can confirm the same issue on Cloud Foundry with npm 8.14.0 and 8.15.0: it runs out of memory after a while.
npm 8.13.2 is the latest working version.
Describe the bug
II just wanted to upgrade to latest version, but unfortunately I cannot install node-rfc, neither via npm install nor via cloning the repository anymore. Installing any other npm module works flawlessly.
Same setup, same versions on another windows laptop: all worked - reinstalled node/ npm on both laptops 2 times. With same blank default setup of node & npm it should work in all environments the same...
Update
I could reproduce the bug on my blank second laptop. Looks like its related to updating npm to v8.15.0
How to fix:
Downgrading with "npm install [email protected]" didn't solve the problem, even with cleaning cache before retrying to install node-rfc. That's what I did to magically solve this:
To Reproduce

npm install
always failes after a while with a large err tree:Every of those "dependency.cmd" contains: "@echo off
npm install --save bluebird node-addon-api prebuild-install", which at its own executes flawlessly again.
Looking into the various log files that has been generated by those errors the only thing that has been interesting is, that
command npm couldnt be found
(see at the end of the log file). For sure I checked that "npm" is available in all CLIs. I also tried to run command as admin. No effect.2022-07-21T13_29_01_574Z-debug-0.log
Environemt
Win 10, latest stable node & npm. Never had problems installing node-rfc before. Using latest LTS node version.
The text was updated successfully, but these errors were encountered: