Open NHZEX opened 4 months ago
脚手架默认已有配置
脚手架默认已有配置
我初始化脚手架的配置只有
electron_mirror=https://npmmirror.com/mirrors/electron/
electron_builder_binaries_mirror=https://npmmirror.com/mirrors/electron-builder-binaries/
shamefully-hoist=true
补上这个才成功的
node-linker=hoisted
Describe the bug
构建错误
解决方案:
.npmrc
目前还需要添加该设置才能解决兼容性。pnpm:
9.6.0
资料: https://github.com/nodejs/node/issues/50753#issuecomment-2039791858
Electron-Vite Version
2.3.0
Electron Version
31.3.0
Vite Version
5.3.1
Validations