-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install problem #560
Comments
HI, I also encountered this problem in window, Maybe you can try switching source |
I'm running in Git admin@ACER-64BIT MINGW64 /c/Workspace/Github/electron-quick-start (master)
$ node -v && npm -v
v16.13.1
8.3.0 and $ npm install
up to date, audited 87 packages in 2s
5 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities |
Try |
In windows system you can use this workaround.
$env:NODE_TLS_REJECT_UNAUTHORIZED=0
set NODE_TLS_REJECT_UNAUTHORIZED=0
|
@VitoFanelli I would like to work on this issue, can you please assign it to me? |
@arya-vats I don't think there's an active task to work on with this issue. |
Well i was just trying to fix the old node modules that haven't been updated . |
Could you elaborate on this? I'm not sure I understand. |
In China, it may be a problem with the ladder. I set the ladder as a global agent and then installed it normally. |
In .npmrc config the following content: ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/" then run |
Don't use China mirror sources, such as: taobao |
this works for me. |
Hi, i clone the repository and change directory but when i run npm install by windows command prompt i get this errror
npm ERR! path C:\Users\vitof\electron-quick-start\node_modules\electron
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js
npm ERR! RequestError: read ECONNRESET
npm ERR! at ClientRequest. (C:\Users\vitof\electron-quick-start\node_modules\got\source\request-as-event-emitter.js:178:14)
npm ERR! at Object.onceWrapper (node:events:510:26)
npm ERR! at ClientRequest.emit (node:events:402:35)
npm ERR! at ClientRequest.origin.emit (C:\Users\vitof\electron-quick-start\node_modules@szmarczak\http-timer\source\index.js:37:11)
npm ERR! at TLSSocket.socketErrorListener (node:_http_client:447:9)
npm ERR! at TLSSocket.emit (node:events:390:28)
npm ERR! at emitErrorNT (node:internal/streams/destroy:157:8)
npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:122:3)
npm ERR! at processTicksAndRejections (node:internal/process/task_queues:83:21)
Can you help me?
Thank you!
The text was updated successfully, but these errors were encountered: