Hi Om,

I did that!

In the mean time I tried all sorts of things:
install 0.9.1 instead of 0.9.3
reinstalled npm

nothing works

-Dany


> Op 30 apr. 2018, om 09:59 heeft OmPrakash Muppirala <bigosma...@gmail.com> 
> het volgende geschreven:
> 
> Dany,
> 
> I haven't tested this on a Mac.  I am told that Mac users need to use "sudo
> install npm <package-name> " depending on how they installed npm.  Perhaps
> you can try that out?
> 
> Thanks,
> Om
> 
> On Mon, Apr 30, 2018 at 12:54 AM, Dany Dhondt <archeme...@mac.com> wrote:
> 
>> Hi Om,
>> 
>> Thanks for pointing that out.
>> 
>> I’ll have a go with that scenario.
>> 
>> 1. (re) installing royale
>> npm install @apache-royale/royale-js -g
>> WARN tar invalid entry extract:@apache-royale/royale-js: verb lock using
>> /Users/dany/.npm/_locks/staging-3a08f0df5026584d.lock for
>> /usr/local/lib/node_modules/.staging
>> WARN tar invalid entry
>> 
>> Then hundreds of ‘invalid entry’ lines in the terminal.
>> 
>> And finally
>> 
>> …
>> 
>> WARN tar invalid entry
>> /usr/local/bin/asjscompc -> /usr/local/lib/node_modules/@
>> apache-royale/royale-js/royale-asjs/js/bin/asjscompcnpm
>> /usr/local/bin/asjsc -> /usr/local/lib/node_modules/@
>> apache-royale/royale-js/royale-asjs/js/bin/asjscnpm
>> /usr/local/bin/compc -> /usr/local/lib/node_modules/@
>> apache-royale/royale-js/royale-asjs/js/bin/compcnpm
>> /usr/local/bin/externc -> /usr/local/lib/node_modules/@
>> apache-royale/royale-js/royale-asjs/js/bin/externcnpm
>> /usr/local/bin/asnodec -> /usr/local/lib/node_modules/@
>> apache-royale/royale-js/royale-asjs/js/bin/asnodecnpm
>> /usr/local/bin/mxmlc -> /usr/local/lib/node_modules/@
>> apache-royale/royale-js/royale-asjs/js/bin/mxmlcnpm
>> + @apache-royale/royale-js@0.9.3
>> updated 1 package in 17.395s
>> 
>> 
>> What are those invalid entries??
>> 
>> 2. install cli tool
>> 
>> npm install @apache-royale/cli@alpha -g
>> no problem here
>> 
>> 3. create royale app
>> 
>> royale new helloWorld
>> cd helloWorld
>> 
>>>> no problem
>> 
>> 4. running the app
>> 
>> royale serve:debug
>> 
>> Didn’t work:
>> 
>> helloWorld 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:/usr/local/lib/node_modules/@apache-royale/royale-
>> 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/helloWorld/src/Main.
>> mxml'.
>> 
>> 
>> 
>> Command failed: mxmlc /Volumes/Macintosh HD/Documents/ARCHEMEDIA/
>> ROYALE/helloWorld/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:/usr/local/lib/node_modules/@apache-royale/royale-
>> 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/helloWorld/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/helloWorld/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)
>> helloWorld dany$  >
>> 
>> 
>> 
>> 
>> Any ideas?
>> 
>> -Dany
>> 
>> 
>> 
>> 
>> 

Reply via email to