Open virushan opened 8 years ago
Could you please paste that log again inside a code block?
(here's how: https://guides.github.com/features/mastering-markdown/ see the code
example).
I suspect there might be something missing in it.
That error is probably thrown here: https://github.com/Aluxian/electron-superkit/blob/master/tasks/build.coffee#L88
Can you check that file './build/win32/electron.exe'
exists? You could also comment out that line, it should still work. However, your exe won't have the correct properties.
'./build/win32/electron.exe'
doesn't exist. I tried gulp download:win32
executed without any errors however file was not downloaded to directory specified 'outputDir'
.
https://github.com/Aluxian/electron-superkit/blob/master/tasks/download.coffee#L21
I commeted the code as you mentioned above https://github.com/Aluxian/electron-superkit/blob/master/tasks/build.coffee#L88 which removed the error log but it doesn't build as expected. same issue with gulp watch:win32
Can you remove the build
and cache
folders and try again?
I tried removing both build
and cache
folders unfortunately that did not help.
I did couple of testing my self.
tried gulp download:win32
did not download but this is the log I get:
[09:11:39] Requiring external module coffee-script/register
[09:11:41] Using gulpfile c:\projects\aluxian\electron-superkit\gulpfile.coffee
[09:11:41] Starting 'kill:win32'...
[09:11:41] Finished 'kill:win32' after 67 ms
[09:11:41] Starting 'download:win32'...
[09:11:41] Verifying requested version (v0.31.1)
Process finished with exit code 0
tried to change the download directory specified in ['win32', 'ia32', 'win32', './build/win32']
https://github.com/Aluxian/electron-superkit/blob/master/tasks/download.coffee#L19
to ['win32', 'ia32', 'win32', './test/win32']
which did not throw any errors still says successful.
[09:17:02] Requiring external module coffee-script/register
[09:17:04] Using gulpfile c:\projects\aluxian\electron-superkit\gulpfile.coffee
[09:17:04] Starting 'kill:win32'...
[09:17:04] Finished 'kill:win32' after 70 ms
[09:17:04] Starting 'download:win32'...
[09:17:04] Verifying requested version (v0.31.1)
Process finished with exit code 0
downloaded electron.exe
manually pasted under './build/win32'
build successfully however when I open the build file it doesn't open. I've also noticed resource folder remain unchanged. did not see .asar
file either
[09:26:40] Requiring external module coffee-script/register
[09:26:42] Using gulpfile C:\projects\electron-superkit\gulpfile.coffee
[09:26:42] Starting 'resources:win'...
[09:26:42] Starting 'kill:win32'...
[09:26:42] Finished 'resources:win' after 24 ms
[09:26:42] Finished 'kill:win32' after 69 ms
[09:26:42] Starting 'download:win32'...
[09:26:42] Verifying requested version (v0.29.0)
[09:26:42] Finished 'download:win32' after 185 ms
[09:26:42] Starting 'clean:build:win32'...
[09:26:42] Finished 'clean:build:win32' after 2.91 ms
[09:26:42] Starting 'compile:win32:menus'...
[09:26:42] Starting 'compile:win32:styles'...
[09:26:42] Starting 'compile:win32:scripts'...
[09:26:42] Starting 'compile:win32:html'...
[09:26:42] Starting 'compile:win32:deps'...
[09:26:42] Starting 'compile:win32:package'...
[09:26:42] Finished 'compile:win32:styles' after 305 ms
[09:26:42] Finished 'compile:win32:html' after 303 ms
[09:26:42] Finished 'compile:win32:package' after 301 ms
[09:26:42] Finished 'compile:win32:menus' after 433 ms
[09:26:42] Finished 'compile:win32:scripts' after 435 ms
[09:26:43] Finished 'compile:win32:deps' after 1.59 s
[09:26:43] Starting 'compile:win32'...
[09:26:43] Finished 'compile:win32' after 3.71 µs
[09:26:43] Starting 'build:win32'...
[09:26:44] Finished 'build:win32' after 160 ms
Does it work if you replace './build/win32'
with 'build\win32'
?
I don't know what else to suggest, sorry.
check #11
I followed your tutorial here: https://github.com/Aluxian/electron-superkit/wiki/Install-Dependencies https://github.com/Aluxian/electron-superkit/wiki/Building-&-Watching
unfortunately both build & watch is throwing "Error: Fatal error: Unable to load file"
Here is the exact output: