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

fails if --out dir does not yet exist #22

Closed
freewil opened this issue Jul 13, 2015 · 4 comments
Closed

fails if --out dir does not yet exist #22

freewil opened this issue Jul 13, 2015 · 4 comments
Assignees

Comments

@freewil
Copy link
Contributor

freewil commented Jul 13, 2015

The output directory should be created if it doesn't exist yet

Error: Error running `hdiutil`! Exit code was 1
    at ChildProcess.<anonymous> (electron-builder/node_modules/appdmg/lib/util.js:32:17)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:169:7)
    at Process.ChildProcess._handle.onexit (child_process.js:1009:12)
@stefanjudis
Copy link
Contributor

@freewil

Hmm, how did you reach this. I'm just trying it, and it's creating the directory fine.

@freewil
Copy link
Contributor Author

freewil commented Aug 3, 2015

electron-builder my.app --platform=osx --out=doesnotexist --config=electron-builder.json

@freewil
Copy link
Contributor Author

freewil commented Aug 3, 2015

If you still can't reproduce it, you should be able to with this command:

$ git clone https://github.com/freewil/bitcoin-bar.git && \
  cd bitcoin-bar && \
  npm install && \
  rm -r release && \
  npm run release

@justinmchase
Copy link

Try using --out=./doesnotexist

stefanjudis added a commit that referenced this issue Oct 6, 2015
…-directory-if-not-present

create output directory if not present - fix #22
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

3 participants