Skip to content

Unable to build in OSX #10

@cksachdev

Description

@cksachdev

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

npm run build-macos

> html@0.1.1 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! html@0.1.1 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 html@0.1.1 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions