Ah that makes more sense. It looks like mxmlc (the compiler) is not able to access the Main.mxml file. So, it fails at the compilation step. Instead of erroring out right away, the server tries to load a non existent index.html.
As someone mentioned earlier, this might be because of the npm version mismatch. Can you please let me know what your npm and node.js versions are? Mine are: C:\temp\royale-test\my-app>npm -v 4.3.0 C:\temp\royale-test\my-app>node -v v7.7.1 Thanks, Om On Wed, May 2, 2018 at 12:09 AM, Dany Dhondt <archeme...@mac.com> wrote: > this is the complete error listing: > > my-royale-app dany$ > royale serve:debug > > Compiling... > > WARNING: An illegal reflective access operation has occurred > > WARNING: Illegal reflective access by > com.google.common.base.internal.Finalizer > (file:/Users/dany/Downloads/apache-royale-0.9.2-bin-js/royale-asjs/js/lib/guava.jar) > to field java.lang.Thread.inheritableThreadLocals > > WARNING: Please consider reporting this to the maintainers of > com.google.common.base.internal.Finalizer > > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > > WARNING: All illegal access operations will be denied in a future release > > Error: unable to open 'HD/Documents/ARCHEMEDIA/ > ROYALE/my-royale-app/src/Main.mxml'. > > > > > Command failed: mxmlc /Volumes/Macintosh HD/Documents/ARCHEMEDIA/ > ROYALE/my-royale-app/src/Main.mxml -debug=true > > WARNING: An illegal reflective access operation has occurred > > WARNING: Illegal reflective access by > com.google.common.base.internal.Finalizer > (file:/Users/dany/Downloads/apache-royale-0.9.2-bin-js/royale-asjs/js/lib/guava.jar) > to field java.lang.Thread.inheritableThreadLocals > > WARNING: Please consider reporting this to the maintainers of > com.google.common.base.internal.Finalizer > > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > > WARNING: All illegal access operations will be denied in a future release > > Error: unable to open 'HD/Documents/ARCHEMEDIA/ > ROYALE/my-royale-app/src/Main.mxml'. > > > > > > fs.js:646 > > return binding.open(pathModule._makeLong(path), stringToFlags(flags), > mode); > > ^ > > > Error: ENOENT: no such file or directory, open '/Volumes/Macintosh > HD/Documents/ARCHEMEDIA/ROYALE/my-royale-app/bin/js-debug/index.html' > > at Object.fs.openSync (fs.js:646:18) > > at Object.fs.readFileSync (fs.js:551:33) > > at updateIndex (/usr/local/lib/node_modules/@ > apache-royale/cli/index.js:125:24) > > at compileDebug (/usr/local/lib/node_modules/@ > apache-royale/cli/index.js:106:9) > > at serveDebug (/usr/local/lib/node_modules/@ > apache-royale/cli/index.js:88:5) > > at Object.<anonymous> (/usr/local/lib/node_modules/@ > apache-royale/cli/index.js:59:13) > > at Module._compile (module.js:652:30) > > at Object.Module._extensions..js (module.js:663:10) > > at Module.load (module.js:565:32) > > at tryModuleLoad (module.js:505:12) > > > > > >