###前提・実現したいこと
electronのパッケージングをしたいです
###発生している問題・エラーメッセージ
terutaka-mbp:node_modules terutaka$ npm run package > electron-quick-start@1.0.0 package /Users/terutaka/MyProject/src/main > electron-packager . Packaging app for platform darwin x64 using electron v1.6.12 Command failed: npm prune --production npm WARN electron-quick-start@1.0.0 No repository field. npm ERR! May not delete: /private/var/folders/fq/wh1z161s6z7fk6yzj5z_tv6m0000gn/T/electron-packager/darwin-x64/electron-quick-start-darwin-x64/Electron.app/Contents/Resources/app/node_modules/.bin npm ERR! A complete log of this run can be found in: npm ERR! /Users/terutaka/.npm/_logs/2017-08-31T08_24_49_711Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron-quick-start@1.0.0 package: `electron-packager .` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-quick-start@1.0.0 package script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /Users/terutaka/.npm/_logs/2017-08-31T08_24_49_769Z-debug.log
###該当のソースコード
ここにご自身が実行したソースコードを書いてください
###試したこと
electron-quick-startに対して
electron-packager .
は無事動きました。
現在製作中のプロジェクトに対しては
表題のエラーが出ます。
###補足情報(言語/FW/ツール等のバージョンなど)
macOS 10.12.5
electron ~1.6.2
electron-packager ^9.0.0
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。