-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
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
vite-electron-vue3-ts项目,本地使用正常,打包后报错 #231
Comments
const Screenshots = require('electron-screenshots') 这样引入的 |
应该是打包后node_modules下不存在相关依赖把,你查看一下app.asar文件吧 |
我也遇到了这个问题, 我是通过electron react boilplate那个项目初始化的. 也是打包的时候没问题, 运行的时候会报错, 说找不到module, 而且是报错找不到的module都是electron-screenshots的依赖module, debug, fs-extra这些的... |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
这个问题解决了, 我用的electron react boilplate但是用的pnpm作为包管理器, 所以造成了依赖的问题, 换成npm就正常了 |
您好,请教一下,我也用的electron react boilplate 使用的 npm,在main.prod配置了 |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
The text was updated successfully, but these errors were encountered: