> windows-balance-demo@2.0.0 start
> electron --no-sandbox --disable-gpu-sandbox .
/Users/xx/AiCodeMirror-Balance-main/AiCodeMirror-Balance-main/node_modules/electron/index.js:17
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again');
^
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/Users/xx/AiCodeMirror-Balance-main/AiCodeMirror-Balance-main/node_modules/electron/index.js:17:11)
at Object.<anonymous> (/Users/xx/AiCodeMirror-Balance-main/AiCodeMirror-Balance-main/node_modules/electron/index.js:21:18)
at Module._compile (node:internal/modules/cjs/loader:1873:14)
at Object..js (node:internal/modules/cjs/loader:2013:10)
at Module.load (node:internal/modules/cjs/loader:1596:32)
at Module._load (node:internal/modules/cjs/loader:1398:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.require (node:internal/modules/cjs/loader:1619:12)
at require (node:internal/modules/helpers:191:16)
at Object.<anonymous> (/Users/xx/AiCodeMirror-Balance-main/AiCodeMirror-Balance-main/node_modules/electron/cli.js:5:18)
Node.js v26.2.0
CPU:M4
npm start 报错:
下载 mac-arm64.dmg 安装,安装后启动提示 已损坏,移除到废纸篓,在 隐私与安全性 里没有提示继续打开。