I cant install with npm anymore
13,109
Solution 1
I solved the problem, I found that "node_modules/core.js" folder was corrupted , I deleted it and replaced it with a "core.js" folder (that I saved as a backup if things goes wrong)
Solution 2
When I encountered this issue it was because I accidentally ran npm install
while in the node_modules
folder.
Author by
BadrEddineBen
Updated on June 06, 2022Comments
-
BadrEddineBen almost 2 years
Npm was working just fine, then today I tried to install @ngui/tab using the following command :
npm install @ngui/tab --save
it gave me the following error :
0 info it worked if it ends with ok 1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Users\\alpha\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'install', 1 verbose cli 'core-js' ] 2 info using [email protected] 3 info using [email protected] 4 verbose npm-session 08b82689ec3193f8 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 silly fetchPackageMetaData error for core-js@file:node_modules\core-js ELOOP: too many symbolic links encountered, open 'D:\Crescendo veille\app2\node_modules\core-js\package.json' 8 verbose stack Error: ELOOP: too many symbolic links encountered, open 'D:\...\node_modules\core-js\package.json' 8 verbose stack at Error (native) 9 verbose cwd D:\Crescendo veille\app2 10 verbose Windows_NT 6.1.7601 11 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\alpha\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "core-js" 12 verbose node v6.11.0 13 verbose npm v5.0.4 14 error path D:\...\node_modules\core-js\package.json 15 error code ELOOP 16 error errno -4067 17 error syscall open 18 error ELOOP: too many symbolic links encountered, open 'D:\...\node_modules\core-js\package.json' 19 verbose exit [ -4067, true ]
Then whenever I try to install another plugin, it gives the same exact error