【发布时间】:2018-06-12 16:16:14
【问题描述】:
我知道我们应该在桌面上运行带有 nw.js 框架的 byteball 应用程序。 所以我确实喜欢下面。 1.git克隆 2.凉亭安装 3. npm 安装 4. 咕哝
在这些之后,我在 MacOS 上使用nwjs . 启动了该应用程序。
此刻,它说:
module.js:365
throw err;
^
Error: Cannot find module
'/Users/dev/Documents/work/byteball/byteball/node_modules/byteballcore/node_modules/sqlite3/lib/binding/node-webkit-v0.14.7-darwin-x64/node_sqlite3.node'
at Function.Module._resolveFilename (module.js:363:15)
at Function.Module._load (module.js:309:25)
at Module.require (module.js:391:17)
at require (internal/module.js:20:19)
at Object.<anonymous>
(/Users/dev/Documents/work/byteball/byteball/node_modules/byteballcore/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (module.js:437:34)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:381:32)
at Function.Module._load (module.js:338:12)
at Module.require (module.js:391:17)
对于这些错误,在 byteball 存储库中有解决方案,例如 https://github.com/byteball/byteball
于是我找到了node-v47-darwin-x64 目录,但是没有找到。
目前,我可以启动 byteball 桌面应用程序,但无法进入主屏幕,因为当我单击 continue 按钮时它已停止并且无法调试。
如何在桌面上运行此应用?
【问题讨论】:
标签: nw.js node-sqlite3