electron 集成 sqlite3 打包失败

2020-05-14 15:02:56 +08:00
 TomeWong

• electron-builder version=21.2.0 os=10.0.18363 • loaded configuration file=package.json ("build" field) • writing effective config file=build\builder-effective-config.yaml • rebuilding native dependencies dependencies=diskusage@1.1.3, sqlite3@4.2.0 platform=win32 arch=x64 • rebuilding native dependency name=diskusage version=1.1.3 • rebuilding native dependency name=sqlite3 version=4.2.0 • packaging platform=win32 arch=x64 electron=5.0.9 appOutDir=build\win-unpacked • building target=nsis file=build\云空间 Setup 4.0.1.exe archs=x64 oneClick=false perMachine=true ⨯ [object Object] error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

已经执行 rebuild,本地 npm run dev 是正常的,可以运行,但 yarn build 失败了,没有错误提示,没法定位到错误的原因

1445 次点击
所在节点    程序员
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/671627

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX