-
-
Notifications
You must be signed in to change notification settings - Fork 593
Description
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.
Forge version
7.8.2
Electron version
latest
Operating system
Windows 10 24H2
Last known working Forge version
7.8.2
Expected behavior
C:\Users\H\Desktop>npx create-electron-app my-new-app
Need to install the following packages:
[email protected]
Ok to proceed? (y)
npm warn skipping integrity check for git dependency ssh://[email protected]/electron/node-gyp.git
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: This package is deprecated. Use the optional chaining (?.) operator instead.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
✔ Resolving package manager: npm
✔ Resolving template: base
› Using @electron-forge/template-base (local module)
✔ Initializing directory
✔ Initializing git repository
✔ Preparing template
✔ Initializing template
✔ Installing template dependencies
C:\Users\H\Desktop>cd my-new-app
C:\Users\H\Desktop\my-new-app>npm start
[email protected] start
electron-forge start
✔ Checking your system
✔ Locating application
✔ Loading configuration
✖ Preparing native dependencies
› Could not find any Electron packages in devDependencies
◼ Running generateAssets hook
◼ Running preStart hook
An unhandled rejection has occurred inside Forge:
Error: Could not find any Electron packages in devDependencies
at getElectronModuleName (C:\Users\H\Desktop\my-new-app\node_modules@electron-forge\core-utils\dist\electron-version.js:50:15)
at getElectronVersion (C:\Users\H\Desktop\my-new-app\node_modules@electron-forge\core-utils\dist\electron-version.js:75:25)
at C:\Users\H\Desktop\my-new-app\node_modules@electron-forge\core\dist\api\start.js:57:115
at _Task.taskFn (C:\Users\H\Desktop\my-new-app\node_modules@electron-forge\tracer\dist\index.js:58:42)
at _Task.run (C:\Users\H\Desktop\my-new-app\node_modules\listr2\dist\index.cjs:2063:35)
Actual behavior
Unable to create the project
Steps to reproduce
Unable to create the project
Additional information
Unable to create the project