We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`Error: node:internal/modules/cjs/loader:966 throw err; ^
Error: Cannot find module 'E:\project\LedfinH5\ledfin-h5-editor\client\node_modules\electron-vite\bin\electron-bytecode.js' at Module._resolveFilename (node:internal/modules/cjs/loader:963:15) at Module._load (node:internal/modules/cjs/loader:811:27) at f._load (node:electron/js2c/asar_bundle:2:13330) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
node:events:505 throw er; // Unhandled 'error' event ^
Error: write EOF at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) Emitted 'error' event on Socket instance at: at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -4095, code: 'EOF', syscall: 'write' } ` 项目在pnpm workspace下。 测试环境和正常打包都是正常。 使用bytecodePlugin后报错,报错信息能不能输出更详细点,现在有点不知道怎么处理
1.0.19
22.3.2
4.0.1
The text was updated successfully, but these errors were encountered:
monorepo 下,在root安装,查找模块有问题,待下修复,可在子项目中安装electron-vite
Sorry, something went wrong.
fix(bytecodePlugin): not work in monorepo (#128)
f7f19f9
new ver 1.0.20 is out!
No branches or pull requests
Describe the bug
`Error: node:internal/modules/cjs/loader:966
throw err;
^
Error: Cannot find module 'E:\project\LedfinH5\ledfin-h5-editor\client\node_modules\electron-vite\bin\electron-bytecode.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
at Module._load (node:internal/modules/cjs/loader:811:27)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
node:events:505
throw er; // Unhandled 'error' event
^
Error: write EOF
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4095,
code: 'EOF',
syscall: 'write'
}
`
项目在pnpm workspace下。
测试环境和正常打包都是正常。
使用bytecodePlugin后报错,报错信息能不能输出更详细点,现在有点不知道怎么处理
Electron-Vite Version
1.0.19
Electron Version
22.3.2
Vite Version
4.0.1
Validations
The text was updated successfully, but these errors were encountered: