Closed maxcnunes closed 8 years ago
Relates: #27.
Output directory
does not exists. Seems like a wrong configuration..
Must be to avoid such unclear errors.
platform osx instead of darwin
Approved — https://github.com/electron-userland/electron-builder/issues/27#issuecomment-208772219 So, it will be implemented soon.
The error message would include the <output>
directory. At least would be more clear than the current one. And that was an initial idea. We could change the error message to be more specific about the problem. But since it will accept different platform names. I guess this problem will not occur anymore.
node:
v5.0.0
electron:v0.37.5
builder:v3.5.0
During the build for OSX I was getting this error:
Which made think was something related to 7za and it was missing in my machine. Because there were some issues opened earlier related to it.
But after some debugging I found out everything was ok with 7za. The problem was because I was using an wrong configuration
"dist:osx": "build --platform osx",
(platform osx instead of darwin).If there was a validation before executing the 7za. We could print a better error message. At least print
Output directory <out> does not exists. Seems like a wrong configuration.
.I could implement this pull request if it makes sense.