Dany,

I updated my pushed a new version of cli a couple days ago.  This was
published using the latest versions of npm and node.js

Can you please try these commands and let me know how it goes?

npm install -g @apache-royale/royale-js
npm install -g @apache-royale/cli

royale new new-test
cd new-test
royale serve:debug



Thanks,
Om

On Wed, May 2, 2018 at 1:05 AM, Dany Dhondt <archeme...@mac.com> wrote:

> :) nice to know that messing things up makes your day
>
> My aim is to expand the Hello world app to a real boilerplate app in which
> a basic layout is used and where most common components are shown.
> I would also like to implement one server call (which might return some
> json) to get people started.
>
> -Dany
>
> Op 2 mei 2018 om 09:59 uur uur schreef OmPrakash Muppirala <
> bigosma...@gmail.com>:
>
> Okay, I bumped my versions and the good news is that everything is messed
> up on my computer as well :-)
>
> Thanks for your patience Dany. I will try to debug this issue soon and
> make a new release.
>
> Regards,
> Om
>
> On Wed, May 2, 2018 at 12:23 AM, Dany Dhondt <archeme...@mac.com> wrote:
>
> my-royale-app dany$ > node -v
>
>
> v8.11.1
>
>
> my-royale-app dany$ > npm -v
>
>
> 6.0.0
>
>
>
> -Dany
>
>
>
> Op 2 mei 2018 om 09:19 uur uur schreef OmPrakash Muppirala <
>
> bigosma...@gmail.com>:
>
>
> 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)
>
>
>
>
>
>
>
>
>
>

Reply via email to