【发布时间】:2017-10-11 22:55:03
【问题描述】:
【问题讨论】:
标签: sqlite electron electron-builder
【问题讨论】:
标签: sqlite electron electron-builder
我得到了解决方案。
因为我们在 64 位架构中使用的是 32 位版本的 nodejs,所以构建错误。
您可以使用该流程来验证您的 nodejs 的拱门。
c:\> node
> process
搜索 target_arch
如果那里写了 32 比转到 nodejs.org 并下载 nodejs 的 64 位安装程序。
接下来的步骤
我的 package.json 文件
{
"name": "sqlite",
"version": "1.0.0",
"description": "This is the tutorial for the sqllite",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "electron .",
"rebuild": "electron-rebuild -f -w sqlite3"
},
"author": "",
"license": "ISC",
"dependencies": {
"electron-prebuilt": "^1.4.13",
"sqlite3": "^3.1.8"
},
"devDependencies": {
"electron-rebuild": "^1.5.10"
}
}
【讨论】: