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": {}
}