You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the code of conduct that this project follows, as appropriate.
I have searched the issue tracker for a bug that matches the one I want to file, without success.
Issue Details
Electron Forge Version:
5.2.4
Electron Version:
Operating System:
macOS 10.15.1
Last Known Working Electron Forge version::
? (First time using)
Expected Behavior
It generates config
Actual Behavior
Throw error
To Reproduce
Run npx electron-forge import .
Additional Information
npx electron-forge import .
✔ Checking your system
? WARNING: We will now attempt to import: "/Users/Zachary_NG/Desktop/Coding/note-app". This will involve modifying some files, are you sure you want t
o continue? Yes
✔ Initializing Git Repository
It looks like this project is already configured for "electron-forge"
? Are you sure you want to continue? Yes
? Do you want us to change the "main" attribute of your package.json? If you are currently using babel and pointing to a "build" directory say yes. No
? Do you want us to update the "start" script to instead call the electron-forge task "electron-forge start" Yes
? Do you want us to update the "package" script to instead call the electron-forge task "electron-forge package" Yes
? Do you want us to update the "make" script to instead call the electron-forge task "electron-forge make" Yes
✔ Writing modified package.json file
✖ Pruning deleted modules
An unhandled error has occurred inside Forge:
Exited with status 1
Error: Exited with status 1
at closeArgsToError (/Users/Zachary_NG/Desktop/Coding/note-app/node_modules/cross-spawn-promise/lib/index.js:20:16)
at ChildProcess.<anonymous> (/Users/Zachary_NG/Desktop/Coding/note-app/node_modules/cross-spawn-promise/lib/index.js:76:19)
at Object.onceWrapper (events.js:418:26)
at ChildProcess.emit (events.js:311:20)
at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
From previous event:
at /Users/Zachary_NG/Desktop/Coding/note-app/node_modules/electron-forge/dist/util/ora-handler.js:46:5
at new Promise (<anonymous>)
at new F (/Users/Zachary_NG/Desktop/Coding/note-app/node_modules/babel-runtime/node_modules/core-js/library/modules/_export.js:36:28)
at asyncOra (/Users/Zachary_NG/Desktop/Coding/note-app/node_modules/electron-forge/dist/util/ora-handler.js:45:10)
at /Users/Zachary_NG/Desktop/Coding/note-app/node_modules/electron-forge/dist/api/import.js:245:38
at Generator.next (<anonymous>)
at processImmediate (internal/timers.js:456:21)
From previous event:
at /Users/Zachary_NG/Desktop/Coding/note-app/node_modules/electron-forge/dist/api/import.js:339:17
at /Users/Zachary_NG/Desktop/Coding/note-app/node_modules/electron-forge/dist/electron-forge-import.js:32:30
at Generator.next (<anonymous>)
From previous event:
at Object.<anonymous> (/Users/Zachary_NG/Desktop/Coding/note-app/node_modules/electron-forge/dist/electron-forge-import.js:36:3)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Issue Details
Expected Behavior
It generates config
Actual Behavior
Throw error
To Reproduce
Run
npx electron-forge import .
Additional Information
The text was updated successfully, but these errors were encountered: