adminMongo icon indicating copy to clipboard operation
adminMongo copied to clipboard

build electron app fail

Open smapley opened this issue 6 years ago • 1 comments

I run this in macbook pro V10.13.6: npm run-script packageOsx

and get the error:

[email protected] packageOsx /Users/xxx/Documents/Workspaces/adminMongo electron-packager ./ adminMongo --out=releases/ --platform=darwin --arch=x64 --prune --overwrite --ignore=releases/* --icon=public/logo.icns

sh: electron-packager: command not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! [email protected] packageOsx: electron-packager ./ adminMongo --out=releases/ --platform=darwin --arch=x64 --prune --overwrite --ignore=releases/* --icon=public/logo.icns npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the [email protected] packageOsx 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/xxx/.npm/_logs/2018-09-15T06_32_07_024Z-debug.log

smapley avatar Sep 15 '18 06:09 smapley

You need electron-packager on your machine before you can build this. npm install electron-packager -g

joshuagish avatar Jun 19 '19 02:06 joshuagish