npm install -g @angular/[email protected] is giving me errors! please help #2528
Replies: 2 comments
-
Is this related to Eleventy somehow? You might be on the wrong repo |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Mohlomi-M It looks like you're trying to globally install npm ERR! code EEXIST
npm ERR! path C:\Users\Mohlomi\AppData\Roaming\npm\ng.ps1
npm ERR! Refusing to delete C:\Users\Mohlomi\AppData\Roaming\npm\ng.ps1: node_modules/@angular/cli/bin/ng symlink target is not controlled by npm C:\Users\Mohlomi\AppData\Roaming\npm\node_modules@angular\cli
npm ERR! File exists: C:\Users\Mohlomi\AppData\Roaming\npm\ng.ps1
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly. Maybe try something in npm/npm#13458 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
npm WARN deprecated [email protected]: Please update to ini >=1.3.6 to avoid a prototype pollution issue
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: this library is no longer supported
npm ERR! code EEXIST
npm ERR! path C:\Users\Mohlomi\AppData\Roaming\npm\ng.ps1
npm ERR! Refusing to delete C:\Users\Mohlomi\AppData\Roaming\npm\ng.ps1: node_modules/@angular/cli/bin/ng symlink target is not controlled by npm C:\Users\Mohlomi\AppData\Roaming\npm\node_modules@angular\cli
npm ERR! File exists: C:\Users\Mohlomi\AppData\Roaming\npm\ng.ps1
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Mohlomi\AppData\Roaming\npm-cache_logs\2022-08-10T14_33_31_875Z-debug.log
PS C:\MissaSource\Src\Apps\missa>
PS C:\MissaSource\Src\Apps\missa> npm install -g @angular/[email protected]
npm WARN deprecated [email protected]: Please update to ini >=1.3.6 to avoid a prototype pollution issue
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: this library is no longer supported
npm ERR! code EEXIST
npm ERR! path C:\Users\Mohlomi\AppData\Roaming\npm\ng.ps1
npm ERR! Refusing to delete C:\Users\Mohlomi\AppData\Roaming\npm\ng.ps1: node_modules/@angular/cli/bin/ng symlink target is not controlled by npm C:\Users\Mohlomi\AppData\Roaming\npm\node_modules@angular\cli
npm ERR! File exists: C:\Users\Mohlomi\AppData\Roaming\npm\ng.ps1
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Mohlomi\AppData\Roaming\npm-cache_logs\2022-08-10T14_50_39_626Z-debug.log
PS C:\MissaSource\Src\Apps\missa>
Beta Was this translation helpful? Give feedback.
All reactions