forge icon indicating copy to clipboard operation
forge copied to clipboard

every commands fail without any errors or infomations

Open liesauer opened this issue 2 months ago • 0 comments

Pre-flight checklist

  • [x] I have read the contribution documentation for this project.
  • [x] I agree to follow the code of conduct that this project uses.
  • [x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Forge version

7.10.2

Electron version

v38.3.0

Operating system

win10

Last known working Forge version

first time using Forge

Expected behavior

works as expected

Actual behavior

nothing happens

Steps to reproduce

  1. init a new electron project that follows https://www.electronjs.org/docs/latest/
  2. install forge manually that follows https://www.electronforge.io/import-existing-project#setting-up-forge-manually
  3. try to run forge commands and fails without any errors

the reason why i install forge manually is none of the import scripts works for me

if use this way

npm install --save-dev @electron-forge/cli
yarn dlx electron-forge import

i got × Pruning deleted modules

if use

cd my-app
npm install --save-dev @electron-forge/cli
npm exec --package=@electron-forge/cli -c "electron-forge import"

i got

› Existing Electron Forge configuration detected
› We have attempted to convert your app to be in a format that Electron Forge understands.

Thanks for using Electron Forge!

C:\Users\user\Desktop\electronize-mds>to #_undefined_#   2>NUL  || title C:\WINDOWS\system32\cmd.exe   & ""  "\..\@electron-forge\cli\dist\electron-forge.js" import
'""' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

Additional information

No response

liesauer avatar Oct 20 '25 07:10 liesauer