לא מצליחה להתקין npm i

יהודית 0 Reputation points
2024-03-01T06:58:05.8066667+00:00

כשאני מתקינה npm i על פרויקט

אני מקבלת את השגיאות הבאות:

PS C:\Users\user1\Documents\תיקיית תיכנות\שנה ב'\angular\Particum\client\client> npm i

npm WARN cleanup Failed to remove some directories [

npm WARN cleanup [

npm WARN cleanup "C:\Users\user1\Documents\תיקיית תיכנות\שנה ב'\angular\Particum\client\client\node_modules",

npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\user1\Documents\תיקיית תיכנות\שנה ב'\angular\Particum\client\client\node_modules@angular'] {

npm WARN cleanup errno: -4048,

npm WARN cleanup code: 'EPERM',

npm WARN cleanup syscall: 'rmdir',

npm WARN cleanup path: "C:\Users\user1\Documents\תיקיית תיכנות\שנה ב'\angular\Particum\client\client\node_modules\@angular"

npm WARN cleanup }

npm WARN cleanup ]

npm WARN cleanup ]

npm ERR! code ECONNREFUSED

npm ERR! syscall connect

npm ERR! errno ECONNREFUSED

npm ERR! FetchError: request to https://registry.npmjs.org/zone.js/-/zone.js-0.11.8.tgz failed, reason: connect ECONNREFUSED ::1:8080

npm ERR! at ClientRequest.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\index.js:130:14)

npm ERR! at ClientRequest.emit (node:events:514:28)

npm ERR! at onerror (C:\Program Files\nodejs\node_modules\npm\node_modules\agent-base\dist\src\index.js:117:21)

npm ERR! at callbackError (C:\Program Files\nodejs\node_modules\npm\node_modules\agent-base\dist\src\index.js:136:17)

npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

npm ERR! FetchError: request to https://registry.npmjs.org/zone.js/-/zone.js-0.11.8.tgz failed, reason: connect ECONNREFUSED ::1:8080

npm ERR! at ClientRequest.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\index.js:130:14)

npm ERR! at ClientRequest.emit (node:events:514:28)

npm ERR! at onerror (C:\Program Files\nodejs\node_modules\npm\node_modules\agent-base\dist\src\index.js:117:21)

npm ERR! at callbackError (C:\Program Files\nodejs\node_modules\npm\node_modules\agent-base\dist\src\index.js:136:17)

npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {

npm ERR! code: 'ECONNREFUSED',

npm ERR! errno: 'ECONNREFUSED',

npm ERR! syscall: 'connect',

npm ERR! address: '::1',

npm ERR! port: 8080,

npm ERR! type: 'system'

npm ERR! }

npm ERR! 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in: C:\Users\user1\AppData\Local\npm-cache_logs\2024-03-01T06_44_20_965Z-debug-0.log

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,186 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.