Closed tvormweg closed 1 year ago
I could reproduce on Windows only, no issues on Darwin. It looks like npm bug, created new issue there.
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 npm@8.11.0" 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![image](https://user-images.githubusercontent.com/11425915/180226647-3a0d5b7f-7d2c-47aa-b5cf-bfcadfddabb8.png)
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.