Hi Jim,
I don't think I can help you. I work on Windows and I usually compile the SDK 
from sources or use the compiled distribution. I have never used CLI 
installation or any other method other than the first two "mnvw" sounds like 
Chinese to me 😝 (I have read something about spring and Maven but I couldn't 
guide you).

Sorry.
Hiedra

-----Mensaje original-----
De: Jim McNamara <[email protected]> 
Enviado el: domingo, 12 de junio de 2022 7:52
Para: [email protected]
Asunto: Re: sdk








On Sunday, June 12, 2022 at 01:41:01 AM EDT, Jim McNamara <[email protected]> 
wrote: 





Hiedra-

Thanks. I set:

ROYAL_HOME=/home/megatron/.m2/repository/org/apache/royale/framework
export ROYAL_HOME

ROYAL_COMPILER_HOME=/home/megatron/.m2/repository/org/apache/royale/compiler
export ROYAL_COMPILER_HOME

ROYALE_ASJS_HOME=/home/megatron/.m2/repository/org/apache/royale/framework
export ROYALE_ASJS_HOME

I then ran:

~:$source .bashrc

I have a issue open at Bowler LLC github for ASJS asking for help too.

Still no SDK detected in the right hand site panel with visual studio code  :-(

I am curious why on the main apache site the binaries didn't install with the 
npm command.

I installed from source with ./mvnw. All the .swc ended up in the reactor under 
.m2.

I tried the running npm with the binaries too but they wouldn't fire up. I get 
an error.

thanks for helping,
jim

Hiedra-

Here is a log when I install using the npm at github on linux. THANKS!

[megatron@fedora apache-royale]$ sudo npm install @apache-royale/royale-js -g 
[sudo] password for megatron:  

changed 1 package, and audited 2 packages in 1s

found 0 vulnerabilities

[megatron@fedora apache-royale]$ npm install @apache-royale/royale-js-swf -g 
npm ERR! code EACCES npm ERR! syscall mkdir npm ERR! path 
/usr/local/lib/node_modules/@apache-royale/royale-js-swf
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir 
'/usr/local/lib/node_modules/@apache-royale/royale-js-swf'
npm ERR!  [Error: EACCES: permission denied, mkdir 
'/usr/local/lib/node_modules/@apache-royale/royale-js-swf'] { npm ERR!   errno: 
-13, npm ERR!   code: 'EACCES', npm ERR!   syscall: 'mkdir', npm ERR!   path: 
'/usr/local/lib/node_modules/@apache-royale/royale-js-swf'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as 
the current user npm ERR! npm ERR! If you believe this might be a permissions 
issue, please double-check the npm ERR! permissions of the file and its 
containing directories, or try running npm ERR! the command again as 
root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/megatron/.npm/_logs/2022-06-12T05_47_42_024Z-debug-0.log
[megatron@fedora apache-royale]$ sudo npm install @apache-royale/royale-js-swf 
-g npm WARN deprecated [email protected]: this library is no longer supported 
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older 
versions may use Math.random() in certain circumstances, which is known to be 
problematic.  See http s://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see 
https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/@apache-royale/royale-js-swf
npm ERR! command failed
npm ERR! command sh -c node 
royale-asjs/npm/js-swf/dependencies/download_dependencies.js
npm ERR! node:internal/modules/cjs/loader:936
npm ERR!   throw err;
npm ERR!   ^
npm ERR!
npm ERR! Error: Cannot find module 
'/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/npm/js-swf/dependencies/download_dependencies.js'
npm ERR!     at Function.Module._resolveFilename 
(node:internal/modules/cjs/loader:933:15)
npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
npm ERR!     at Function.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:77:12)
npm ERR!     at node:internal/main/run_main_module:17:47 { npm ERR!   code: 
'MODULE_NOT_FOUND', npm ERR!   requireStack: [] npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-06-12T05_48_07_941Z-debug-0.log










On Saturday, June 11, 2022 at 05:59:31 PM EDT, Maria Jose Esteve 
<[email protected]> wrote: 





Hola Jim,
Make sure you have the environment variables set: ROYALE_ASJS_HOME y 
ROYALE_COMPILER_HOME You may also need: ROYALE_HOME (asjs)

Hiedra

-----Mensaje original-----
De: Jim McNamara <[email protected]>
Enviado el: sábado, 11 de junio de 2022 19:48
Para: [email protected]
Asunto: re: sdk

HI -

My code complete doesn't work on org.apache.royale.net.*

I set the ASJS_HOME and it auto detected some search paths for me.

I am not sure but maybe apache.royale.net isn't finished.

That is the one I can't get code complete on from the bowler plug-in.

Thanks for any insight,
jim
  • RE: sdk Maria Jose Esteve
    • RE: sdk Maria Jose Esteve

Reply via email to