V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
TomeWong
V2EX  ›  程序员

electron 集成 sqlite3 打包失败

  •  
  •   TomeWong · 2020-05-14 15:02:56 +08:00 · 1435 次点击
    这是一个创建于 1443 天前的主题,其中的信息可能已经有所发展或是发生改变。

    • 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 [email protected], [email protected] 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 失败了,没有错误提示,没法定位到错误的原因

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2868 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 11:43 · PVG 19:43 · LAX 04:43 · JFK 07:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.