@
learnshare 还是不行,错误一样
```
lala@ubu:~/projects/electron/my-app 09:20:18
$ ALL_PROXY=http://127.0.0.1:8123 npm install --save-dev electron
>
[email protected] postinstall /home/lala/projects/electron/my-app/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js (
https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
>
https://opencollective.com/core-js >
https://www.patreon.com/zloirock Also, the author of core-js (
https://github.com/zloirock ) is looking for a good job -)
>
[email protected] postinstall /home/lala/projects/electron/my-app/node_modules/electron
> node install.js
(node:7836) UnhandledPromiseRejectionWarning: RequestError: connect ETIMEDOUT 13.229.188.59:443
at ClientRequest.<anonymous> (/home/lala/projects/electron/my-app/node_modules/got/source/request-as-event-emitter.js:178:14)
at Object.onceWrapper (events.js:313:26)
at ClientRequest.emit (events.js:228:7)
at ClientRequest.origin.emit (/home/lala/projects/electron/my-app/node_modules/@szmarczak/http-timer/source/index.js:37:11)
at TLSSocket.socketErrorListener (_http_client.js:406:9)
at TLSSocket.emit (events.js:223:5)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:7836) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7836) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
npm WARN
[email protected] No description
npm WARN
[email protected] No repository field.
+
[email protected]added 85 packages from 91 contributors and audited 102 packages in 80.372s
2 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
```