Skip to content

npx create-electron-app my-new-app #3234

Open
@jiankafei

Description

@jiankafei

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.1.1

Electron version

24

Operating system

Windows 10

Last known working Electron Forge version

6.1.1

Expected behavior

successed

Actual behavior

npm WARN exec The following package was not found and will be installed: [email protected]
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
[STARTED] Locating custom template: "base"
[SUCCESS] Locating custom template: "base"
[STARTED] Initializing directory
[SUCCESS] Initializing directory
[STARTED] Preparing template
[SUCCESS] Preparing template
[STARTED] Initializing template
[STARTED] Copying starter files
[SUCCESS] Copying starter files
[STARTED] Initializing package.json
[SUCCESS] Initializing package.json
[SUCCESS] Initializing template
[STARTED] Installing template dependencies
[STARTED] Installing production dependencies
[SUCCESS] Installing production dependencies
[STARTED] Installing development dependencies
[SUCCESS] Installing development dependencies
[STARTED] Finalizing dependencies
[DATA] yarn install electron-squirrel-startup
[FAILED] Failed to install modules: ["electron-squirrel-startup"]
[FAILED]
[FAILED] With output: Command failed with a non-zero return code (1):
[FAILED] yarn add electron-squirrel-startup
[FAILED] Internal Error: Error when performing the request
[FAILED] at ClientRequest. (C:\Users\Administrator\AppData\Roaming\nvm\v18.15.0\node_modules\corepack\dist\corepack.js:16073:20)
[FAILED] at ClientRequest.emit (node:events:513:28)
[FAILED] at TLSSocket.socketErrorListener (node:_http_client:502:9)
[FAILED] at TLSSocket.emit (node:events:513:28)
[FAILED] at emitErrorNT (node:internal/streams/destroy:151:8)
[FAILED] at emitErrorCloseNT (node:internal/streams/destroy:116:3)
[FAILED] at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[FAILED]
[SUCCESS] Installing template dependencies

Steps to reproduce

npx create-electron-app my-new-app

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions