admin管理员组

文章数量:1399306

when i try to excecute the command of npm install -g @angular/cli@latest, i have an error

npm error code ENOTFOUND
npm error syscall getaddrinfo
npm error errno ENOTFOUND
npm error network request to /@angular%2fcli failed, reason: getaddrinfo ENOTFOUND registry.npmjs
npm error network This is a problem related to network connectivity.
npm error network In most cases you are behind a proxy or have bad network settings.
npm error network
npm error network If you are behind a proxy, please make sure that the
npm error network 'proxy' config is set properly.  See: 'npm help config'
npm error A complete log of this run can be found in: C:\Users\IVS16QT\AppData\Local\npm-cache\_logs\2025-03-25T08_19_50_830Z-debug-0.log

本文标签: excecute npm install g angularclilatestStack Overflow