🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

General Support Sticky

A topic by Gritfish created 87 days ago Views: 125 Replies: 3
Viewing posts 1 to 4
Developer

Stuff crashing? Can't get through the install process? Ask your Questions here!

(Edited 3 times)

not working on windows 10:

Running "nwjs:desktop" (nwjs) task
Using v0.22.3 (sdk)
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Using cache for: win32
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Using cache for: win64
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Downloading: http://dl.nwjs.io/v0.22.3/nwjs-sdk-v0.22.3-osx-x64.zip
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Using cache for: linux32
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Using cache for: linux64
  downloading [====================] 100% 0.0s
Unhandled rejection Error: EPERM: operation not permitted, symlink 'C:\DEV\htmle\cache\0.22.3-sdk\osx64\nwjs-sdk-v0.22.3-osx-x64\nwjs.app\Contents\Versions\58.0.3029.110\nwjs Framework.framework\Versions\Current\Helpers' -> 'C:\DEV\htmle\cache\0.22.3-sdk\osx64\nwjs-sdk-v0.22.3-osx-x64\nwjs.app\Contents\Versions\58.0.3029.110\nwjs Framework.framework\Helpers'
  at Error (native)

error on osx stuff, nothing built at all.

also, grunt exits straightaway. had to modify the bat file:

call grunt desktop
pause

...

tried on linux mint:

Unhandled Exception:
System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\doh\Local Settings\Application Data\Anolis\Exceptions.log".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0 
  at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
  at Anolis.Resourcer.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\doh\Local Settings\Application Data\Anolis\Exceptions.log".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0 
  at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
  at Anolis.Resourcer.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
Fatal error: Error while updating the Windows icon. Wine (winehq.org) must be installed to add custom icons from Mac and Linux.

wine is installed and up to date. but there's no "anolis" dir in there indeed.

the linux build shows a grey window with 'nw.js" in black (unfinished build?)

Developer

Hmm, I've never seen these happen - I'll check the mac one next time I'm on a mac.

Win10: Are you running as admin? 

"the linux build shows a grey window with 'nw.js" in black (unfinished build?)" - From memory, this happens when it can't find the index.html file in the build.

yes, running as admin. not sure there's more I can say, "symlink" problem on windows (should be mklink?), "anolis" not present in wine on linux.

the unpractical thing is that it stops at any error and doesn't build anything at all. maybe each build should be treated separately? also it boldly stops when you're offline, even if the cached files are still there and good to go (got isp problems). all in all it seems to only work well when nothing goes wrong ;)

in the end I disabled the non-working builds so I can build for windows/linux on windows, and for linux/mac on linux. I haven't tested the resulting mac build yet, but the others work ok. the only bummer is that I get 200Mb+ worth of files for a 700kb web game. but that's another story ;)