使用Node运行electron时报Error: spawn electron-forge ENOENT解决办法

  • 原因是找不到模块electron-forge
  • 解决办法:
    npm i electron-forge -S