Open
Description
openedon Jul 31, 2023
Pre-flight checklist
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project uses.
- I have searched the issue tracker for a bug that matches the one I want to file, without success.
Electron Forge version
6.2.1
Electron version
25.3.2
Operating system
win 10
Last known working Electron Forge version
No response
Expected behavior
PS G:\repo\test\test-electron-native> npx electron-forge import
✔ Checking your system
✔ Locating importable project
❯ Processing configuration and dependencies
✖ Installing dependencies
› Failed to install modules: ["electron-squirrel-startup"]
With output: Command failed with a non-zero return code (1):
yarn add electron-squirrel-startup
yarn add v1.22.19
i…
◼ Copying base template Forge configuration
◼ Fixing .gitignore
◼ Finalizing import
An unhandled rejection has occurred inside Forge:
Error: Failed to install modules: ["electron-squirrel-startup"]
With output: Command failed with a non-zero return code (1):
yarn add electron-squirrel-startup
yarn add v1.22.19
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
error G:\repo\test\test-electron-native\node_modules\electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: G:\repo\test\test-electron-native\node_modules\electron
Output:
RequestError: connect ETIMEDOUT 20.205.243.166:443
at ClientRequest.<anonymous> (G:\repo\test\test-electron-native\node_modules\got\dist\source\core\index.js:970:111)
at Object.onceWrapper (node:events:626:26)
at ClientRequest.emit (node:events:523:35)
at origin.emit (G:\repo\test\test-electron-native\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:511:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1574:16)
error G:\repo\test\test-electron-native\node_modules\electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: G:\repo\test\test-electron-native\node_modules\electron
Output:
RequestError: connect ETIMEDOUT 20.205.243.166:443
at ClientRequest.<anonymous> (G:\repo\test\test-electron-native\node_modules\got\dist\source\core\index.js:970:111)
at Object.onceWrapper (node:events:626:26)
at ClientRequest.emit (node:events:523:35)
at origin.emit (G:\repo\test\test-electron-native\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:511:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1574:16)
at exports.default (G:\repo\test\test-electron-native\node_modules\@electron-forge\core\dist\util\install-dependencies.js:52:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Task.task (G:\repo\test\test-electron-native\node_modules\@electron-forge\core\dist\api\import.js:168:29)
at async Task.run (G:\repo\test\test-electron-native\node_modules\listr2\dist\index.cjs:978:11)
at async G:\repo\test\test-electron-native\node_modules\p-map\index.js:57:22
Actual behavior
.
Steps to reproduce
.
Additional information
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment