Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

[Windows] Can't open output file during gulp pack:win32 #7

Open
kevkha opened this issue Jan 19, 2016 · 1 comment
Open

[Windows] Can't open output file during gulp pack:win32 #7

kevkha opened this issue Jan 19, 2016 · 1 comment

Comments

@kevkha
Copy link

kevkha commented Jan 19, 2016

With makensis in place per issue #6, gulp pack:win32 fails with below error.

Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
Processing pages... Done!
Removing unused resources... Done!
Generating language tables... Done!
Generating uninstaller... Done!

Output: "C:\Users\KevKha\Documents\GitHub\nwjs-start\dist\Starter.exe"
Can't open output file
Error - aborting creation process
[00:27:38] Finished 'pack:win32' after 8.8 s
@kevkha
Copy link
Author

kevkha commented Jan 19, 2016

To fix this I had to create dist folder first.

I see this line shelljs.mkdir '-p', '../../dist' # it fails if the dir doesn't exist under Create packages for linux code block from gulpfile.coffee but there is none for Windows.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant