Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build in OSX #10

Open
cksachdev opened this issue Apr 29, 2019 · 0 comments
Open

Unable to build in OSX #10

cksachdev opened this issue Apr 29, 2019 · 0 comments

Comments

@cksachdev
Copy link

I tried the following command to create a build file for osx
npm run build-macos

npm run build-macos

> [email protected] build-macos /Users/Chetan/Documents/code/demo/html-explorer-tool
> electron-packager . --out=dist --app-version=$npm_package_version --prune --asar --overwrite  --arch=x64 --platform=darwin && cp -a ./doc dist/MarkdownExplorer-darwin-x64/doc && cp ./icon.png dist/MarkdownExplorer-darwin-x64/

Packaging app for platform darwin x64 using electron v2.0.9
Wrote new app to dist/html-darwin-x64
cp: ./doc: No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build-macos: `electron-packager . --out=dist --app-version=$npm_package_version --prune --asar --overwrite  --arch=x64 --platform=darwin && cp -a ./doc dist/MarkdownExplorer-darwin-x64/doc && cp ./icon.png dist/MarkdownExplorer-darwin-x64/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build-macos 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/Chetan/.npm/_logs/2019-04-29T14_00_22_273Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant