Electron-packager脚本缺少错误

时间:2018-05-21 19:34:19

标签: node.js electron package.json electron-builder electron-packager

npm ERR! missing script: build

您好,我正在尝试使用electronic-packager打包应用。一切都设置正确,我甚至尝试遵循教程视频。一切顺利,直到我给出构建应用程序的命令。我得到上述错误!!尽管" build"存在于package.json中。这是我的package.json。

{
 "name": "AerEFB",
 "version": "1.0.0",
 "description": "A minimal Electron application",
 "main": "main.js",
 "scripts": {
  "build": "electron-packager . EFB",
  "start": "electron .",
  "package": "",
 },
 "repository": "https://github.com/electron/electron-quick-start",
 "keywords": ["Electron", "quick","start", "tutorial", "demo"],
 "author": "GitHub",
 "license": "CC0-1.0",
 "devDependencies": {
  "electron": "^2.0.0",
  "electron-packager": "^12.1.0"
 },
 "dependencies": {}
}

0 个答案:

没有答案