You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by OmPrakash Muppirala <bi...@gmail.com> on 2019/09/02 02:52:33 UTC

Testing the npm install error fixes

Just a heads up, I will be doing some test publishes of the royale npm
package.  I will be using the version number: 0.9.6.beta.1 (0.9.6.beta.2,
etc if needed)

These fixes are related to these tickets:

https://github.com/apache/royale-asjs/issues/428
https://github.com/apache/royale-asjs/issues/450
https://github.com/apache/royale-asjs/issues/231

Thanks,
Om

Re: Testing the npm install error fixes

Posted by Carlos Rovira <ca...@apache.org>.
Hi Om:

node -v -> v10.12.0

npm -v. -> 6.11.2

thanks!

El jue., 5 sept. 2019 a las 16:28, OmPrakash Muppirala (<
bigosmallm@gmail.com>) escribió:

> And oh, what is your node version?
>
> On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <bi...@gmail.com>
> wrote:
>
> > We should never have to install any npm package with sudo.
> >
> > I will dig deeper into this and see what I can do.
> >
> > Thanks for testing!
> >
> > Om
> >
> >
> > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <ca...@apache.org>
> > wrote:
> >
> >> Thanks Harbs,
> >> that seems not to fix the problem:
> >>
> >> macbookpro:~ carlosrovira$ sudo npm i
> >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
> >>
> >> Password:
> >>
> >> /usr/local/bin/asjsc ->
> >>
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> >>
> >> /usr/local/bin/asjscompc ->
> >>
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> >>
> >> /usr/local/bin/mxmlc ->
> >>
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> >>
> >> /usr/local/bin/asnodec ->
> >>
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> >>
> >> /usr/local/bin/compc ->
> >>
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> >>
> >> /usr/local/bin/externc ->
> >>
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> >>
> >>
> >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> >>
> >> > node dependencies/download_dependencies.js
> >>
> >>
> >> internal/modules/cjs/loader.js:582
> >>
> >>     throw err;
> >>
> >>     ^
> >>
> >>
> >> Error: Cannot find module
> >>
> >>
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> >>
> >>     at Function.Module._resolveFilename
> >> (internal/modules/cjs/loader.js:580:15)
> >>
> >>     at Function.Module._load (internal/modules/cjs/loader.js:506:25)
> >>
> >>     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
> >>
> >>     at startup (internal/bootstrap/node.js:285:19)
> >>
> >>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> >>
> >> npm ERR! code ELIFECYCLE
> >>
> >> npm ERR! errno 1
> >>
> >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
> >> dependencies/download_dependencies.js`
> >>
> >> npm ERR! Exit status 1
> >>
> >> npm ERR!
> >>
> >> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
> >> postinstall
> >> script.
> >>
> >> npm ERR! This is probably not a problem with npm. There is likely
> >> additional logging output above.
> >>
> >>
> >> npm ERR! A complete log of this run can be found in:
> >>
> >> npm ERR!
> >> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> >>
> >> macbookpro:~ carlosrovira$
> >>
> >>
> >>
> >>
> >>
> >> El jue., 5 sept. 2019 a las 11:32, Harbs (<ha...@gmail.com>)
> >> escribió:
> >>
> >> > Try sudo.
> >> >
> >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <carlosrovira@apache.org
> >
> >> > wrote:
> >> > >
> >> > > Hi Om,
> >> > >
> >> > > I tried to install now with : npm i
> >> > @apache-royale/royale-js-swf@0.9.6-beta0
> >> > > -g
> >> > >
> >> > > I get this:
> >> > >
> >> > > Last login: Fri Aug 30 00:01:50 on ttys000
> >> > >
> >> > > macbookpro:~ carlosrovira$ npm i
> >> @apache-royale/royale-js-swf@0.9.6-beta0
> >> > -g
> >> > >
> >> > > /usr/local/bin/asjsc ->
> >> > >
> >> >
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> >> > >
> >> > > /usr/local/bin/asnodec ->
> >> > >
> >> >
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> >> > >
> >> > > /usr/local/bin/mxmlc ->
> >> > >
> >> >
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> >> > >
> >> > > /usr/local/bin/asjscompc ->
> >> > >
> >> >
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> >> > >
> >> > > /usr/local/bin/compc ->
> >> > >
> >> >
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> >> > >
> >> > > /usr/local/bin/externc ->
> >> > >
> >> >
> >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> >> > >
> >> > >
> >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> >> > >
> >> > >> node dependencies/download_dependencies.js
> >> > >
> >> > >
> >> > > internal/modules/cjs/loader.js:582
> >> > >
> >> > >    throw err;
> >> > >
> >> > >    ^
> >> > >
> >> > >
> >> > > Error: Cannot find module
> >> > >
> >> >
> >>
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> >> > >
> >> > >    at Function.Module._resolveFilename
> >> > > (internal/modules/cjs/loader.js:580:15)
> >> > >
> >> > >    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
> >> > >
> >> > >    at Function.Module.runMain
> (internal/modules/cjs/loader.js:741:12)
> >> > >
> >> > >    at startup (internal/bootstrap/node.js:285:19)
> >> > >
> >> > >    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> >> > >
> >> > > npm ERR! code ELIFECYCLE
> >> > >
> >> > > npm ERR! errno 1
> >> > >
> >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall:
> `node
> >> > > dependencies/download_dependencies.js`
> >> > >
> >> > > npm ERR! Exit status 1
> >> > >
> >> > > npm ERR!
> >> > >
> >> > > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
> >> > postinstall
> >> > > script.
> >> > >
> >> > > npm ERR! This is probably not a problem with npm. There is likely
> >> > > additional logging output above.
> >> > >
> >> > >
> >> > > npm ERR! A complete log of this run can be found in:
> >> > >
> >> > > npm ERR!
> >> > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> >> > >
> >> > > macbookpro:~ carlosrovira$
> >> > >
> >> > >
> >> > >
> >> > >
> >> > >
> >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
> >> > > bigosmallm@gmail.com>) escribió:
> >> > >
> >> > >> Carlos,
> >> > >>
> >> > >> A nice way to test if your installation is working correctly is to
> >> try
> >> > it
> >> > >> with the npm cli tool.
> >> > >>
> >> > >> You can install the cli using the command:
> >> > >>
> >> > >> npm i @apache-royale/cli -g
> >> > >>
> >> > >> Basically install the royale package, then install the cli package.
> >> And
> >> > >> follow the instructions here:
> >> > >> https://www.npmjs.com/package/@apache-royale/cli
> >> > >>
> >> > >> Thanks,
> >> > >> Om
> >> > >>
> >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
> >> carlosrovira@apache.org>
> >> > >> wrote:
> >> > >>
> >> > >>> Hi Om,
> >> > >>>
> >> > >>> since I don't know too much about NPM, I want to know some few
> >> things
> >> > >> about
> >> > >>> the Royale NPM version. Just uninstalled old version successfully.
> >> > >>>
> >> > >>> Now, I'm on Mac. if I install the new one, how this affects my
> >> > >> environment?
> >> > >>> I suppose that my installation of repos to build from source code
> is
> >> > >>> independent, and NPM installs mxmlc in Terminal (command line
> >> level).
> >> > >>>
> >> > >>> Then, some easy way to give a quick test that all is working ok? I
> >> > >> suppose
> >> > >>> that I must go to some example project like Tour de Jewel and try
> to
> >> > >>> compile in terminal with mxmlc right? Can you provide a command
> >> line to
> >> > >> use
> >> > >>> for test for example that particular case?
> >> > >>>
> >> > >>> Thanks!
> >> > >>>
> >> > >>>
> >> > >>>
> >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
> >> > >>> bigosmallm@gmail.com>) escribió:
> >> > >>>
> >> > >>>> Hi folks,
> >> > >>>>
> >> > >>>> Can you please test the beta release and report any errors you
> are
> >> > >>> seeing?
> >> > >>>>
> >> > >>>> You can test it with these commands:
> >> > >>>>
> >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case you
> already
> >> > have
> >> > >>> it
> >> > >>>> installed)
> >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> >> > >>>>
> >> > >>>> Thanks,
> >> > >>>> Om
> >> > >>>>
> >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
> >> > >> bigosmallm@gmail.com
> >> > >>>>
> >> > >>>> wrote:
> >> > >>>>
> >> > >>>>> Just a heads up, I will be doing some test publishes of the
> royale
> >> > >> npm
> >> > >>>>> package.  I will be using the version number: 0.9.6.beta.1
> >> > >>> (0.9.6.beta.2,
> >> > >>>>> etc if needed)
> >> > >>>>>
> >> > >>>>> These fixes are related to these tickets:
> >> > >>>>>
> >> > >>>>> https://github.com/apache/royale-asjs/issues/428
> >> > >>>>> https://github.com/apache/royale-asjs/issues/450
> >> > >>>>> https://github.com/apache/royale-asjs/issues/231
> >> > >>>>>
> >> > >>>>> Thanks,
> >> > >>>>> Om
> >> > >>>>>
> >> > >>>>
> >> > >>>
> >> > >>>
> >> > >>> --
> >> > >>> Carlos Rovira
> >> > >>> http://about.me/carlosrovira
> >> > >>>
> >> > >>
> >> > >
> >> > >
> >> > > --
> >> > > Carlos Rovira
> >> > > http://about.me/carlosrovira
> >> >
> >> >
> >>
> >> --
> >> Carlos Rovira
> >> http://about.me/carlosrovira
> >>
> >
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Testing the npm install error fixes

Posted by Carlos Rovira <ca...@apache.org>.
Hi Om,

result for that console command is:

macbookpro:royale-compiler carlosrovira$ ls $(npm prefix
-g)/lib/node_modules

*@apache-royale* *asconfigc*      *npm*

Thanks

Carlos

El lun., 9 sept. 2019 a las 23:16, OmPrakash Muppirala (<
bigosmallm@gmail.com>) escribió:

> Carlos,
>
> Sorry, I was not clear.
>
> We run the dependencies.js script after the installation as a `postInstall`
> script.  It assumes that the @apache-royale/royale-js-swf directory is
> created inside your global npm node_module directories.
> You can verify if the package installed correctly in the first place by
> running:
>
> ls $(npm prefix -g)/lib/node_modules
>
> Can you please run it and see if @apache-royale is listed there?
>
> Thanks,
> Om
>
> On Mon, Sep 9, 2019 at 9:59 AM Carlos Rovira <ca...@apache.org>
> wrote:
>
> > Hi Om,
> >
> > this is just a path you asked me for "dependencies.js" file, not the
> > command line. The command line is already in the error log above this
> > thread. There's something like this:
> >
> > macbookpro:~ carlosrovira$ npm i @apache-royale/royale-js-swf@0.9.6-beta0
> > -g
> >
> > best
> >
> > C.
> >
> >
> > El lun., 9 sept. 2019 a las 17:43, OmPrakash Muppirala (<
> omuppi1@gmail.com
> > >)
> > escribió:
> >
> > > Huh?  Did you use the - g switch?  Your path indicates that you
> probably
> > > did not..
> > >
> > > On Mon, Sep 9, 2019, 7:10 AM Carlos Rovira <ca...@apache.org>
> > > wrote:
> > >
> > > > Hi Om,
> > > >
> > > > the path is: "*<path-to-royale_asjs>/npm/js-swf/dependencies/*"
> > > >
> > > > HTH
> > > > Carlos
> > > >
> > > > El vie., 6 sept. 2019 a las 19:41, OmPrakash Muppirala (<
> > > > bigosmallm@gmail.com>) escribió:
> > > >
> > > > > Thanks Carlos, this is useful!
> > > > >
> > > > > Can you send the path for the dependencies.js file you have shown
> > here?
> > > > >
> > > > > Regards,
> > > > > Om
> > > > >
> > > > > On Fri, Sep 6, 2019 at 12:42 AM Carlos Rovira <
> > carlosrovira@apache.org
> > > >
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I'll try to see Om links as I have time. In the mean while here
> is
> > > the
> > > > > log:
> > > > > >
> > > > > > https://paste.apache.org/p/pomzf
> > > > > >
> > > > > > and dependencies.js
> > > > > >
> > > > > > https://paste.apache.org/p/6nu70
> > > > > >
> > > > > >
> > > > > > HTH
> > > > > >
> > > > > > Carlos
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > El jue., 5 sept. 2019 a las 18:32, OmPrakash Muppirala (<
> > > > > > bigosmallm@apache.org>) escribió:
> > > > > >
> > > > > > > If you have to use sudo that usually means that your node/npm
> is
> > > not
> > > > > > setup
> > > > > > > correctly.
> > > > > > >
> > > > > > > Some more info here :
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92
> > > > > > >
> > > > > > > https://stackoverflow.com/a/18296178
> > > > > > >
> > > > > > > That said, this issue is not related to sudo or otherwise.
> > > > > > >
> > > > > > > But it is a good idea to not sudo anything related to npm.  For
> > > > > instance,
> > > > > > > our installation scripts downloads and does a bunch of things
> > > during
> > > > > the
> > > > > > > installation.  Imagine allowing a random script sudo access to
> > your
> > > > > > > computer.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Om
> > > > > > >
> > > > > > > On Thu, Sep 5, 2019, 9:00 AM Alex Harui
> <aharui@adobe.com.invalid
> > >
> > > > > > wrote:
> > > > > > >
> > > > > > > > Pretty sure if you use -g on MacOS you need sudo.  However, I
> > > don't
> > > > > > think
> > > > > > > > that's the issue here.
> > > > > > > > I think Carlos should post his:
> > > > > > > > - dependencies/download_dependencies.js`
> > > > > > > > -
> > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > > > > > >
> > > > > > > > HTH,
> > > > > > > > -Alex
> > > > > > > >
> > > > > > > > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <
> > bigosmallm@gmail.com
> > > >
> > > > > > wrote:
> > > > > > > >
> > > > > > > >     And oh, what is your node version?
> > > > > > > >
> > > > > > > >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
> > > > > > > bigosmallm@gmail.com
> > > > > > > > >
> > > > > > > >     wrote:
> > > > > > > >
> > > > > > > >     > We should never have to install any npm package with
> > sudo.
> > > > > > > >     >
> > > > > > > >     > I will dig deeper into this and see what I can do.
> > > > > > > >     >
> > > > > > > >     > Thanks for testing!
> > > > > > > >     >
> > > > > > > >     > Om
> > > > > > > >     >
> > > > > > > >     >
> > > > > > > >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
> > > > > > > carlosrovira@apache.org>
> > > > > > > >     > wrote:
> > > > > > > >     >
> > > > > > > >     >> Thanks Harbs,
> > > > > > > >     >> that seems not to fix the problem:
> > > > > > > >     >>
> > > > > > > >     >> macbookpro:~ carlosrovira$ sudo npm i
> > > > > > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > > > > > > >     >>
> > > > > > > >     >> Password:
> > > > > > > >     >>
> > > > > > > >     >> /usr/local/bin/asjsc ->
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > > > > > >     >>
> > > > > > > >     >> /usr/local/bin/asjscompc ->
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > > > > > >     >>
> > > > > > > >     >> /usr/local/bin/mxmlc ->
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > > > > > >     >>
> > > > > > > >     >> /usr/local/bin/asnodec ->
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > > > > > >     >>
> > > > > > > >     >> /usr/local/bin/compc ->
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > > > > > >     >>
> > > > > > > >     >> /usr/local/bin/externc ->
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall
> > > > > > > >     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > > > > > >     >>
> > > > > > > >     >> > node dependencies/download_dependencies.js
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >     >> internal/modules/cjs/loader.js:582
> > > > > > > >     >>
> > > > > > > >     >>     throw err;
> > > > > > > >     >>
> > > > > > > >     >>     ^
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >     >> Error: Cannot find module
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > > > > > >     >>
> > > > > > > >     >>     at Function.Module._resolveFilename
> > > > > > > >     >> (internal/modules/cjs/loader.js:580:15)
> > > > > > > >     >>
> > > > > > > >     >>     at Function.Module._load
> > > > > > > (internal/modules/cjs/loader.js:506:25)
> > > > > > > >     >>
> > > > > > > >     >>     at Function.Module.runMain
> > > > > > > > (internal/modules/cjs/loader.js:741:12)
> > > > > > > >     >>
> > > > > > > >     >>     at startup (internal/bootstrap/node.js:285:19)
> > > > > > > >     >>
> > > > > > > >     >>     at bootstrapNodeJSCore
> > > > (internal/bootstrap/node.js:739:3)
> > > > > > > >     >>
> > > > > > > >     >> npm ERR! code ELIFECYCLE
> > > > > > > >     >>
> > > > > > > >     >> npm ERR! errno 1
> > > > > > > >     >>
> > > > > > > >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > postinstall:
> > > > > > > > `node
> > > > > > > >     >> dependencies/download_dependencies.js`
> > > > > > > >     >>
> > > > > > > >     >> npm ERR! Exit status 1
> > > > > > > >     >>
> > > > > > > >     >> npm ERR!
> > > > > > > >     >>
> > > > > > > >     >> npm ERR! Failed at the
> > > > > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > > >     >> postinstall
> > > > > > > >     >> script.
> > > > > > > >     >>
> > > > > > > >     >> npm ERR! This is probably not a problem with npm.
> There
> > is
> > > > > > likely
> > > > > > > >     >> additional logging output above.
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >     >> npm ERR! A complete log of this run can be found in:
> > > > > > > >     >>
> > > > > > > >     >> npm ERR!
> > > > > > > >     >>
> > > > > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > > > > > >     >>
> > > > > > > >     >> macbookpro:~ carlosrovira$
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >     >>
> > > > > > > >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
> > > > > > harbs.lists@gmail.com
> > > > > > > >)
> > > > > > > >     >> escribió:
> > > > > > > >     >>
> > > > > > > >     >> > Try sudo.
> > > > > > > >     >> >
> > > > > > > >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
> > > > > > > > carlosrovira@apache.org>
> > > > > > > >     >> > wrote:
> > > > > > > >     >> > >
> > > > > > > >     >> > > Hi Om,
> > > > > > > >     >> > >
> > > > > > > >     >> > > I tried to install now with : npm i
> > > > > > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > > >     >> > > -g
> > > > > > > >     >> > >
> > > > > > > >     >> > > I get this:
> > > > > > > >     >> > >
> > > > > > > >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
> > > > > > > >     >> > >
> > > > > > > >     >> > > macbookpro:~ carlosrovira$ npm i
> > > > > > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > > >     >> > -g
> > > > > > > >     >> > >
> > > > > > > >     >> > > /usr/local/bin/asjsc ->
> > > > > > > >     >> > >
> > > > > > > >     >> >
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > > > > > >     >> > >
> > > > > > > >     >> > > /usr/local/bin/asnodec ->
> > > > > > > >     >> > >
> > > > > > > >     >> >
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > > > > > >     >> > >
> > > > > > > >     >> > > /usr/local/bin/mxmlc ->
> > > > > > > >     >> > >
> > > > > > > >     >> >
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > > > > > >     >> > >
> > > > > > > >     >> > > /usr/local/bin/asjscompc ->
> > > > > > > >     >> > >
> > > > > > > >     >> >
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > > > > > >     >> > >
> > > > > > > >     >> > > /usr/local/bin/compc ->
> > > > > > > >     >> > >
> > > > > > > >     >> >
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > > > > > >     >> > >
> > > > > > > >     >> > > /usr/local/bin/externc ->
> > > > > > > >     >> > >
> > > > > > > >     >> >
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > > > > > >     >> > >
> > > > > > > >     >> > >
> > > > > > > >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0
> > postinstall
> > > > > > > >     >> > >
> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > > > > > >     >> > >
> > > > > > > >     >> > >> node dependencies/download_dependencies.js
> > > > > > > >     >> > >
> > > > > > > >     >> > >
> > > > > > > >     >> > > internal/modules/cjs/loader.js:582
> > > > > > > >     >> > >
> > > > > > > >     >> > >    throw err;
> > > > > > > >     >> > >
> > > > > > > >     >> > >    ^
> > > > > > > >     >> > >
> > > > > > > >     >> > >
> > > > > > > >     >> > > Error: Cannot find module
> > > > > > > >     >> > >
> > > > > > > >     >> >
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > > > > > >     >> > >
> > > > > > > >     >> > >    at Function.Module._resolveFilename
> > > > > > > >     >> > > (internal/modules/cjs/loader.js:580:15)
> > > > > > > >     >> > >
> > > > > > > >     >> > >    at Function.Module._load
> > > > > > > > (internal/modules/cjs/loader.js:506:25)
> > > > > > > >     >> > >
> > > > > > > >     >> > >    at Function.Module.runMain
> > > > > > > > (internal/modules/cjs/loader.js:741:12)
> > > > > > > >     >> > >
> > > > > > > >     >> > >    at startup (internal/bootstrap/node.js:285:19)
> > > > > > > >     >> > >
> > > > > > > >     >> > >    at bootstrapNodeJSCore
> > > > > (internal/bootstrap/node.js:739:3)
> > > > > > > >     >> > >
> > > > > > > >     >> > > npm ERR! code ELIFECYCLE
> > > > > > > >     >> > >
> > > > > > > >     >> > > npm ERR! errno 1
> > > > > > > >     >> > >
> > > > > > > >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > > postinstall:
> > > > > > > > `node
> > > > > > > >     >> > > dependencies/download_dependencies.js`
> > > > > > > >     >> > >
> > > > > > > >     >> > > npm ERR! Exit status 1
> > > > > > > >     >> > >
> > > > > > > >     >> > > npm ERR!
> > > > > > > >     >> > >
> > > > > > > >     >> > > npm ERR! Failed at the
> > > > > > > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > > >     >> > postinstall
> > > > > > > >     >> > > script.
> > > > > > > >     >> > >
> > > > > > > >     >> > > npm ERR! This is probably not a problem with npm.
> > > There
> > > > is
> > > > > > > > likely
> > > > > > > >     >> > > additional logging output above.
> > > > > > > >     >> > >
> > > > > > > >     >> > >
> > > > > > > >     >> > > npm ERR! A complete log of this run can be found
> in:
> > > > > > > >     >> > >
> > > > > > > >     >> > > npm ERR!
> > > > > > > >     >> > >
> > > > > > > >
> > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> > > > > > > >     >> > >
> > > > > > > >     >> > > macbookpro:~ carlosrovira$
> > > > > > > >     >> > >
> > > > > > > >     >> > >
> > > > > > > >     >> > >
> > > > > > > >     >> > >
> > > > > > > >     >> > >
> > > > > > > >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash
> > Muppirala
> > > > (<
> > > > > > > >     >> > > bigosmallm@gmail.com>) escribió:
> > > > > > > >     >> > >
> > > > > > > >     >> > >> Carlos,
> > > > > > > >     >> > >>
> > > > > > > >     >> > >> A nice way to test if your installation is
> working
> > > > > > correctly
> > > > > > > > is to
> > > > > > > >     >> try
> > > > > > > >     >> > it
> > > > > > > >     >> > >> with the npm cli tool.
> > > > > > > >     >> > >>
> > > > > > > >     >> > >> You can install the cli using the command:
> > > > > > > >     >> > >>
> > > > > > > >     >> > >> npm i @apache-royale/cli -g
> > > > > > > >     >> > >>
> > > > > > > >     >> > >> Basically install the royale package, then
> install
> > > the
> > > > > cli
> > > > > > > > package.
> > > > > > > >     >> And
> > > > > > > >     >> > >> follow the instructions here:
> > > > > > > >     >> > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=NLSR77WKoTfgvpogUsNhz1gD%2BnLDQws8kdlgMOHNvTk%3D&amp;reserved=0
> > > > > > > >     >> > >>
> > > > > > > >     >> > >> Thanks,
> > > > > > > >     >> > >> Om
> > > > > > > >     >> > >>
> > > > > > > >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
> > > > > > > >     >> carlosrovira@apache.org>
> > > > > > > >     >> > >> wrote:
> > > > > > > >     >> > >>
> > > > > > > >     >> > >>> Hi Om,
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>> since I don't know too much about NPM, I want to
> > > know
> > > > > some
> > > > > > > few
> > > > > > > >     >> things
> > > > > > > >     >> > >> about
> > > > > > > >     >> > >>> the Royale NPM version. Just uninstalled old
> > version
> > > > > > > > successfully.
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>> Now, I'm on Mac. if I install the new one, how
> > this
> > > > > > affects
> > > > > > > my
> > > > > > > >     >> > >> environment?
> > > > > > > >     >> > >>> I suppose that my installation of repos to build
> > > from
> > > > > > source
> > > > > > > > code is
> > > > > > > >     >> > >>> independent, and NPM installs mxmlc in Terminal
> > > > (command
> > > > > > > line
> > > > > > > >     >> level).
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>> Then, some easy way to give a quick test that
> all
> > is
> > > > > > working
> > > > > > > > ok? I
> > > > > > > >     >> > >> suppose
> > > > > > > >     >> > >>> that I must go to some example project like Tour
> > de
> > > > > Jewel
> > > > > > > and
> > > > > > > > try to
> > > > > > > >     >> > >>> compile in terminal with mxmlc right? Can you
> > > provide
> > > > a
> > > > > > > > command
> > > > > > > >     >> line to
> > > > > > > >     >> > >> use
> > > > > > > >     >> > >>> for test for example that particular case?
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>> Thanks!
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash
> > > Muppirala
> > > > > (<
> > > > > > > >     >> > >>> bigosmallm@gmail.com>) escribió:
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>>> Hi folks,
> > > > > > > >     >> > >>>>
> > > > > > > >     >> > >>>> Can you please test the beta release and report
> > any
> > > > > > errors
> > > > > > > > you are
> > > > > > > >     >> > >>> seeing?
> > > > > > > >     >> > >>>>
> > > > > > > >     >> > >>>> You can test it with these commands:
> > > > > > > >     >> > >>>>
> > > > > > > >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g
> (in
> > > > case
> > > > > > you
> > > > > > > > already
> > > > > > > >     >> > have
> > > > > > > >     >> > >>> it
> > > > > > > >     >> > >>>> installed)
> > > > > > > >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0
> > -g
> > > > > > > >     >> > >>>>
> > > > > > > >     >> > >>>> Thanks,
> > > > > > > >     >> > >>>> Om
> > > > > > > >     >> > >>>>
> > > > > > > >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash
> > Muppirala
> > > <
> > > > > > > >     >> > >> bigosmallm@gmail.com
> > > > > > > >     >> > >>>>
> > > > > > > >     >> > >>>> wrote:
> > > > > > > >     >> > >>>>
> > > > > > > >     >> > >>>>> Just a heads up, I will be doing some test
> > > publishes
> > > > > of
> > > > > > > the
> > > > > > > > royale
> > > > > > > >     >> > >> npm
> > > > > > > >     >> > >>>>> package.  I will be using the version number:
> > > > > > 0.9.6.beta.1
> > > > > > > >     >> > >>> (0.9.6.beta.2,
> > > > > > > >     >> > >>>>> etc if needed)
> > > > > > > >     >> > >>>>>
> > > > > > > >     >> > >>>>> These fixes are related to these tickets:
> > > > > > > >     >> > >>>>>
> > > > > > > >     >> > >>>>>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=Vo3iFII%2Frmk249ORPB97uYKVtAS6T7LrBenGY3hQjQY%3D&amp;reserved=0
> > > > > > > >     >> > >>>>>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=%2Bob3ukpJGMR2HSlKZprxGI3cYL646VV%2B024eTsq3HdM%3D&amp;reserved=0
> > > > > > > >     >> > >>>>>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=GkFnt42ucQZFj06TXYDUjsNya6vrhQhMrgxzOeEBqzc%3D&amp;reserved=0
> > > > > > > >     >> > >>>>>
> > > > > > > >     >> > >>>>> Thanks,
> > > > > > > >     >> > >>>>> Om
> > > > > > > >     >> > >>>>>
> > > > > > > >     >> > >>>>
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>> --
> > > > > > > >     >> > >>> Carlos Rovira
> > > > > > > >     >> > >>>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > > > > >     >> > >>>
> > > > > > > >     >> > >>
> > > > > > > >     >> > >
> > > > > > > >     >> > >
> > > > > > > >     >> > > --
> > > > > > > >     >> > > Carlos Rovira
> > > > > > > >     >> > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > > > > >     >> >
> > > > > > > >     >> >
> > > > > > > >     >>
> > > > > > > >     >> --
> > > > > > > >     >> Carlos Rovira
> > > > > > > >     >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > > > > >     >>
> > > > > > > >     >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Carlos Rovira
> > > > > > http://about.me/carlosrovira
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Carlos,

Sorry, I was not clear.

We run the dependencies.js script after the installation as a `postInstall`
script.  It assumes that the @apache-royale/royale-js-swf directory is
created inside your global npm node_module directories.
You can verify if the package installed correctly in the first place by
running:

ls $(npm prefix -g)/lib/node_modules

Can you please run it and see if @apache-royale is listed there?

Thanks,
Om

On Mon, Sep 9, 2019 at 9:59 AM Carlos Rovira <ca...@apache.org>
wrote:

> Hi Om,
>
> this is just a path you asked me for "dependencies.js" file, not the
> command line. The command line is already in the error log above this
> thread. There's something like this:
>
> macbookpro:~ carlosrovira$ npm i @apache-royale/royale-js-swf@0.9.6-beta0
> -g
>
> best
>
> C.
>
>
> El lun., 9 sept. 2019 a las 17:43, OmPrakash Muppirala (<omuppi1@gmail.com
> >)
> escribió:
>
> > Huh?  Did you use the - g switch?  Your path indicates that you probably
> > did not..
> >
> > On Mon, Sep 9, 2019, 7:10 AM Carlos Rovira <ca...@apache.org>
> > wrote:
> >
> > > Hi Om,
> > >
> > > the path is: "*<path-to-royale_asjs>/npm/js-swf/dependencies/*"
> > >
> > > HTH
> > > Carlos
> > >
> > > El vie., 6 sept. 2019 a las 19:41, OmPrakash Muppirala (<
> > > bigosmallm@gmail.com>) escribió:
> > >
> > > > Thanks Carlos, this is useful!
> > > >
> > > > Can you send the path for the dependencies.js file you have shown
> here?
> > > >
> > > > Regards,
> > > > Om
> > > >
> > > > On Fri, Sep 6, 2019 at 12:42 AM Carlos Rovira <
> carlosrovira@apache.org
> > >
> > > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I'll try to see Om links as I have time. In the mean while here is
> > the
> > > > log:
> > > > >
> > > > > https://paste.apache.org/p/pomzf
> > > > >
> > > > > and dependencies.js
> > > > >
> > > > > https://paste.apache.org/p/6nu70
> > > > >
> > > > >
> > > > > HTH
> > > > >
> > > > > Carlos
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El jue., 5 sept. 2019 a las 18:32, OmPrakash Muppirala (<
> > > > > bigosmallm@apache.org>) escribió:
> > > > >
> > > > > > If you have to use sudo that usually means that your node/npm is
> > not
> > > > > setup
> > > > > > correctly.
> > > > > >
> > > > > > Some more info here :
> > > > > >
> > > > >
> > > >
> > >
> >
> https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92
> > > > > >
> > > > > > https://stackoverflow.com/a/18296178
> > > > > >
> > > > > > That said, this issue is not related to sudo or otherwise.
> > > > > >
> > > > > > But it is a good idea to not sudo anything related to npm.  For
> > > > instance,
> > > > > > our installation scripts downloads and does a bunch of things
> > during
> > > > the
> > > > > > installation.  Imagine allowing a random script sudo access to
> your
> > > > > > computer.
> > > > > >
> > > > > > Thanks,
> > > > > > Om
> > > > > >
> > > > > > On Thu, Sep 5, 2019, 9:00 AM Alex Harui <aharui@adobe.com.invalid
> >
> > > > > wrote:
> > > > > >
> > > > > > > Pretty sure if you use -g on MacOS you need sudo.  However, I
> > don't
> > > > > think
> > > > > > > that's the issue here.
> > > > > > > I think Carlos should post his:
> > > > > > > - dependencies/download_dependencies.js`
> > > > > > > -
> > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > > > > >
> > > > > > > HTH,
> > > > > > > -Alex
> > > > > > >
> > > > > > > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <
> bigosmallm@gmail.com
> > >
> > > > > wrote:
> > > > > > >
> > > > > > >     And oh, what is your node version?
> > > > > > >
> > > > > > >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
> > > > > > bigosmallm@gmail.com
> > > > > > > >
> > > > > > >     wrote:
> > > > > > >
> > > > > > >     > We should never have to install any npm package with
> sudo.
> > > > > > >     >
> > > > > > >     > I will dig deeper into this and see what I can do.
> > > > > > >     >
> > > > > > >     > Thanks for testing!
> > > > > > >     >
> > > > > > >     > Om
> > > > > > >     >
> > > > > > >     >
> > > > > > >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
> > > > > > carlosrovira@apache.org>
> > > > > > >     > wrote:
> > > > > > >     >
> > > > > > >     >> Thanks Harbs,
> > > > > > >     >> that seems not to fix the problem:
> > > > > > >     >>
> > > > > > >     >> macbookpro:~ carlosrovira$ sudo npm i
> > > > > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > > > > > >     >>
> > > > > > >     >> Password:
> > > > > > >     >>
> > > > > > >     >> /usr/local/bin/asjsc ->
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > > > > >     >>
> > > > > > >     >> /usr/local/bin/asjscompc ->
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > > > > >     >>
> > > > > > >     >> /usr/local/bin/mxmlc ->
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > > > > >     >>
> > > > > > >     >> /usr/local/bin/asnodec ->
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > > > > >     >>
> > > > > > >     >> /usr/local/bin/compc ->
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > > > > >     >>
> > > > > > >     >> /usr/local/bin/externc ->
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > > > > > >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > > > > >     >>
> > > > > > >     >> > node dependencies/download_dependencies.js
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >     >> internal/modules/cjs/loader.js:582
> > > > > > >     >>
> > > > > > >     >>     throw err;
> > > > > > >     >>
> > > > > > >     >>     ^
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >     >> Error: Cannot find module
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > > > > >     >>
> > > > > > >     >>     at Function.Module._resolveFilename
> > > > > > >     >> (internal/modules/cjs/loader.js:580:15)
> > > > > > >     >>
> > > > > > >     >>     at Function.Module._load
> > > > > > (internal/modules/cjs/loader.js:506:25)
> > > > > > >     >>
> > > > > > >     >>     at Function.Module.runMain
> > > > > > > (internal/modules/cjs/loader.js:741:12)
> > > > > > >     >>
> > > > > > >     >>     at startup (internal/bootstrap/node.js:285:19)
> > > > > > >     >>
> > > > > > >     >>     at bootstrapNodeJSCore
> > > (internal/bootstrap/node.js:739:3)
> > > > > > >     >>
> > > > > > >     >> npm ERR! code ELIFECYCLE
> > > > > > >     >>
> > > > > > >     >> npm ERR! errno 1
> > > > > > >     >>
> > > > > > >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > > > postinstall:
> > > > > > > `node
> > > > > > >     >> dependencies/download_dependencies.js`
> > > > > > >     >>
> > > > > > >     >> npm ERR! Exit status 1
> > > > > > >     >>
> > > > > > >     >> npm ERR!
> > > > > > >     >>
> > > > > > >     >> npm ERR! Failed at the
> > > > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > >     >> postinstall
> > > > > > >     >> script.
> > > > > > >     >>
> > > > > > >     >> npm ERR! This is probably not a problem with npm. There
> is
> > > > > likely
> > > > > > >     >> additional logging output above.
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >     >> npm ERR! A complete log of this run can be found in:
> > > > > > >     >>
> > > > > > >     >> npm ERR!
> > > > > > >     >>
> > > > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > > > > >     >>
> > > > > > >     >> macbookpro:~ carlosrovira$
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >     >>
> > > > > > >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
> > > > > harbs.lists@gmail.com
> > > > > > >)
> > > > > > >     >> escribió:
> > > > > > >     >>
> > > > > > >     >> > Try sudo.
> > > > > > >     >> >
> > > > > > >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
> > > > > > > carlosrovira@apache.org>
> > > > > > >     >> > wrote:
> > > > > > >     >> > >
> > > > > > >     >> > > Hi Om,
> > > > > > >     >> > >
> > > > > > >     >> > > I tried to install now with : npm i
> > > > > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > >     >> > > -g
> > > > > > >     >> > >
> > > > > > >     >> > > I get this:
> > > > > > >     >> > >
> > > > > > >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
> > > > > > >     >> > >
> > > > > > >     >> > > macbookpro:~ carlosrovira$ npm i
> > > > > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > >     >> > -g
> > > > > > >     >> > >
> > > > > > >     >> > > /usr/local/bin/asjsc ->
> > > > > > >     >> > >
> > > > > > >     >> >
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > > > > >     >> > >
> > > > > > >     >> > > /usr/local/bin/asnodec ->
> > > > > > >     >> > >
> > > > > > >     >> >
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > > > > >     >> > >
> > > > > > >     >> > > /usr/local/bin/mxmlc ->
> > > > > > >     >> > >
> > > > > > >     >> >
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > > > > >     >> > >
> > > > > > >     >> > > /usr/local/bin/asjscompc ->
> > > > > > >     >> > >
> > > > > > >     >> >
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > > > > >     >> > >
> > > > > > >     >> > > /usr/local/bin/compc ->
> > > > > > >     >> > >
> > > > > > >     >> >
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > > > > >     >> > >
> > > > > > >     >> > > /usr/local/bin/externc ->
> > > > > > >     >> > >
> > > > > > >     >> >
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > > > > >     >> > >
> > > > > > >     >> > >
> > > > > > >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall
> > > > > > >     >> > >
> > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > > > > >     >> > >
> > > > > > >     >> > >> node dependencies/download_dependencies.js
> > > > > > >     >> > >
> > > > > > >     >> > >
> > > > > > >     >> > > internal/modules/cjs/loader.js:582
> > > > > > >     >> > >
> > > > > > >     >> > >    throw err;
> > > > > > >     >> > >
> > > > > > >     >> > >    ^
> > > > > > >     >> > >
> > > > > > >     >> > >
> > > > > > >     >> > > Error: Cannot find module
> > > > > > >     >> > >
> > > > > > >     >> >
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > > > > >     >> > >
> > > > > > >     >> > >    at Function.Module._resolveFilename
> > > > > > >     >> > > (internal/modules/cjs/loader.js:580:15)
> > > > > > >     >> > >
> > > > > > >     >> > >    at Function.Module._load
> > > > > > > (internal/modules/cjs/loader.js:506:25)
> > > > > > >     >> > >
> > > > > > >     >> > >    at Function.Module.runMain
> > > > > > > (internal/modules/cjs/loader.js:741:12)
> > > > > > >     >> > >
> > > > > > >     >> > >    at startup (internal/bootstrap/node.js:285:19)
> > > > > > >     >> > >
> > > > > > >     >> > >    at bootstrapNodeJSCore
> > > > (internal/bootstrap/node.js:739:3)
> > > > > > >     >> > >
> > > > > > >     >> > > npm ERR! code ELIFECYCLE
> > > > > > >     >> > >
> > > > > > >     >> > > npm ERR! errno 1
> > > > > > >     >> > >
> > > > > > >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > postinstall:
> > > > > > > `node
> > > > > > >     >> > > dependencies/download_dependencies.js`
> > > > > > >     >> > >
> > > > > > >     >> > > npm ERR! Exit status 1
> > > > > > >     >> > >
> > > > > > >     >> > > npm ERR!
> > > > > > >     >> > >
> > > > > > >     >> > > npm ERR! Failed at the
> > > > > > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > > >     >> > postinstall
> > > > > > >     >> > > script.
> > > > > > >     >> > >
> > > > > > >     >> > > npm ERR! This is probably not a problem with npm.
> > There
> > > is
> > > > > > > likely
> > > > > > >     >> > > additional logging output above.
> > > > > > >     >> > >
> > > > > > >     >> > >
> > > > > > >     >> > > npm ERR! A complete log of this run can be found in:
> > > > > > >     >> > >
> > > > > > >     >> > > npm ERR!
> > > > > > >     >> > >
> > > > > > >
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> > > > > > >     >> > >
> > > > > > >     >> > > macbookpro:~ carlosrovira$
> > > > > > >     >> > >
> > > > > > >     >> > >
> > > > > > >     >> > >
> > > > > > >     >> > >
> > > > > > >     >> > >
> > > > > > >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash
> Muppirala
> > > (<
> > > > > > >     >> > > bigosmallm@gmail.com>) escribió:
> > > > > > >     >> > >
> > > > > > >     >> > >> Carlos,
> > > > > > >     >> > >>
> > > > > > >     >> > >> A nice way to test if your installation is working
> > > > > correctly
> > > > > > > is to
> > > > > > >     >> try
> > > > > > >     >> > it
> > > > > > >     >> > >> with the npm cli tool.
> > > > > > >     >> > >>
> > > > > > >     >> > >> You can install the cli using the command:
> > > > > > >     >> > >>
> > > > > > >     >> > >> npm i @apache-royale/cli -g
> > > > > > >     >> > >>
> > > > > > >     >> > >> Basically install the royale package, then install
> > the
> > > > cli
> > > > > > > package.
> > > > > > >     >> And
> > > > > > >     >> > >> follow the instructions here:
> > > > > > >     >> > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=NLSR77WKoTfgvpogUsNhz1gD%2BnLDQws8kdlgMOHNvTk%3D&amp;reserved=0
> > > > > > >     >> > >>
> > > > > > >     >> > >> Thanks,
> > > > > > >     >> > >> Om
> > > > > > >     >> > >>
> > > > > > >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
> > > > > > >     >> carlosrovira@apache.org>
> > > > > > >     >> > >> wrote:
> > > > > > >     >> > >>
> > > > > > >     >> > >>> Hi Om,
> > > > > > >     >> > >>>
> > > > > > >     >> > >>> since I don't know too much about NPM, I want to
> > know
> > > > some
> > > > > > few
> > > > > > >     >> things
> > > > > > >     >> > >> about
> > > > > > >     >> > >>> the Royale NPM version. Just uninstalled old
> version
> > > > > > > successfully.
> > > > > > >     >> > >>>
> > > > > > >     >> > >>> Now, I'm on Mac. if I install the new one, how
> this
> > > > > affects
> > > > > > my
> > > > > > >     >> > >> environment?
> > > > > > >     >> > >>> I suppose that my installation of repos to build
> > from
> > > > > source
> > > > > > > code is
> > > > > > >     >> > >>> independent, and NPM installs mxmlc in Terminal
> > > (command
> > > > > > line
> > > > > > >     >> level).
> > > > > > >     >> > >>>
> > > > > > >     >> > >>> Then, some easy way to give a quick test that all
> is
> > > > > working
> > > > > > > ok? I
> > > > > > >     >> > >> suppose
> > > > > > >     >> > >>> that I must go to some example project like Tour
> de
> > > > Jewel
> > > > > > and
> > > > > > > try to
> > > > > > >     >> > >>> compile in terminal with mxmlc right? Can you
> > provide
> > > a
> > > > > > > command
> > > > > > >     >> line to
> > > > > > >     >> > >> use
> > > > > > >     >> > >>> for test for example that particular case?
> > > > > > >     >> > >>>
> > > > > > >     >> > >>> Thanks!
> > > > > > >     >> > >>>
> > > > > > >     >> > >>>
> > > > > > >     >> > >>>
> > > > > > >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash
> > Muppirala
> > > > (<
> > > > > > >     >> > >>> bigosmallm@gmail.com>) escribió:
> > > > > > >     >> > >>>
> > > > > > >     >> > >>>> Hi folks,
> > > > > > >     >> > >>>>
> > > > > > >     >> > >>>> Can you please test the beta release and report
> any
> > > > > errors
> > > > > > > you are
> > > > > > >     >> > >>> seeing?
> > > > > > >     >> > >>>>
> > > > > > >     >> > >>>> You can test it with these commands:
> > > > > > >     >> > >>>>
> > > > > > >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in
> > > case
> > > > > you
> > > > > > > already
> > > > > > >     >> > have
> > > > > > >     >> > >>> it
> > > > > > >     >> > >>>> installed)
> > > > > > >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0
> -g
> > > > > > >     >> > >>>>
> > > > > > >     >> > >>>> Thanks,
> > > > > > >     >> > >>>> Om
> > > > > > >     >> > >>>>
> > > > > > >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash
> Muppirala
> > <
> > > > > > >     >> > >> bigosmallm@gmail.com
> > > > > > >     >> > >>>>
> > > > > > >     >> > >>>> wrote:
> > > > > > >     >> > >>>>
> > > > > > >     >> > >>>>> Just a heads up, I will be doing some test
> > publishes
> > > > of
> > > > > > the
> > > > > > > royale
> > > > > > >     >> > >> npm
> > > > > > >     >> > >>>>> package.  I will be using the version number:
> > > > > 0.9.6.beta.1
> > > > > > >     >> > >>> (0.9.6.beta.2,
> > > > > > >     >> > >>>>> etc if needed)
> > > > > > >     >> > >>>>>
> > > > > > >     >> > >>>>> These fixes are related to these tickets:
> > > > > > >     >> > >>>>>
> > > > > > >     >> > >>>>>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=Vo3iFII%2Frmk249ORPB97uYKVtAS6T7LrBenGY3hQjQY%3D&amp;reserved=0
> > > > > > >     >> > >>>>>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=%2Bob3ukpJGMR2HSlKZprxGI3cYL646VV%2B024eTsq3HdM%3D&amp;reserved=0
> > > > > > >     >> > >>>>>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=GkFnt42ucQZFj06TXYDUjsNya6vrhQhMrgxzOeEBqzc%3D&amp;reserved=0
> > > > > > >     >> > >>>>>
> > > > > > >     >> > >>>>> Thanks,
> > > > > > >     >> > >>>>> Om
> > > > > > >     >> > >>>>>
> > > > > > >     >> > >>>>
> > > > > > >     >> > >>>
> > > > > > >     >> > >>>
> > > > > > >     >> > >>> --
> > > > > > >     >> > >>> Carlos Rovira
> > > > > > >     >> > >>>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > > > >     >> > >>>
> > > > > > >     >> > >>
> > > > > > >     >> > >
> > > > > > >     >> > >
> > > > > > >     >> > > --
> > > > > > >     >> > > Carlos Rovira
> > > > > > >     >> > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > > > >     >> >
> > > > > > >     >> >
> > > > > > >     >>
> > > > > > >     >> --
> > > > > > >     >> Carlos Rovira
> > > > > > >     >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > > > >     >>
> > > > > > >     >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Re: Testing the npm install error fixes

Posted by Carlos Rovira <ca...@apache.org>.
Hi Om,

this is just a path you asked me for "dependencies.js" file, not the
command line. The command line is already in the error log above this
thread. There's something like this:

macbookpro:~ carlosrovira$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g

best

C.


El lun., 9 sept. 2019 a las 17:43, OmPrakash Muppirala (<om...@gmail.com>)
escribió:

> Huh?  Did you use the - g switch?  Your path indicates that you probably
> did not..
>
> On Mon, Sep 9, 2019, 7:10 AM Carlos Rovira <ca...@apache.org>
> wrote:
>
> > Hi Om,
> >
> > the path is: "*<path-to-royale_asjs>/npm/js-swf/dependencies/*"
> >
> > HTH
> > Carlos
> >
> > El vie., 6 sept. 2019 a las 19:41, OmPrakash Muppirala (<
> > bigosmallm@gmail.com>) escribió:
> >
> > > Thanks Carlos, this is useful!
> > >
> > > Can you send the path for the dependencies.js file you have shown here?
> > >
> > > Regards,
> > > Om
> > >
> > > On Fri, Sep 6, 2019 at 12:42 AM Carlos Rovira <carlosrovira@apache.org
> >
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I'll try to see Om links as I have time. In the mean while here is
> the
> > > log:
> > > >
> > > > https://paste.apache.org/p/pomzf
> > > >
> > > > and dependencies.js
> > > >
> > > > https://paste.apache.org/p/6nu70
> > > >
> > > >
> > > > HTH
> > > >
> > > > Carlos
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El jue., 5 sept. 2019 a las 18:32, OmPrakash Muppirala (<
> > > > bigosmallm@apache.org>) escribió:
> > > >
> > > > > If you have to use sudo that usually means that your node/npm is
> not
> > > > setup
> > > > > correctly.
> > > > >
> > > > > Some more info here :
> > > > >
> > > >
> > >
> >
> https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92
> > > > >
> > > > > https://stackoverflow.com/a/18296178
> > > > >
> > > > > That said, this issue is not related to sudo or otherwise.
> > > > >
> > > > > But it is a good idea to not sudo anything related to npm.  For
> > > instance,
> > > > > our installation scripts downloads and does a bunch of things
> during
> > > the
> > > > > installation.  Imagine allowing a random script sudo access to your
> > > > > computer.
> > > > >
> > > > > Thanks,
> > > > > Om
> > > > >
> > > > > On Thu, Sep 5, 2019, 9:00 AM Alex Harui <ah...@adobe.com.invalid>
> > > > wrote:
> > > > >
> > > > > > Pretty sure if you use -g on MacOS you need sudo.  However, I
> don't
> > > > think
> > > > > > that's the issue here.
> > > > > > I think Carlos should post his:
> > > > > > - dependencies/download_dependencies.js`
> > > > > > -
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > > > >
> > > > > > HTH,
> > > > > > -Alex
> > > > > >
> > > > > > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bigosmallm@gmail.com
> >
> > > > wrote:
> > > > > >
> > > > > >     And oh, what is your node version?
> > > > > >
> > > > > >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
> > > > > bigosmallm@gmail.com
> > > > > > >
> > > > > >     wrote:
> > > > > >
> > > > > >     > We should never have to install any npm package with sudo.
> > > > > >     >
> > > > > >     > I will dig deeper into this and see what I can do.
> > > > > >     >
> > > > > >     > Thanks for testing!
> > > > > >     >
> > > > > >     > Om
> > > > > >     >
> > > > > >     >
> > > > > >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
> > > > > carlosrovira@apache.org>
> > > > > >     > wrote:
> > > > > >     >
> > > > > >     >> Thanks Harbs,
> > > > > >     >> that seems not to fix the problem:
> > > > > >     >>
> > > > > >     >> macbookpro:~ carlosrovira$ sudo npm i
> > > > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > > > > >     >>
> > > > > >     >> Password:
> > > > > >     >>
> > > > > >     >> /usr/local/bin/asjsc ->
> > > > > >     >>
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > > > >     >>
> > > > > >     >> /usr/local/bin/asjscompc ->
> > > > > >     >>
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > > > >     >>
> > > > > >     >> /usr/local/bin/mxmlc ->
> > > > > >     >>
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > > > >     >>
> > > > > >     >> /usr/local/bin/asnodec ->
> > > > > >     >>
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > > > >     >>
> > > > > >     >> /usr/local/bin/compc ->
> > > > > >     >>
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > > > >     >>
> > > > > >     >> /usr/local/bin/externc ->
> > > > > >     >>
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > > > >     >>
> > > > > >     >>
> > > > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > > > > >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > > > >     >>
> > > > > >     >> > node dependencies/download_dependencies.js
> > > > > >     >>
> > > > > >     >>
> > > > > >     >> internal/modules/cjs/loader.js:582
> > > > > >     >>
> > > > > >     >>     throw err;
> > > > > >     >>
> > > > > >     >>     ^
> > > > > >     >>
> > > > > >     >>
> > > > > >     >> Error: Cannot find module
> > > > > >     >>
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > > > >     >>
> > > > > >     >>     at Function.Module._resolveFilename
> > > > > >     >> (internal/modules/cjs/loader.js:580:15)
> > > > > >     >>
> > > > > >     >>     at Function.Module._load
> > > > > (internal/modules/cjs/loader.js:506:25)
> > > > > >     >>
> > > > > >     >>     at Function.Module.runMain
> > > > > > (internal/modules/cjs/loader.js:741:12)
> > > > > >     >>
> > > > > >     >>     at startup (internal/bootstrap/node.js:285:19)
> > > > > >     >>
> > > > > >     >>     at bootstrapNodeJSCore
> > (internal/bootstrap/node.js:739:3)
> > > > > >     >>
> > > > > >     >> npm ERR! code ELIFECYCLE
> > > > > >     >>
> > > > > >     >> npm ERR! errno 1
> > > > > >     >>
> > > > > >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > > postinstall:
> > > > > > `node
> > > > > >     >> dependencies/download_dependencies.js`
> > > > > >     >>
> > > > > >     >> npm ERR! Exit status 1
> > > > > >     >>
> > > > > >     >> npm ERR!
> > > > > >     >>
> > > > > >     >> npm ERR! Failed at the
> > > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > >     >> postinstall
> > > > > >     >> script.
> > > > > >     >>
> > > > > >     >> npm ERR! This is probably not a problem with npm. There is
> > > > likely
> > > > > >     >> additional logging output above.
> > > > > >     >>
> > > > > >     >>
> > > > > >     >> npm ERR! A complete log of this run can be found in:
> > > > > >     >>
> > > > > >     >> npm ERR!
> > > > > >     >>
> > > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > > > >     >>
> > > > > >     >> macbookpro:~ carlosrovira$
> > > > > >     >>
> > > > > >     >>
> > > > > >     >>
> > > > > >     >>
> > > > > >     >>
> > > > > >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
> > > > harbs.lists@gmail.com
> > > > > >)
> > > > > >     >> escribió:
> > > > > >     >>
> > > > > >     >> > Try sudo.
> > > > > >     >> >
> > > > > >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
> > > > > > carlosrovira@apache.org>
> > > > > >     >> > wrote:
> > > > > >     >> > >
> > > > > >     >> > > Hi Om,
> > > > > >     >> > >
> > > > > >     >> > > I tried to install now with : npm i
> > > > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > >     >> > > -g
> > > > > >     >> > >
> > > > > >     >> > > I get this:
> > > > > >     >> > >
> > > > > >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
> > > > > >     >> > >
> > > > > >     >> > > macbookpro:~ carlosrovira$ npm i
> > > > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > >     >> > -g
> > > > > >     >> > >
> > > > > >     >> > > /usr/local/bin/asjsc ->
> > > > > >     >> > >
> > > > > >     >> >
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > > > >     >> > >
> > > > > >     >> > > /usr/local/bin/asnodec ->
> > > > > >     >> > >
> > > > > >     >> >
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > > > >     >> > >
> > > > > >     >> > > /usr/local/bin/mxmlc ->
> > > > > >     >> > >
> > > > > >     >> >
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > > > >     >> > >
> > > > > >     >> > > /usr/local/bin/asjscompc ->
> > > > > >     >> > >
> > > > > >     >> >
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > > > >     >> > >
> > > > > >     >> > > /usr/local/bin/compc ->
> > > > > >     >> > >
> > > > > >     >> >
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > > > >     >> > >
> > > > > >     >> > > /usr/local/bin/externc ->
> > > > > >     >> > >
> > > > > >     >> >
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > > > >     >> > >
> > > > > >     >> > >
> > > > > >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > > > > >     >> > >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > > > >     >> > >
> > > > > >     >> > >> node dependencies/download_dependencies.js
> > > > > >     >> > >
> > > > > >     >> > >
> > > > > >     >> > > internal/modules/cjs/loader.js:582
> > > > > >     >> > >
> > > > > >     >> > >    throw err;
> > > > > >     >> > >
> > > > > >     >> > >    ^
> > > > > >     >> > >
> > > > > >     >> > >
> > > > > >     >> > > Error: Cannot find module
> > > > > >     >> > >
> > > > > >     >> >
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > > > >     >> > >
> > > > > >     >> > >    at Function.Module._resolveFilename
> > > > > >     >> > > (internal/modules/cjs/loader.js:580:15)
> > > > > >     >> > >
> > > > > >     >> > >    at Function.Module._load
> > > > > > (internal/modules/cjs/loader.js:506:25)
> > > > > >     >> > >
> > > > > >     >> > >    at Function.Module.runMain
> > > > > > (internal/modules/cjs/loader.js:741:12)
> > > > > >     >> > >
> > > > > >     >> > >    at startup (internal/bootstrap/node.js:285:19)
> > > > > >     >> > >
> > > > > >     >> > >    at bootstrapNodeJSCore
> > > (internal/bootstrap/node.js:739:3)
> > > > > >     >> > >
> > > > > >     >> > > npm ERR! code ELIFECYCLE
> > > > > >     >> > >
> > > > > >     >> > > npm ERR! errno 1
> > > > > >     >> > >
> > > > > >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > postinstall:
> > > > > > `node
> > > > > >     >> > > dependencies/download_dependencies.js`
> > > > > >     >> > >
> > > > > >     >> > > npm ERR! Exit status 1
> > > > > >     >> > >
> > > > > >     >> > > npm ERR!
> > > > > >     >> > >
> > > > > >     >> > > npm ERR! Failed at the
> > > > > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > > >     >> > postinstall
> > > > > >     >> > > script.
> > > > > >     >> > >
> > > > > >     >> > > npm ERR! This is probably not a problem with npm.
> There
> > is
> > > > > > likely
> > > > > >     >> > > additional logging output above.
> > > > > >     >> > >
> > > > > >     >> > >
> > > > > >     >> > > npm ERR! A complete log of this run can be found in:
> > > > > >     >> > >
> > > > > >     >> > > npm ERR!
> > > > > >     >> > >
> > > > > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> > > > > >     >> > >
> > > > > >     >> > > macbookpro:~ carlosrovira$
> > > > > >     >> > >
> > > > > >     >> > >
> > > > > >     >> > >
> > > > > >     >> > >
> > > > > >     >> > >
> > > > > >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala
> > (<
> > > > > >     >> > > bigosmallm@gmail.com>) escribió:
> > > > > >     >> > >
> > > > > >     >> > >> Carlos,
> > > > > >     >> > >>
> > > > > >     >> > >> A nice way to test if your installation is working
> > > > correctly
> > > > > > is to
> > > > > >     >> try
> > > > > >     >> > it
> > > > > >     >> > >> with the npm cli tool.
> > > > > >     >> > >>
> > > > > >     >> > >> You can install the cli using the command:
> > > > > >     >> > >>
> > > > > >     >> > >> npm i @apache-royale/cli -g
> > > > > >     >> > >>
> > > > > >     >> > >> Basically install the royale package, then install
> the
> > > cli
> > > > > > package.
> > > > > >     >> And
> > > > > >     >> > >> follow the instructions here:
> > > > > >     >> > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=NLSR77WKoTfgvpogUsNhz1gD%2BnLDQws8kdlgMOHNvTk%3D&amp;reserved=0
> > > > > >     >> > >>
> > > > > >     >> > >> Thanks,
> > > > > >     >> > >> Om
> > > > > >     >> > >>
> > > > > >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
> > > > > >     >> carlosrovira@apache.org>
> > > > > >     >> > >> wrote:
> > > > > >     >> > >>
> > > > > >     >> > >>> Hi Om,
> > > > > >     >> > >>>
> > > > > >     >> > >>> since I don't know too much about NPM, I want to
> know
> > > some
> > > > > few
> > > > > >     >> things
> > > > > >     >> > >> about
> > > > > >     >> > >>> the Royale NPM version. Just uninstalled old version
> > > > > > successfully.
> > > > > >     >> > >>>
> > > > > >     >> > >>> Now, I'm on Mac. if I install the new one, how this
> > > > affects
> > > > > my
> > > > > >     >> > >> environment?
> > > > > >     >> > >>> I suppose that my installation of repos to build
> from
> > > > source
> > > > > > code is
> > > > > >     >> > >>> independent, and NPM installs mxmlc in Terminal
> > (command
> > > > > line
> > > > > >     >> level).
> > > > > >     >> > >>>
> > > > > >     >> > >>> Then, some easy way to give a quick test that all is
> > > > working
> > > > > > ok? I
> > > > > >     >> > >> suppose
> > > > > >     >> > >>> that I must go to some example project like Tour de
> > > Jewel
> > > > > and
> > > > > > try to
> > > > > >     >> > >>> compile in terminal with mxmlc right? Can you
> provide
> > a
> > > > > > command
> > > > > >     >> line to
> > > > > >     >> > >> use
> > > > > >     >> > >>> for test for example that particular case?
> > > > > >     >> > >>>
> > > > > >     >> > >>> Thanks!
> > > > > >     >> > >>>
> > > > > >     >> > >>>
> > > > > >     >> > >>>
> > > > > >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash
> Muppirala
> > > (<
> > > > > >     >> > >>> bigosmallm@gmail.com>) escribió:
> > > > > >     >> > >>>
> > > > > >     >> > >>>> Hi folks,
> > > > > >     >> > >>>>
> > > > > >     >> > >>>> Can you please test the beta release and report any
> > > > errors
> > > > > > you are
> > > > > >     >> > >>> seeing?
> > > > > >     >> > >>>>
> > > > > >     >> > >>>> You can test it with these commands:
> > > > > >     >> > >>>>
> > > > > >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in
> > case
> > > > you
> > > > > > already
> > > > > >     >> > have
> > > > > >     >> > >>> it
> > > > > >     >> > >>>> installed)
> > > > > >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > > > > >     >> > >>>>
> > > > > >     >> > >>>> Thanks,
> > > > > >     >> > >>>> Om
> > > > > >     >> > >>>>
> > > > > >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala
> <
> > > > > >     >> > >> bigosmallm@gmail.com
> > > > > >     >> > >>>>
> > > > > >     >> > >>>> wrote:
> > > > > >     >> > >>>>
> > > > > >     >> > >>>>> Just a heads up, I will be doing some test
> publishes
> > > of
> > > > > the
> > > > > > royale
> > > > > >     >> > >> npm
> > > > > >     >> > >>>>> package.  I will be using the version number:
> > > > 0.9.6.beta.1
> > > > > >     >> > >>> (0.9.6.beta.2,
> > > > > >     >> > >>>>> etc if needed)
> > > > > >     >> > >>>>>
> > > > > >     >> > >>>>> These fixes are related to these tickets:
> > > > > >     >> > >>>>>
> > > > > >     >> > >>>>>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=Vo3iFII%2Frmk249ORPB97uYKVtAS6T7LrBenGY3hQjQY%3D&amp;reserved=0
> > > > > >     >> > >>>>>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=%2Bob3ukpJGMR2HSlKZprxGI3cYL646VV%2B024eTsq3HdM%3D&amp;reserved=0
> > > > > >     >> > >>>>>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=GkFnt42ucQZFj06TXYDUjsNya6vrhQhMrgxzOeEBqzc%3D&amp;reserved=0
> > > > > >     >> > >>>>>
> > > > > >     >> > >>>>> Thanks,
> > > > > >     >> > >>>>> Om
> > > > > >     >> > >>>>>
> > > > > >     >> > >>>>
> > > > > >     >> > >>>
> > > > > >     >> > >>>
> > > > > >     >> > >>> --
> > > > > >     >> > >>> Carlos Rovira
> > > > > >     >> > >>>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > > >     >> > >>>
> > > > > >     >> > >>
> > > > > >     >> > >
> > > > > >     >> > >
> > > > > >     >> > > --
> > > > > >     >> > > Carlos Rovira
> > > > > >     >> > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > > >     >> >
> > > > > >     >> >
> > > > > >     >>
> > > > > >     >> --
> > > > > >     >> Carlos Rovira
> > > > > >     >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > > >     >>
> > > > > >     >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <om...@gmail.com>.
Huh?  Did you use the - g switch?  Your path indicates that you probably
did not..

On Mon, Sep 9, 2019, 7:10 AM Carlos Rovira <ca...@apache.org> wrote:

> Hi Om,
>
> the path is: "*<path-to-royale_asjs>/npm/js-swf/dependencies/*"
>
> HTH
> Carlos
>
> El vie., 6 sept. 2019 a las 19:41, OmPrakash Muppirala (<
> bigosmallm@gmail.com>) escribió:
>
> > Thanks Carlos, this is useful!
> >
> > Can you send the path for the dependencies.js file you have shown here?
> >
> > Regards,
> > Om
> >
> > On Fri, Sep 6, 2019 at 12:42 AM Carlos Rovira <ca...@apache.org>
> > wrote:
> >
> > > Hi,
> > >
> > > I'll try to see Om links as I have time. In the mean while here is the
> > log:
> > >
> > > https://paste.apache.org/p/pomzf
> > >
> > > and dependencies.js
> > >
> > > https://paste.apache.org/p/6nu70
> > >
> > >
> > > HTH
> > >
> > > Carlos
> > >
> > >
> > >
> > >
> > >
> > >
> > > El jue., 5 sept. 2019 a las 18:32, OmPrakash Muppirala (<
> > > bigosmallm@apache.org>) escribió:
> > >
> > > > If you have to use sudo that usually means that your node/npm is not
> > > setup
> > > > correctly.
> > > >
> > > > Some more info here :
> > > >
> > >
> >
> https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92
> > > >
> > > > https://stackoverflow.com/a/18296178
> > > >
> > > > That said, this issue is not related to sudo or otherwise.
> > > >
> > > > But it is a good idea to not sudo anything related to npm.  For
> > instance,
> > > > our installation scripts downloads and does a bunch of things during
> > the
> > > > installation.  Imagine allowing a random script sudo access to your
> > > > computer.
> > > >
> > > > Thanks,
> > > > Om
> > > >
> > > > On Thu, Sep 5, 2019, 9:00 AM Alex Harui <ah...@adobe.com.invalid>
> > > wrote:
> > > >
> > > > > Pretty sure if you use -g on MacOS you need sudo.  However, I don't
> > > think
> > > > > that's the issue here.
> > > > > I think Carlos should post his:
> > > > > - dependencies/download_dependencies.js`
> > > > > - /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > > >
> > > > > HTH,
> > > > > -Alex
> > > > >
> > > > > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bi...@gmail.com>
> > > wrote:
> > > > >
> > > > >     And oh, what is your node version?
> > > > >
> > > > >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
> > > > bigosmallm@gmail.com
> > > > > >
> > > > >     wrote:
> > > > >
> > > > >     > We should never have to install any npm package with sudo.
> > > > >     >
> > > > >     > I will dig deeper into this and see what I can do.
> > > > >     >
> > > > >     > Thanks for testing!
> > > > >     >
> > > > >     > Om
> > > > >     >
> > > > >     >
> > > > >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
> > > > carlosrovira@apache.org>
> > > > >     > wrote:
> > > > >     >
> > > > >     >> Thanks Harbs,
> > > > >     >> that seems not to fix the problem:
> > > > >     >>
> > > > >     >> macbookpro:~ carlosrovira$ sudo npm i
> > > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > > > >     >>
> > > > >     >> Password:
> > > > >     >>
> > > > >     >> /usr/local/bin/asjsc ->
> > > > >     >>
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > > >     >>
> > > > >     >> /usr/local/bin/asjscompc ->
> > > > >     >>
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > > >     >>
> > > > >     >> /usr/local/bin/mxmlc ->
> > > > >     >>
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > > >     >>
> > > > >     >> /usr/local/bin/asnodec ->
> > > > >     >>
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > > >     >>
> > > > >     >> /usr/local/bin/compc ->
> > > > >     >>
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > > >     >>
> > > > >     >> /usr/local/bin/externc ->
> > > > >     >>
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > > >     >>
> > > > >     >>
> > > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > > > >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > > >     >>
> > > > >     >> > node dependencies/download_dependencies.js
> > > > >     >>
> > > > >     >>
> > > > >     >> internal/modules/cjs/loader.js:582
> > > > >     >>
> > > > >     >>     throw err;
> > > > >     >>
> > > > >     >>     ^
> > > > >     >>
> > > > >     >>
> > > > >     >> Error: Cannot find module
> > > > >     >>
> > > > >     >>
> > > > >
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > > >     >>
> > > > >     >>     at Function.Module._resolveFilename
> > > > >     >> (internal/modules/cjs/loader.js:580:15)
> > > > >     >>
> > > > >     >>     at Function.Module._load
> > > > (internal/modules/cjs/loader.js:506:25)
> > > > >     >>
> > > > >     >>     at Function.Module.runMain
> > > > > (internal/modules/cjs/loader.js:741:12)
> > > > >     >>
> > > > >     >>     at startup (internal/bootstrap/node.js:285:19)
> > > > >     >>
> > > > >     >>     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)
> > > > >     >>
> > > > >     >> npm ERR! code ELIFECYCLE
> > > > >     >>
> > > > >     >> npm ERR! errno 1
> > > > >     >>
> > > > >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > postinstall:
> > > > > `node
> > > > >     >> dependencies/download_dependencies.js`
> > > > >     >>
> > > > >     >> npm ERR! Exit status 1
> > > > >     >>
> > > > >     >> npm ERR!
> > > > >     >>
> > > > >     >> npm ERR! Failed at the
> > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > >     >> postinstall
> > > > >     >> script.
> > > > >     >>
> > > > >     >> npm ERR! This is probably not a problem with npm. There is
> > > likely
> > > > >     >> additional logging output above.
> > > > >     >>
> > > > >     >>
> > > > >     >> npm ERR! A complete log of this run can be found in:
> > > > >     >>
> > > > >     >> npm ERR!
> > > > >     >>
> > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > > >     >>
> > > > >     >> macbookpro:~ carlosrovira$
> > > > >     >>
> > > > >     >>
> > > > >     >>
> > > > >     >>
> > > > >     >>
> > > > >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
> > > harbs.lists@gmail.com
> > > > >)
> > > > >     >> escribió:
> > > > >     >>
> > > > >     >> > Try sudo.
> > > > >     >> >
> > > > >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
> > > > > carlosrovira@apache.org>
> > > > >     >> > wrote:
> > > > >     >> > >
> > > > >     >> > > Hi Om,
> > > > >     >> > >
> > > > >     >> > > I tried to install now with : npm i
> > > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > >     >> > > -g
> > > > >     >> > >
> > > > >     >> > > I get this:
> > > > >     >> > >
> > > > >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
> > > > >     >> > >
> > > > >     >> > > macbookpro:~ carlosrovira$ npm i
> > > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0
> > > > >     >> > -g
> > > > >     >> > >
> > > > >     >> > > /usr/local/bin/asjsc ->
> > > > >     >> > >
> > > > >     >> >
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > > >     >> > >
> > > > >     >> > > /usr/local/bin/asnodec ->
> > > > >     >> > >
> > > > >     >> >
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > > >     >> > >
> > > > >     >> > > /usr/local/bin/mxmlc ->
> > > > >     >> > >
> > > > >     >> >
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > > >     >> > >
> > > > >     >> > > /usr/local/bin/asjscompc ->
> > > > >     >> > >
> > > > >     >> >
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > > >     >> > >
> > > > >     >> > > /usr/local/bin/compc ->
> > > > >     >> > >
> > > > >     >> >
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > > >     >> > >
> > > > >     >> > > /usr/local/bin/externc ->
> > > > >     >> > >
> > > > >     >> >
> > > > >     >>
> > > > >
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > > >     >> > >
> > > > >     >> > >
> > > > >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > > > >     >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > > >     >> > >
> > > > >     >> > >> node dependencies/download_dependencies.js
> > > > >     >> > >
> > > > >     >> > >
> > > > >     >> > > internal/modules/cjs/loader.js:582
> > > > >     >> > >
> > > > >     >> > >    throw err;
> > > > >     >> > >
> > > > >     >> > >    ^
> > > > >     >> > >
> > > > >     >> > >
> > > > >     >> > > Error: Cannot find module
> > > > >     >> > >
> > > > >     >> >
> > > > >     >>
> > > > >
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > > >     >> > >
> > > > >     >> > >    at Function.Module._resolveFilename
> > > > >     >> > > (internal/modules/cjs/loader.js:580:15)
> > > > >     >> > >
> > > > >     >> > >    at Function.Module._load
> > > > > (internal/modules/cjs/loader.js:506:25)
> > > > >     >> > >
> > > > >     >> > >    at Function.Module.runMain
> > > > > (internal/modules/cjs/loader.js:741:12)
> > > > >     >> > >
> > > > >     >> > >    at startup (internal/bootstrap/node.js:285:19)
> > > > >     >> > >
> > > > >     >> > >    at bootstrapNodeJSCore
> > (internal/bootstrap/node.js:739:3)
> > > > >     >> > >
> > > > >     >> > > npm ERR! code ELIFECYCLE
> > > > >     >> > >
> > > > >     >> > > npm ERR! errno 1
> > > > >     >> > >
> > > > >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > > > postinstall:
> > > > > `node
> > > > >     >> > > dependencies/download_dependencies.js`
> > > > >     >> > >
> > > > >     >> > > npm ERR! Exit status 1
> > > > >     >> > >
> > > > >     >> > > npm ERR!
> > > > >     >> > >
> > > > >     >> > > npm ERR! Failed at the
> > > > @apache-royale/royale-js-swf@0.9.6-beta0
> > > > >     >> > postinstall
> > > > >     >> > > script.
> > > > >     >> > >
> > > > >     >> > > npm ERR! This is probably not a problem with npm. There
> is
> > > > > likely
> > > > >     >> > > additional logging output above.
> > > > >     >> > >
> > > > >     >> > >
> > > > >     >> > > npm ERR! A complete log of this run can be found in:
> > > > >     >> > >
> > > > >     >> > > npm ERR!
> > > > >     >> > >
> > > > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> > > > >     >> > >
> > > > >     >> > > macbookpro:~ carlosrovira$
> > > > >     >> > >
> > > > >     >> > >
> > > > >     >> > >
> > > > >     >> > >
> > > > >     >> > >
> > > > >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala
> (<
> > > > >     >> > > bigosmallm@gmail.com>) escribió:
> > > > >     >> > >
> > > > >     >> > >> Carlos,
> > > > >     >> > >>
> > > > >     >> > >> A nice way to test if your installation is working
> > > correctly
> > > > > is to
> > > > >     >> try
> > > > >     >> > it
> > > > >     >> > >> with the npm cli tool.
> > > > >     >> > >>
> > > > >     >> > >> You can install the cli using the command:
> > > > >     >> > >>
> > > > >     >> > >> npm i @apache-royale/cli -g
> > > > >     >> > >>
> > > > >     >> > >> Basically install the royale package, then install the
> > cli
> > > > > package.
> > > > >     >> And
> > > > >     >> > >> follow the instructions here:
> > > > >     >> > >>
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=NLSR77WKoTfgvpogUsNhz1gD%2BnLDQws8kdlgMOHNvTk%3D&amp;reserved=0
> > > > >     >> > >>
> > > > >     >> > >> Thanks,
> > > > >     >> > >> Om
> > > > >     >> > >>
> > > > >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
> > > > >     >> carlosrovira@apache.org>
> > > > >     >> > >> wrote:
> > > > >     >> > >>
> > > > >     >> > >>> Hi Om,
> > > > >     >> > >>>
> > > > >     >> > >>> since I don't know too much about NPM, I want to know
> > some
> > > > few
> > > > >     >> things
> > > > >     >> > >> about
> > > > >     >> > >>> the Royale NPM version. Just uninstalled old version
> > > > > successfully.
> > > > >     >> > >>>
> > > > >     >> > >>> Now, I'm on Mac. if I install the new one, how this
> > > affects
> > > > my
> > > > >     >> > >> environment?
> > > > >     >> > >>> I suppose that my installation of repos to build from
> > > source
> > > > > code is
> > > > >     >> > >>> independent, and NPM installs mxmlc in Terminal
> (command
> > > > line
> > > > >     >> level).
> > > > >     >> > >>>
> > > > >     >> > >>> Then, some easy way to give a quick test that all is
> > > working
> > > > > ok? I
> > > > >     >> > >> suppose
> > > > >     >> > >>> that I must go to some example project like Tour de
> > Jewel
> > > > and
> > > > > try to
> > > > >     >> > >>> compile in terminal with mxmlc right? Can you provide
> a
> > > > > command
> > > > >     >> line to
> > > > >     >> > >> use
> > > > >     >> > >>> for test for example that particular case?
> > > > >     >> > >>>
> > > > >     >> > >>> Thanks!
> > > > >     >> > >>>
> > > > >     >> > >>>
> > > > >     >> > >>>
> > > > >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala
> > (<
> > > > >     >> > >>> bigosmallm@gmail.com>) escribió:
> > > > >     >> > >>>
> > > > >     >> > >>>> Hi folks,
> > > > >     >> > >>>>
> > > > >     >> > >>>> Can you please test the beta release and report any
> > > errors
> > > > > you are
> > > > >     >> > >>> seeing?
> > > > >     >> > >>>>
> > > > >     >> > >>>> You can test it with these commands:
> > > > >     >> > >>>>
> > > > >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in
> case
> > > you
> > > > > already
> > > > >     >> > have
> > > > >     >> > >>> it
> > > > >     >> > >>>> installed)
> > > > >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > > > >     >> > >>>>
> > > > >     >> > >>>> Thanks,
> > > > >     >> > >>>> Om
> > > > >     >> > >>>>
> > > > >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
> > > > >     >> > >> bigosmallm@gmail.com
> > > > >     >> > >>>>
> > > > >     >> > >>>> wrote:
> > > > >     >> > >>>>
> > > > >     >> > >>>>> Just a heads up, I will be doing some test publishes
> > of
> > > > the
> > > > > royale
> > > > >     >> > >> npm
> > > > >     >> > >>>>> package.  I will be using the version number:
> > > 0.9.6.beta.1
> > > > >     >> > >>> (0.9.6.beta.2,
> > > > >     >> > >>>>> etc if needed)
> > > > >     >> > >>>>>
> > > > >     >> > >>>>> These fixes are related to these tickets:
> > > > >     >> > >>>>>
> > > > >     >> > >>>>>
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=Vo3iFII%2Frmk249ORPB97uYKVtAS6T7LrBenGY3hQjQY%3D&amp;reserved=0
> > > > >     >> > >>>>>
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=%2Bob3ukpJGMR2HSlKZprxGI3cYL646VV%2B024eTsq3HdM%3D&amp;reserved=0
> > > > >     >> > >>>>>
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=GkFnt42ucQZFj06TXYDUjsNya6vrhQhMrgxzOeEBqzc%3D&amp;reserved=0
> > > > >     >> > >>>>>
> > > > >     >> > >>>>> Thanks,
> > > > >     >> > >>>>> Om
> > > > >     >> > >>>>>
> > > > >     >> > >>>>
> > > > >     >> > >>>
> > > > >     >> > >>>
> > > > >     >> > >>> --
> > > > >     >> > >>> Carlos Rovira
> > > > >     >> > >>>
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > >     >> > >>>
> > > > >     >> > >>
> > > > >     >> > >
> > > > >     >> > >
> > > > >     >> > > --
> > > > >     >> > > Carlos Rovira
> > > > >     >> > >
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > >     >> >
> > > > >     >> >
> > > > >     >>
> > > > >     >> --
> > > > >     >> Carlos Rovira
> > > > >     >>
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > > >     >>
> > > > >     >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Re: Testing the npm install error fixes

Posted by Carlos Rovira <ca...@apache.org>.
Hi Om,

the path is: "*<path-to-royale_asjs>/npm/js-swf/dependencies/*"

HTH
Carlos

El vie., 6 sept. 2019 a las 19:41, OmPrakash Muppirala (<
bigosmallm@gmail.com>) escribió:

> Thanks Carlos, this is useful!
>
> Can you send the path for the dependencies.js file you have shown here?
>
> Regards,
> Om
>
> On Fri, Sep 6, 2019 at 12:42 AM Carlos Rovira <ca...@apache.org>
> wrote:
>
> > Hi,
> >
> > I'll try to see Om links as I have time. In the mean while here is the
> log:
> >
> > https://paste.apache.org/p/pomzf
> >
> > and dependencies.js
> >
> > https://paste.apache.org/p/6nu70
> >
> >
> > HTH
> >
> > Carlos
> >
> >
> >
> >
> >
> >
> > El jue., 5 sept. 2019 a las 18:32, OmPrakash Muppirala (<
> > bigosmallm@apache.org>) escribió:
> >
> > > If you have to use sudo that usually means that your node/npm is not
> > setup
> > > correctly.
> > >
> > > Some more info here :
> > >
> >
> https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92
> > >
> > > https://stackoverflow.com/a/18296178
> > >
> > > That said, this issue is not related to sudo or otherwise.
> > >
> > > But it is a good idea to not sudo anything related to npm.  For
> instance,
> > > our installation scripts downloads and does a bunch of things during
> the
> > > installation.  Imagine allowing a random script sudo access to your
> > > computer.
> > >
> > > Thanks,
> > > Om
> > >
> > > On Thu, Sep 5, 2019, 9:00 AM Alex Harui <ah...@adobe.com.invalid>
> > wrote:
> > >
> > > > Pretty sure if you use -g on MacOS you need sudo.  However, I don't
> > think
> > > > that's the issue here.
> > > > I think Carlos should post his:
> > > > - dependencies/download_dependencies.js`
> > > > - /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > >
> > > > HTH,
> > > > -Alex
> > > >
> > > > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bi...@gmail.com>
> > wrote:
> > > >
> > > >     And oh, what is your node version?
> > > >
> > > >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
> > > bigosmallm@gmail.com
> > > > >
> > > >     wrote:
> > > >
> > > >     > We should never have to install any npm package with sudo.
> > > >     >
> > > >     > I will dig deeper into this and see what I can do.
> > > >     >
> > > >     > Thanks for testing!
> > > >     >
> > > >     > Om
> > > >     >
> > > >     >
> > > >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
> > > carlosrovira@apache.org>
> > > >     > wrote:
> > > >     >
> > > >     >> Thanks Harbs,
> > > >     >> that seems not to fix the problem:
> > > >     >>
> > > >     >> macbookpro:~ carlosrovira$ sudo npm i
> > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > > >     >>
> > > >     >> Password:
> > > >     >>
> > > >     >> /usr/local/bin/asjsc ->
> > > >     >>
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > >     >>
> > > >     >> /usr/local/bin/asjscompc ->
> > > >     >>
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > >     >>
> > > >     >> /usr/local/bin/mxmlc ->
> > > >     >>
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > >     >>
> > > >     >> /usr/local/bin/asnodec ->
> > > >     >>
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > >     >>
> > > >     >> /usr/local/bin/compc ->
> > > >     >>
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > >     >>
> > > >     >> /usr/local/bin/externc ->
> > > >     >>
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > >     >>
> > > >     >>
> > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > > >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > >     >>
> > > >     >> > node dependencies/download_dependencies.js
> > > >     >>
> > > >     >>
> > > >     >> internal/modules/cjs/loader.js:582
> > > >     >>
> > > >     >>     throw err;
> > > >     >>
> > > >     >>     ^
> > > >     >>
> > > >     >>
> > > >     >> Error: Cannot find module
> > > >     >>
> > > >     >>
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > >     >>
> > > >     >>     at Function.Module._resolveFilename
> > > >     >> (internal/modules/cjs/loader.js:580:15)
> > > >     >>
> > > >     >>     at Function.Module._load
> > > (internal/modules/cjs/loader.js:506:25)
> > > >     >>
> > > >     >>     at Function.Module.runMain
> > > > (internal/modules/cjs/loader.js:741:12)
> > > >     >>
> > > >     >>     at startup (internal/bootstrap/node.js:285:19)
> > > >     >>
> > > >     >>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> > > >     >>
> > > >     >> npm ERR! code ELIFECYCLE
> > > >     >>
> > > >     >> npm ERR! errno 1
> > > >     >>
> > > >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall:
> > > > `node
> > > >     >> dependencies/download_dependencies.js`
> > > >     >>
> > > >     >> npm ERR! Exit status 1
> > > >     >>
> > > >     >> npm ERR!
> > > >     >>
> > > >     >> npm ERR! Failed at the
> @apache-royale/royale-js-swf@0.9.6-beta0
> > > >     >> postinstall
> > > >     >> script.
> > > >     >>
> > > >     >> npm ERR! This is probably not a problem with npm. There is
> > likely
> > > >     >> additional logging output above.
> > > >     >>
> > > >     >>
> > > >     >> npm ERR! A complete log of this run can be found in:
> > > >     >>
> > > >     >> npm ERR!
> > > >     >>
> > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > > >     >>
> > > >     >> macbookpro:~ carlosrovira$
> > > >     >>
> > > >     >>
> > > >     >>
> > > >     >>
> > > >     >>
> > > >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
> > harbs.lists@gmail.com
> > > >)
> > > >     >> escribió:
> > > >     >>
> > > >     >> > Try sudo.
> > > >     >> >
> > > >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
> > > > carlosrovira@apache.org>
> > > >     >> > wrote:
> > > >     >> > >
> > > >     >> > > Hi Om,
> > > >     >> > >
> > > >     >> > > I tried to install now with : npm i
> > > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
> > > >     >> > > -g
> > > >     >> > >
> > > >     >> > > I get this:
> > > >     >> > >
> > > >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
> > > >     >> > >
> > > >     >> > > macbookpro:~ carlosrovira$ npm i
> > > >     >> @apache-royale/royale-js-swf@0.9.6-beta0
> > > >     >> > -g
> > > >     >> > >
> > > >     >> > > /usr/local/bin/asjsc ->
> > > >     >> > >
> > > >     >> >
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > > >     >> > >
> > > >     >> > > /usr/local/bin/asnodec ->
> > > >     >> > >
> > > >     >> >
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > > >     >> > >
> > > >     >> > > /usr/local/bin/mxmlc ->
> > > >     >> > >
> > > >     >> >
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > > >     >> > >
> > > >     >> > > /usr/local/bin/asjscompc ->
> > > >     >> > >
> > > >     >> >
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > > >     >> > >
> > > >     >> > > /usr/local/bin/compc ->
> > > >     >> > >
> > > >     >> >
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > > >     >> > >
> > > >     >> > > /usr/local/bin/externc ->
> > > >     >> > >
> > > >     >> >
> > > >     >>
> > > >
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > > >     >> > >
> > > >     >> > >
> > > >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > > >     >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > > >     >> > >
> > > >     >> > >> node dependencies/download_dependencies.js
> > > >     >> > >
> > > >     >> > >
> > > >     >> > > internal/modules/cjs/loader.js:582
> > > >     >> > >
> > > >     >> > >    throw err;
> > > >     >> > >
> > > >     >> > >    ^
> > > >     >> > >
> > > >     >> > >
> > > >     >> > > Error: Cannot find module
> > > >     >> > >
> > > >     >> >
> > > >     >>
> > > >
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > > >     >> > >
> > > >     >> > >    at Function.Module._resolveFilename
> > > >     >> > > (internal/modules/cjs/loader.js:580:15)
> > > >     >> > >
> > > >     >> > >    at Function.Module._load
> > > > (internal/modules/cjs/loader.js:506:25)
> > > >     >> > >
> > > >     >> > >    at Function.Module.runMain
> > > > (internal/modules/cjs/loader.js:741:12)
> > > >     >> > >
> > > >     >> > >    at startup (internal/bootstrap/node.js:285:19)
> > > >     >> > >
> > > >     >> > >    at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)
> > > >     >> > >
> > > >     >> > > npm ERR! code ELIFECYCLE
> > > >     >> > >
> > > >     >> > > npm ERR! errno 1
> > > >     >> > >
> > > >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > > postinstall:
> > > > `node
> > > >     >> > > dependencies/download_dependencies.js`
> > > >     >> > >
> > > >     >> > > npm ERR! Exit status 1
> > > >     >> > >
> > > >     >> > > npm ERR!
> > > >     >> > >
> > > >     >> > > npm ERR! Failed at the
> > > @apache-royale/royale-js-swf@0.9.6-beta0
> > > >     >> > postinstall
> > > >     >> > > script.
> > > >     >> > >
> > > >     >> > > npm ERR! This is probably not a problem with npm. There is
> > > > likely
> > > >     >> > > additional logging output above.
> > > >     >> > >
> > > >     >> > >
> > > >     >> > > npm ERR! A complete log of this run can be found in:
> > > >     >> > >
> > > >     >> > > npm ERR!
> > > >     >> > >
> > > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> > > >     >> > >
> > > >     >> > > macbookpro:~ carlosrovira$
> > > >     >> > >
> > > >     >> > >
> > > >     >> > >
> > > >     >> > >
> > > >     >> > >
> > > >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
> > > >     >> > > bigosmallm@gmail.com>) escribió:
> > > >     >> > >
> > > >     >> > >> Carlos,
> > > >     >> > >>
> > > >     >> > >> A nice way to test if your installation is working
> > correctly
> > > > is to
> > > >     >> try
> > > >     >> > it
> > > >     >> > >> with the npm cli tool.
> > > >     >> > >>
> > > >     >> > >> You can install the cli using the command:
> > > >     >> > >>
> > > >     >> > >> npm i @apache-royale/cli -g
> > > >     >> > >>
> > > >     >> > >> Basically install the royale package, then install the
> cli
> > > > package.
> > > >     >> And
> > > >     >> > >> follow the instructions here:
> > > >     >> > >>
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=NLSR77WKoTfgvpogUsNhz1gD%2BnLDQws8kdlgMOHNvTk%3D&amp;reserved=0
> > > >     >> > >>
> > > >     >> > >> Thanks,
> > > >     >> > >> Om
> > > >     >> > >>
> > > >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
> > > >     >> carlosrovira@apache.org>
> > > >     >> > >> wrote:
> > > >     >> > >>
> > > >     >> > >>> Hi Om,
> > > >     >> > >>>
> > > >     >> > >>> since I don't know too much about NPM, I want to know
> some
> > > few
> > > >     >> things
> > > >     >> > >> about
> > > >     >> > >>> the Royale NPM version. Just uninstalled old version
> > > > successfully.
> > > >     >> > >>>
> > > >     >> > >>> Now, I'm on Mac. if I install the new one, how this
> > affects
> > > my
> > > >     >> > >> environment?
> > > >     >> > >>> I suppose that my installation of repos to build from
> > source
> > > > code is
> > > >     >> > >>> independent, and NPM installs mxmlc in Terminal (command
> > > line
> > > >     >> level).
> > > >     >> > >>>
> > > >     >> > >>> Then, some easy way to give a quick test that all is
> > working
> > > > ok? I
> > > >     >> > >> suppose
> > > >     >> > >>> that I must go to some example project like Tour de
> Jewel
> > > and
> > > > try to
> > > >     >> > >>> compile in terminal with mxmlc right? Can you provide a
> > > > command
> > > >     >> line to
> > > >     >> > >> use
> > > >     >> > >>> for test for example that particular case?
> > > >     >> > >>>
> > > >     >> > >>> Thanks!
> > > >     >> > >>>
> > > >     >> > >>>
> > > >     >> > >>>
> > > >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala
> (<
> > > >     >> > >>> bigosmallm@gmail.com>) escribió:
> > > >     >> > >>>
> > > >     >> > >>>> Hi folks,
> > > >     >> > >>>>
> > > >     >> > >>>> Can you please test the beta release and report any
> > errors
> > > > you are
> > > >     >> > >>> seeing?
> > > >     >> > >>>>
> > > >     >> > >>>> You can test it with these commands:
> > > >     >> > >>>>
> > > >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case
> > you
> > > > already
> > > >     >> > have
> > > >     >> > >>> it
> > > >     >> > >>>> installed)
> > > >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > > >     >> > >>>>
> > > >     >> > >>>> Thanks,
> > > >     >> > >>>> Om
> > > >     >> > >>>>
> > > >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
> > > >     >> > >> bigosmallm@gmail.com
> > > >     >> > >>>>
> > > >     >> > >>>> wrote:
> > > >     >> > >>>>
> > > >     >> > >>>>> Just a heads up, I will be doing some test publishes
> of
> > > the
> > > > royale
> > > >     >> > >> npm
> > > >     >> > >>>>> package.  I will be using the version number:
> > 0.9.6.beta.1
> > > >     >> > >>> (0.9.6.beta.2,
> > > >     >> > >>>>> etc if needed)
> > > >     >> > >>>>>
> > > >     >> > >>>>> These fixes are related to these tickets:
> > > >     >> > >>>>>
> > > >     >> > >>>>>
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=Vo3iFII%2Frmk249ORPB97uYKVtAS6T7LrBenGY3hQjQY%3D&amp;reserved=0
> > > >     >> > >>>>>
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=%2Bob3ukpJGMR2HSlKZprxGI3cYL646VV%2B024eTsq3HdM%3D&amp;reserved=0
> > > >     >> > >>>>>
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=GkFnt42ucQZFj06TXYDUjsNya6vrhQhMrgxzOeEBqzc%3D&amp;reserved=0
> > > >     >> > >>>>>
> > > >     >> > >>>>> Thanks,
> > > >     >> > >>>>> Om
> > > >     >> > >>>>>
> > > >     >> > >>>>
> > > >     >> > >>>
> > > >     >> > >>>
> > > >     >> > >>> --
> > > >     >> > >>> Carlos Rovira
> > > >     >> > >>>
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > >     >> > >>>
> > > >     >> > >>
> > > >     >> > >
> > > >     >> > >
> > > >     >> > > --
> > > >     >> > > Carlos Rovira
> > > >     >> > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > >     >> >
> > > >     >> >
> > > >     >>
> > > >     >> --
> > > >     >> Carlos Rovira
> > > >     >>
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > > >     >>
> > > >     >
> > > >
> > > >
> > > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Thanks Carlos, this is useful!

Can you send the path for the dependencies.js file you have shown here?

Regards,
Om

On Fri, Sep 6, 2019 at 12:42 AM Carlos Rovira <ca...@apache.org>
wrote:

> Hi,
>
> I'll try to see Om links as I have time. In the mean while here is the log:
>
> https://paste.apache.org/p/pomzf
>
> and dependencies.js
>
> https://paste.apache.org/p/6nu70
>
>
> HTH
>
> Carlos
>
>
>
>
>
>
> El jue., 5 sept. 2019 a las 18:32, OmPrakash Muppirala (<
> bigosmallm@apache.org>) escribió:
>
> > If you have to use sudo that usually means that your node/npm is not
> setup
> > correctly.
> >
> > Some more info here :
> >
> https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92
> >
> > https://stackoverflow.com/a/18296178
> >
> > That said, this issue is not related to sudo or otherwise.
> >
> > But it is a good idea to not sudo anything related to npm.  For instance,
> > our installation scripts downloads and does a bunch of things during the
> > installation.  Imagine allowing a random script sudo access to your
> > computer.
> >
> > Thanks,
> > Om
> >
> > On Thu, Sep 5, 2019, 9:00 AM Alex Harui <ah...@adobe.com.invalid>
> wrote:
> >
> > > Pretty sure if you use -g on MacOS you need sudo.  However, I don't
> think
> > > that's the issue here.
> > > I think Carlos should post his:
> > > - dependencies/download_dependencies.js`
> > > - /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > >
> > > HTH,
> > > -Alex
> > >
> > > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bi...@gmail.com>
> wrote:
> > >
> > >     And oh, what is your node version?
> > >
> > >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
> > bigosmallm@gmail.com
> > > >
> > >     wrote:
> > >
> > >     > We should never have to install any npm package with sudo.
> > >     >
> > >     > I will dig deeper into this and see what I can do.
> > >     >
> > >     > Thanks for testing!
> > >     >
> > >     > Om
> > >     >
> > >     >
> > >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
> > carlosrovira@apache.org>
> > >     > wrote:
> > >     >
> > >     >> Thanks Harbs,
> > >     >> that seems not to fix the problem:
> > >     >>
> > >     >> macbookpro:~ carlosrovira$ sudo npm i
> > >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > >     >>
> > >     >> Password:
> > >     >>
> > >     >> /usr/local/bin/asjsc ->
> > >     >>
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > >     >>
> > >     >> /usr/local/bin/asjscompc ->
> > >     >>
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > >     >>
> > >     >> /usr/local/bin/mxmlc ->
> > >     >>
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > >     >>
> > >     >> /usr/local/bin/asnodec ->
> > >     >>
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > >     >>
> > >     >> /usr/local/bin/compc ->
> > >     >>
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > >     >>
> > >     >> /usr/local/bin/externc ->
> > >     >>
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > >     >>
> > >     >>
> > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > >     >>
> > >     >> > node dependencies/download_dependencies.js
> > >     >>
> > >     >>
> > >     >> internal/modules/cjs/loader.js:582
> > >     >>
> > >     >>     throw err;
> > >     >>
> > >     >>     ^
> > >     >>
> > >     >>
> > >     >> Error: Cannot find module
> > >     >>
> > >     >>
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > >     >>
> > >     >>     at Function.Module._resolveFilename
> > >     >> (internal/modules/cjs/loader.js:580:15)
> > >     >>
> > >     >>     at Function.Module._load
> > (internal/modules/cjs/loader.js:506:25)
> > >     >>
> > >     >>     at Function.Module.runMain
> > > (internal/modules/cjs/loader.js:741:12)
> > >     >>
> > >     >>     at startup (internal/bootstrap/node.js:285:19)
> > >     >>
> > >     >>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> > >     >>
> > >     >> npm ERR! code ELIFECYCLE
> > >     >>
> > >     >> npm ERR! errno 1
> > >     >>
> > >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall:
> > > `node
> > >     >> dependencies/download_dependencies.js`
> > >     >>
> > >     >> npm ERR! Exit status 1
> > >     >>
> > >     >> npm ERR!
> > >     >>
> > >     >> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
> > >     >> postinstall
> > >     >> script.
> > >     >>
> > >     >> npm ERR! This is probably not a problem with npm. There is
> likely
> > >     >> additional logging output above.
> > >     >>
> > >     >>
> > >     >> npm ERR! A complete log of this run can be found in:
> > >     >>
> > >     >> npm ERR!
> > >     >>
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> > >     >>
> > >     >> macbookpro:~ carlosrovira$
> > >     >>
> > >     >>
> > >     >>
> > >     >>
> > >     >>
> > >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
> harbs.lists@gmail.com
> > >)
> > >     >> escribió:
> > >     >>
> > >     >> > Try sudo.
> > >     >> >
> > >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
> > > carlosrovira@apache.org>
> > >     >> > wrote:
> > >     >> > >
> > >     >> > > Hi Om,
> > >     >> > >
> > >     >> > > I tried to install now with : npm i
> > >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
> > >     >> > > -g
> > >     >> > >
> > >     >> > > I get this:
> > >     >> > >
> > >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
> > >     >> > >
> > >     >> > > macbookpro:~ carlosrovira$ npm i
> > >     >> @apache-royale/royale-js-swf@0.9.6-beta0
> > >     >> > -g
> > >     >> > >
> > >     >> > > /usr/local/bin/asjsc ->
> > >     >> > >
> > >     >> >
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > >     >> > >
> > >     >> > > /usr/local/bin/asnodec ->
> > >     >> > >
> > >     >> >
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > >     >> > >
> > >     >> > > /usr/local/bin/mxmlc ->
> > >     >> > >
> > >     >> >
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > >     >> > >
> > >     >> > > /usr/local/bin/asjscompc ->
> > >     >> > >
> > >     >> >
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > >     >> > >
> > >     >> > > /usr/local/bin/compc ->
> > >     >> > >
> > >     >> >
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > >     >> > >
> > >     >> > > /usr/local/bin/externc ->
> > >     >> > >
> > >     >> >
> > >     >>
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > >     >> > >
> > >     >> > >
> > >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > >     >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > >     >> > >
> > >     >> > >> node dependencies/download_dependencies.js
> > >     >> > >
> > >     >> > >
> > >     >> > > internal/modules/cjs/loader.js:582
> > >     >> > >
> > >     >> > >    throw err;
> > >     >> > >
> > >     >> > >    ^
> > >     >> > >
> > >     >> > >
> > >     >> > > Error: Cannot find module
> > >     >> > >
> > >     >> >
> > >     >>
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > >     >> > >
> > >     >> > >    at Function.Module._resolveFilename
> > >     >> > > (internal/modules/cjs/loader.js:580:15)
> > >     >> > >
> > >     >> > >    at Function.Module._load
> > > (internal/modules/cjs/loader.js:506:25)
> > >     >> > >
> > >     >> > >    at Function.Module.runMain
> > > (internal/modules/cjs/loader.js:741:12)
> > >     >> > >
> > >     >> > >    at startup (internal/bootstrap/node.js:285:19)
> > >     >> > >
> > >     >> > >    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> > >     >> > >
> > >     >> > > npm ERR! code ELIFECYCLE
> > >     >> > >
> > >     >> > > npm ERR! errno 1
> > >     >> > >
> > >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> > postinstall:
> > > `node
> > >     >> > > dependencies/download_dependencies.js`
> > >     >> > >
> > >     >> > > npm ERR! Exit status 1
> > >     >> > >
> > >     >> > > npm ERR!
> > >     >> > >
> > >     >> > > npm ERR! Failed at the
> > @apache-royale/royale-js-swf@0.9.6-beta0
> > >     >> > postinstall
> > >     >> > > script.
> > >     >> > >
> > >     >> > > npm ERR! This is probably not a problem with npm. There is
> > > likely
> > >     >> > > additional logging output above.
> > >     >> > >
> > >     >> > >
> > >     >> > > npm ERR! A complete log of this run can be found in:
> > >     >> > >
> > >     >> > > npm ERR!
> > >     >> > >
> > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> > >     >> > >
> > >     >> > > macbookpro:~ carlosrovira$
> > >     >> > >
> > >     >> > >
> > >     >> > >
> > >     >> > >
> > >     >> > >
> > >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
> > >     >> > > bigosmallm@gmail.com>) escribió:
> > >     >> > >
> > >     >> > >> Carlos,
> > >     >> > >>
> > >     >> > >> A nice way to test if your installation is working
> correctly
> > > is to
> > >     >> try
> > >     >> > it
> > >     >> > >> with the npm cli tool.
> > >     >> > >>
> > >     >> > >> You can install the cli using the command:
> > >     >> > >>
> > >     >> > >> npm i @apache-royale/cli -g
> > >     >> > >>
> > >     >> > >> Basically install the royale package, then install the cli
> > > package.
> > >     >> And
> > >     >> > >> follow the instructions here:
> > >     >> > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=NLSR77WKoTfgvpogUsNhz1gD%2BnLDQws8kdlgMOHNvTk%3D&amp;reserved=0
> > >     >> > >>
> > >     >> > >> Thanks,
> > >     >> > >> Om
> > >     >> > >>
> > >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
> > >     >> carlosrovira@apache.org>
> > >     >> > >> wrote:
> > >     >> > >>
> > >     >> > >>> Hi Om,
> > >     >> > >>>
> > >     >> > >>> since I don't know too much about NPM, I want to know some
> > few
> > >     >> things
> > >     >> > >> about
> > >     >> > >>> the Royale NPM version. Just uninstalled old version
> > > successfully.
> > >     >> > >>>
> > >     >> > >>> Now, I'm on Mac. if I install the new one, how this
> affects
> > my
> > >     >> > >> environment?
> > >     >> > >>> I suppose that my installation of repos to build from
> source
> > > code is
> > >     >> > >>> independent, and NPM installs mxmlc in Terminal (command
> > line
> > >     >> level).
> > >     >> > >>>
> > >     >> > >>> Then, some easy way to give a quick test that all is
> working
> > > ok? I
> > >     >> > >> suppose
> > >     >> > >>> that I must go to some example project like Tour de Jewel
> > and
> > > try to
> > >     >> > >>> compile in terminal with mxmlc right? Can you provide a
> > > command
> > >     >> line to
> > >     >> > >> use
> > >     >> > >>> for test for example that particular case?
> > >     >> > >>>
> > >     >> > >>> Thanks!
> > >     >> > >>>
> > >     >> > >>>
> > >     >> > >>>
> > >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
> > >     >> > >>> bigosmallm@gmail.com>) escribió:
> > >     >> > >>>
> > >     >> > >>>> Hi folks,
> > >     >> > >>>>
> > >     >> > >>>> Can you please test the beta release and report any
> errors
> > > you are
> > >     >> > >>> seeing?
> > >     >> > >>>>
> > >     >> > >>>> You can test it with these commands:
> > >     >> > >>>>
> > >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case
> you
> > > already
> > >     >> > have
> > >     >> > >>> it
> > >     >> > >>>> installed)
> > >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > >     >> > >>>>
> > >     >> > >>>> Thanks,
> > >     >> > >>>> Om
> > >     >> > >>>>
> > >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
> > >     >> > >> bigosmallm@gmail.com
> > >     >> > >>>>
> > >     >> > >>>> wrote:
> > >     >> > >>>>
> > >     >> > >>>>> Just a heads up, I will be doing some test publishes of
> > the
> > > royale
> > >     >> > >> npm
> > >     >> > >>>>> package.  I will be using the version number:
> 0.9.6.beta.1
> > >     >> > >>> (0.9.6.beta.2,
> > >     >> > >>>>> etc if needed)
> > >     >> > >>>>>
> > >     >> > >>>>> These fixes are related to these tickets:
> > >     >> > >>>>>
> > >     >> > >>>>>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=Vo3iFII%2Frmk249ORPB97uYKVtAS6T7LrBenGY3hQjQY%3D&amp;reserved=0
> > >     >> > >>>>>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=%2Bob3ukpJGMR2HSlKZprxGI3cYL646VV%2B024eTsq3HdM%3D&amp;reserved=0
> > >     >> > >>>>>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=GkFnt42ucQZFj06TXYDUjsNya6vrhQhMrgxzOeEBqzc%3D&amp;reserved=0
> > >     >> > >>>>>
> > >     >> > >>>>> Thanks,
> > >     >> > >>>>> Om
> > >     >> > >>>>>
> > >     >> > >>>>
> > >     >> > >>>
> > >     >> > >>>
> > >     >> > >>> --
> > >     >> > >>> Carlos Rovira
> > >     >> > >>>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > >     >> > >>>
> > >     >> > >>
> > >     >> > >
> > >     >> > >
> > >     >> > > --
> > >     >> > > Carlos Rovira
> > >     >> > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > >     >> >
> > >     >> >
> > >     >>
> > >     >> --
> > >     >> Carlos Rovira
> > >     >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> > >     >>
> > >     >
> > >
> > >
> > >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Re: Testing the npm install error fixes

Posted by Carlos Rovira <ca...@apache.org>.
Hi,

I'll try to see Om links as I have time. In the mean while here is the log:

https://paste.apache.org/p/pomzf

and dependencies.js

https://paste.apache.org/p/6nu70


HTH

Carlos






El jue., 5 sept. 2019 a las 18:32, OmPrakash Muppirala (<
bigosmallm@apache.org>) escribió:

> If you have to use sudo that usually means that your node/npm is not setup
> correctly.
>
> Some more info here :
> https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92
>
> https://stackoverflow.com/a/18296178
>
> That said, this issue is not related to sudo or otherwise.
>
> But it is a good idea to not sudo anything related to npm.  For instance,
> our installation scripts downloads and does a bunch of things during the
> installation.  Imagine allowing a random script sudo access to your
> computer.
>
> Thanks,
> Om
>
> On Thu, Sep 5, 2019, 9:00 AM Alex Harui <ah...@adobe.com.invalid> wrote:
>
> > Pretty sure if you use -g on MacOS you need sudo.  However, I don't think
> > that's the issue here.
> > I think Carlos should post his:
> > - dependencies/download_dependencies.js`
> > - /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> >
> > HTH,
> > -Alex
> >
> > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
> >
> >     And oh, what is your node version?
> >
> >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
> bigosmallm@gmail.com
> > >
> >     wrote:
> >
> >     > We should never have to install any npm package with sudo.
> >     >
> >     > I will dig deeper into this and see what I can do.
> >     >
> >     > Thanks for testing!
> >     >
> >     > Om
> >     >
> >     >
> >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
> carlosrovira@apache.org>
> >     > wrote:
> >     >
> >     >> Thanks Harbs,
> >     >> that seems not to fix the problem:
> >     >>
> >     >> macbookpro:~ carlosrovira$ sudo npm i
> >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
> >     >>
> >     >> Password:
> >     >>
> >     >> /usr/local/bin/asjsc ->
> >     >>
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> >     >>
> >     >> /usr/local/bin/asjscompc ->
> >     >>
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> >     >>
> >     >> /usr/local/bin/mxmlc ->
> >     >>
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> >     >>
> >     >> /usr/local/bin/asnodec ->
> >     >>
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> >     >>
> >     >> /usr/local/bin/compc ->
> >     >>
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> >     >>
> >     >> /usr/local/bin/externc ->
> >     >>
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> >     >>
> >     >>
> >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> >     >>
> >     >> > node dependencies/download_dependencies.js
> >     >>
> >     >>
> >     >> internal/modules/cjs/loader.js:582
> >     >>
> >     >>     throw err;
> >     >>
> >     >>     ^
> >     >>
> >     >>
> >     >> Error: Cannot find module
> >     >>
> >     >>
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> >     >>
> >     >>     at Function.Module._resolveFilename
> >     >> (internal/modules/cjs/loader.js:580:15)
> >     >>
> >     >>     at Function.Module._load
> (internal/modules/cjs/loader.js:506:25)
> >     >>
> >     >>     at Function.Module.runMain
> > (internal/modules/cjs/loader.js:741:12)
> >     >>
> >     >>     at startup (internal/bootstrap/node.js:285:19)
> >     >>
> >     >>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> >     >>
> >     >> npm ERR! code ELIFECYCLE
> >     >>
> >     >> npm ERR! errno 1
> >     >>
> >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall:
> > `node
> >     >> dependencies/download_dependencies.js`
> >     >>
> >     >> npm ERR! Exit status 1
> >     >>
> >     >> npm ERR!
> >     >>
> >     >> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
> >     >> postinstall
> >     >> script.
> >     >>
> >     >> npm ERR! This is probably not a problem with npm. There is likely
> >     >> additional logging output above.
> >     >>
> >     >>
> >     >> npm ERR! A complete log of this run can be found in:
> >     >>
> >     >> npm ERR!
> >     >> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
> >     >>
> >     >> macbookpro:~ carlosrovira$
> >     >>
> >     >>
> >     >>
> >     >>
> >     >>
> >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<harbs.lists@gmail.com
> >)
> >     >> escribió:
> >     >>
> >     >> > Try sudo.
> >     >> >
> >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
> > carlosrovira@apache.org>
> >     >> > wrote:
> >     >> > >
> >     >> > > Hi Om,
> >     >> > >
> >     >> > > I tried to install now with : npm i
> >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
> >     >> > > -g
> >     >> > >
> >     >> > > I get this:
> >     >> > >
> >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
> >     >> > >
> >     >> > > macbookpro:~ carlosrovira$ npm i
> >     >> @apache-royale/royale-js-swf@0.9.6-beta0
> >     >> > -g
> >     >> > >
> >     >> > > /usr/local/bin/asjsc ->
> >     >> > >
> >     >> >
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> >     >> > >
> >     >> > > /usr/local/bin/asnodec ->
> >     >> > >
> >     >> >
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> >     >> > >
> >     >> > > /usr/local/bin/mxmlc ->
> >     >> > >
> >     >> >
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> >     >> > >
> >     >> > > /usr/local/bin/asjscompc ->
> >     >> > >
> >     >> >
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> >     >> > >
> >     >> > > /usr/local/bin/compc ->
> >     >> > >
> >     >> >
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> >     >> > >
> >     >> > > /usr/local/bin/externc ->
> >     >> > >
> >     >> >
> >     >>
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> >     >> > >
> >     >> > >
> >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> >     >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> >     >> > >
> >     >> > >> node dependencies/download_dependencies.js
> >     >> > >
> >     >> > >
> >     >> > > internal/modules/cjs/loader.js:582
> >     >> > >
> >     >> > >    throw err;
> >     >> > >
> >     >> > >    ^
> >     >> > >
> >     >> > >
> >     >> > > Error: Cannot find module
> >     >> > >
> >     >> >
> >     >>
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> >     >> > >
> >     >> > >    at Function.Module._resolveFilename
> >     >> > > (internal/modules/cjs/loader.js:580:15)
> >     >> > >
> >     >> > >    at Function.Module._load
> > (internal/modules/cjs/loader.js:506:25)
> >     >> > >
> >     >> > >    at Function.Module.runMain
> > (internal/modules/cjs/loader.js:741:12)
> >     >> > >
> >     >> > >    at startup (internal/bootstrap/node.js:285:19)
> >     >> > >
> >     >> > >    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> >     >> > >
> >     >> > > npm ERR! code ELIFECYCLE
> >     >> > >
> >     >> > > npm ERR! errno 1
> >     >> > >
> >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall:
> > `node
> >     >> > > dependencies/download_dependencies.js`
> >     >> > >
> >     >> > > npm ERR! Exit status 1
> >     >> > >
> >     >> > > npm ERR!
> >     >> > >
> >     >> > > npm ERR! Failed at the
> @apache-royale/royale-js-swf@0.9.6-beta0
> >     >> > postinstall
> >     >> > > script.
> >     >> > >
> >     >> > > npm ERR! This is probably not a problem with npm. There is
> > likely
> >     >> > > additional logging output above.
> >     >> > >
> >     >> > >
> >     >> > > npm ERR! A complete log of this run can be found in:
> >     >> > >
> >     >> > > npm ERR!
> >     >> > >
> > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> >     >> > >
> >     >> > > macbookpro:~ carlosrovira$
> >     >> > >
> >     >> > >
> >     >> > >
> >     >> > >
> >     >> > >
> >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
> >     >> > > bigosmallm@gmail.com>) escribió:
> >     >> > >
> >     >> > >> Carlos,
> >     >> > >>
> >     >> > >> A nice way to test if your installation is working correctly
> > is to
> >     >> try
> >     >> > it
> >     >> > >> with the npm cli tool.
> >     >> > >>
> >     >> > >> You can install the cli using the command:
> >     >> > >>
> >     >> > >> npm i @apache-royale/cli -g
> >     >> > >>
> >     >> > >> Basically install the royale package, then install the cli
> > package.
> >     >> And
> >     >> > >> follow the instructions here:
> >     >> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=NLSR77WKoTfgvpogUsNhz1gD%2BnLDQws8kdlgMOHNvTk%3D&amp;reserved=0
> >     >> > >>
> >     >> > >> Thanks,
> >     >> > >> Om
> >     >> > >>
> >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
> >     >> carlosrovira@apache.org>
> >     >> > >> wrote:
> >     >> > >>
> >     >> > >>> Hi Om,
> >     >> > >>>
> >     >> > >>> since I don't know too much about NPM, I want to know some
> few
> >     >> things
> >     >> > >> about
> >     >> > >>> the Royale NPM version. Just uninstalled old version
> > successfully.
> >     >> > >>>
> >     >> > >>> Now, I'm on Mac. if I install the new one, how this affects
> my
> >     >> > >> environment?
> >     >> > >>> I suppose that my installation of repos to build from source
> > code is
> >     >> > >>> independent, and NPM installs mxmlc in Terminal (command
> line
> >     >> level).
> >     >> > >>>
> >     >> > >>> Then, some easy way to give a quick test that all is working
> > ok? I
> >     >> > >> suppose
> >     >> > >>> that I must go to some example project like Tour de Jewel
> and
> > try to
> >     >> > >>> compile in terminal with mxmlc right? Can you provide a
> > command
> >     >> line to
> >     >> > >> use
> >     >> > >>> for test for example that particular case?
> >     >> > >>>
> >     >> > >>> Thanks!
> >     >> > >>>
> >     >> > >>>
> >     >> > >>>
> >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
> >     >> > >>> bigosmallm@gmail.com>) escribió:
> >     >> > >>>
> >     >> > >>>> Hi folks,
> >     >> > >>>>
> >     >> > >>>> Can you please test the beta release and report any errors
> > you are
> >     >> > >>> seeing?
> >     >> > >>>>
> >     >> > >>>> You can test it with these commands:
> >     >> > >>>>
> >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case you
> > already
> >     >> > have
> >     >> > >>> it
> >     >> > >>>> installed)
> >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> >     >> > >>>>
> >     >> > >>>> Thanks,
> >     >> > >>>> Om
> >     >> > >>>>
> >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
> >     >> > >> bigosmallm@gmail.com
> >     >> > >>>>
> >     >> > >>>> wrote:
> >     >> > >>>>
> >     >> > >>>>> Just a heads up, I will be doing some test publishes of
> the
> > royale
> >     >> > >> npm
> >     >> > >>>>> package.  I will be using the version number: 0.9.6.beta.1
> >     >> > >>> (0.9.6.beta.2,
> >     >> > >>>>> etc if needed)
> >     >> > >>>>>
> >     >> > >>>>> These fixes are related to these tickets:
> >     >> > >>>>>
> >     >> > >>>>>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=Vo3iFII%2Frmk249ORPB97uYKVtAS6T7LrBenGY3hQjQY%3D&amp;reserved=0
> >     >> > >>>>>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=%2Bob3ukpJGMR2HSlKZprxGI3cYL646VV%2B024eTsq3HdM%3D&amp;reserved=0
> >     >> > >>>>>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=GkFnt42ucQZFj06TXYDUjsNya6vrhQhMrgxzOeEBqzc%3D&amp;reserved=0
> >     >> > >>>>>
> >     >> > >>>>> Thanks,
> >     >> > >>>>> Om
> >     >> > >>>>>
> >     >> > >>>>
> >     >> > >>>
> >     >> > >>>
> >     >> > >>> --
> >     >> > >>> Carlos Rovira
> >     >> > >>>
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> >     >> > >>>
> >     >> > >>
> >     >> > >
> >     >> > >
> >     >> > > --
> >     >> > > Carlos Rovira
> >     >> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> >     >> >
> >     >> >
> >     >>
> >     >> --
> >     >> Carlos Rovira
> >     >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
> >     >>
> >     >
> >
> >
> >
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Testing the npm install error fixes

Posted by Alex Harui <ah...@adobe.com.INVALID>.
OK, I've seen beta9 put the files in the right place on Mac and Win.  I didn't have time to do any further testing.

-Alex

On 9/11/19, 11:06 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:

    Om, how much testing did you do before committing?  I finally ran on Windows and no errors, but the AIR SDK did not get copied to where it should be.
    
    Thanks,
    -Alex
    
    On 9/11/19, 8:25 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
    
        On Tue, Sep 10, 2019, 11:25 PM Alex Harui <ah...@adobe.com.invalid> wrote:
        
        > Om, why did you change the path to download_dependencies.js in the js-swf
        > package.json?  Changing it back gets the script to run for me on Mac.
        
        
        Ah I guess I was trying to fix things locally and checked that in by
        mistake.  Good that you figured it out.
        
        
        I then discovered that the download script only downloads the Windows AIR
        > SDK so I'm currently trying to have it get the DMG for Mac before trying it
        > on Windows.
        >
        
        We use the same SDK for the Mac and fix the file endings etc.  It should be
        the same as downloading the DMG.
        
        I have tested that setup on my Mac as well.
        
        Although I dont have objections if you want to change that.
        
        Thanks,
        Om
        
        
        > Thanks,
        > -Alex
        >
        > On 9/10/19, 7:29 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
        >
        >     I think I got it working...
        >
        >     On 9/10/19, 5:18 PM, "OmPrakash Muppirala" <bi...@gmail.com>
        > wrote:
        >
        >         Damn I dint know about that.  I would be okay doing it manually
        > this time
        >         and fixing the scripts for next release
        >         Unless Alex, you want to power through it this time.
        >
        >         Om
        >
        >         On Tue, Sep 10, 2019 at 4:53 PM Alex Harui
        > <ah...@adobe.com.invalid> wrote:
        >
        >         > I was going to try to publish another test package, but the
        > npm/publish.js
        >         > script is not working for me.  Om, did you use it?  It appears
        > that npm has
        >         > removed the registry API and we are supposed to use an
        >         > npm-publish-programmatically module instead?
        >         >
        >         > I may play with that today, so if you see more notifications
        > about
        >         > publishing npm packages that's probably me.
        >         >
        >         > -Alex
        >         >
        >         > On 9/10/19, 10:17 AM, "Carlos Rovira" <ca...@apache.org>
        > wrote:
        >         >
        >         >     Hi,
        >         >
        >         >     I'm all for homebrew in Mac, when I have time and reinstall
        > it to avoid
        >         >     sudo, I'll do with homebrew for sure. I have all installed
        > that way.
        >         >
        >         >     El mar., 10 sept. 2019 a las 7:26, Alex Harui
        >         > (<ah...@adobe.com.invalid>)
        >         >     escribió:
        >         >
        >         >     > I tried to remove node and npm and re-install it without
        > sudo via
        >         > homebrew.
        >         >     >
        >         >     > I think I got the same results as Carlos.  FWIW, there is
        > no
        >         >     > @apache_royale folder in node_modules.
        >         >     >
        >         >     > ~$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
        >         >     > /usr/local/bin/asjscompc ->
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
        >         >     > /usr/local/bin/mxmlc ->
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
        >         >     > /usr/local/bin/asjsc ->
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
        >         >     > /usr/local/bin/compc ->
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
        >         >     > /usr/local/bin/asnodec ->
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
        >         >     > /usr/local/bin/externc ->
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
        >         >     >
        >         >     > > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
        >         >     > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
        >         >     > > node dependencies/download_dependencies.js
        >         >     >
        >         >     > internal/modules/cjs/loader.js:775
        >         >     >     throw err;
        >         >     >     ^
        >         >     >
        >         >     > Error: Cannot find module
        >         >     >
        >         >
        > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
        >         >     >     at Function.Module._resolveFilename
        >         >     > (internal/modules/cjs/loader.js:772:15)
        >         >     >     at Function.Module._load
        > (internal/modules/cjs/loader.js:677:27)
        >         >     >     at Function.Module.runMain
        >         > (internal/modules/cjs/loader.js:999:10)
        >         >     >     at internal/main/run_main_module.js:17:11 {
        >         >     >   code: 'MODULE_NOT_FOUND',
        >         >     >   requireStack: []
        >         >     > }
        >         >     > npm ERR! code ELIFECYCLE
        >         >     > npm ERR! errno 1
        >         >     > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
        > postinstall: `node
        >         >     > dependencies/download_dependencies.js`
        >         >     > npm ERR! Exit status 1
        >         >     > npm ERR!
        >         >     > npm ERR! Failed at the
        > @apache-royale/royale-js-swf@0.9.6-beta0
        >         >     > postinstall script.
        >         >     > npm ERR! This is probably not a problem with npm. There is
        > likely
        >         >     > additional logging output above.
        >         >     >
        >         >     > npm ERR! A complete log of this run can be found in:
        >         >     > npm ERR!
        >         >  /Users/aharui/.npm/_logs/2019-09-10T05_01_13_653Z-debug.log
        >         >     >
        >         >     >
        >         >     >
        >         >     > On 9/5/19, 9:32 AM, "OmPrakash Muppirala" <
        > bigosmallm@apache.org>
        >         > wrote:
        >         >     >
        >         >     >     If you have to use sudo that usually means that your
        > node/npm is
        >         > not
        >         >     > setup
        >         >     >     correctly.
        >         >     >
        >         >     >     Some more info here :
        >         >     >
        >         >     >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2F%40ExplosionPills%2Fdont-use-sudo-with-npm-still-66e609f5f92&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219688996299&amp;sdata=G68Od9kLraLwLgdffY2jMeSATbvOrp5sL4sQMkriV8E%3D&amp;reserved=0
        >         >     >
        >         >     >
        >         >     >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fa%2F18296178&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219688996299&amp;sdata=Cck7kvSrurO%2BFVOwnTeGnA%2BT0cToufC0lVEbGngCRIs%3D&amp;reserved=0
        >         >     >
        >         >     >     That said, this issue is not related to sudo or
        > otherwise.
        >         >     >
        >         >     >     But it is a good idea to not sudo anything related to
        > npm.  For
        >         >     > instance,
        >         >     >     our installation scripts downloads and does a bunch of
        > things
        >         > during
        >         >     > the
        >         >     >     installation.  Imagine allowing a random script sudo
        > access to
        >         > your
        >         >     >     computer.
        >         >     >
        >         >     >     Thanks,
        >         >     >     Om
        >         >     >
        >         >     >     On Thu, Sep 5, 2019, 9:00 AM Alex Harui
        > <aharui@adobe.com.invalid
        >         > >
        >         >     > wrote:
        >         >     >
        >         >     >     > Pretty sure if you use -g on MacOS you need sudo.
        > However, I
        >         > don't
        >         >     > think
        >         >     >     > that's the issue here.
        >         >     >     > I think Carlos should post his:
        >         >     >     > - dependencies/download_dependencies.js`
        >         >     >     > -
        >         > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
        >         >     >     >
        >         >     >     > HTH,
        >         >     >     > -Alex
        >         >     >     >
        >         >     >     > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <
        >         > bigosmallm@gmail.com>
        >         >     > wrote:
        >         >     >     >
        >         >     >     >     And oh, what is your node version?
        >         >     >     >
        >         >     >     >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala
        > <
        >         >     > bigosmallm@gmail.com
        >         >     >     > >
        >         >     >     >     wrote:
        >         >     >     >
        >         >     >     >     > We should never have to install any npm
        > package with
        >         > sudo.
        >         >     >     >     >
        >         >     >     >     > I will dig deeper into this and see what I can
        > do.
        >         >     >     >     >
        >         >     >     >     > Thanks for testing!
        >         >     >     >     >
        >         >     >     >     > Om
        >         >     >     >     >
        >         >     >     >     >
        >         >     >     >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
        >         >     > carlosrovira@apache.org>
        >         >     >     >     > wrote:
        >         >     >     >     >
        >         >     >     >     >> Thanks Harbs,
        >         >     >     >     >> that seems not to fix the problem:
        >         >     >     >     >>
        >         >     >     >     >> macbookpro:~ carlosrovira$ sudo npm i
        >         >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
        >         >     >     >     >>
        >         >     >     >     >> Password:
        >         >     >     >     >>
        >         >     >     >     >> /usr/local/bin/asjsc ->
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
        >         >     >     >     >>
        >         >     >     >     >> /usr/local/bin/asjscompc ->
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
        >         >     >     >     >>
        >         >     >     >     >> /usr/local/bin/mxmlc ->
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
        >         >     >     >     >>
        >         >     >     >     >> /usr/local/bin/asnodec ->
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
        >         >     >     >     >>
        >         >     >     >     >> /usr/local/bin/compc ->
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
        >         >     >     >     >>
        >         >     >     >     >> /usr/local/bin/externc ->
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
        > postinstall
        >         >     >     >     >>
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
        >         >     >     >     >>
        >         >     >     >     >> > node dependencies/download_dependencies.js
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >     >> internal/modules/cjs/loader.js:582
        >         >     >     >     >>
        >         >     >     >     >>     throw err;
        >         >     >     >     >>
        >         >     >     >     >>     ^
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >     >> Error: Cannot find module
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
        >         >     >     >     >>
        >         >     >     >     >>     at Function.Module._resolveFilename
        >         >     >     >     >> (internal/modules/cjs/loader.js:580:15)
        >         >     >     >     >>
        >         >     >     >     >>     at Function.Module._load
        >         >     > (internal/modules/cjs/loader.js:506:25)
        >         >     >     >     >>
        >         >     >     >     >>     at Function.Module.runMain
        >         >     >     > (internal/modules/cjs/loader.js:741:12)
        >         >     >     >     >>
        >         >     >     >     >>     at startup
        > (internal/bootstrap/node.js:285:19)
        >         >     >     >     >>
        >         >     >     >     >>     at bootstrapNodeJSCore
        >         > (internal/bootstrap/node.js:739:3)
        >         >     >     >     >>
        >         >     >     >     >> npm ERR! code ELIFECYCLE
        >         >     >     >     >>
        >         >     >     >     >> npm ERR! errno 1
        >         >     >     >     >>
        >         >     >     >     >> npm ERR!
        > @apache-royale/royale-js-swf@0.9.6-beta0
        >         >     > postinstall:
        >         >     >     > `node
        >         >     >     >     >> dependencies/download_dependencies.js`
        >         >     >     >     >>
        >         >     >     >     >> npm ERR! Exit status 1
        >         >     >     >     >>
        >         >     >     >     >> npm ERR!
        >         >     >     >     >>
        >         >     >     >     >> npm ERR! Failed at the
        >         >     > @apache-royale/royale-js-swf@0.9.6-beta0
        >         >     >     >     >> postinstall
        >         >     >     >     >> script.
        >         >     >     >     >>
        >         >     >     >     >> npm ERR! This is probably not a problem with
        > npm. There
        >         > is
        >         >     > likely
        >         >     >     >     >> additional logging output above.
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >     >> npm ERR! A complete log of this run can be
        > found in:
        >         >     >     >     >>
        >         >     >     >     >> npm ERR!
        >         >     >     >     >>
        >         >     >
        > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
        >         >     >     >     >>
        >         >     >     >     >> macbookpro:~ carlosrovira$
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >     >>
        >         >     >     >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
        >         >     > harbs.lists@gmail.com>)
        >         >     >     >     >> escribió:
        >         >     >     >     >>
        >         >     >     >     >> > Try sudo.
        >         >     >     >     >> >
        >         >     >     >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos
        > Rovira <
        >         >     >     > carlosrovira@apache.org>
        >         >     >     >     >> > wrote:
        >         >     >     >     >> > >
        >         >     >     >     >> > > Hi Om,
        >         >     >     >     >> > >
        >         >     >     >     >> > > I tried to install now with : npm i
        >         >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
        >         >     >     >     >> > > -g
        >         >     >     >     >> > >
        >         >     >     >     >> > > I get this:
        >         >     >     >     >> > >
        >         >     >     >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
        >         >     >     >     >> > >
        >         >     >     >     >> > > macbookpro:~ carlosrovira$ npm i
        >         >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0
        >         >     >     >     >> > -g
        >         >     >     >     >> > >
        >         >     >     >     >> > > /usr/local/bin/asjsc ->
        >         >     >     >     >> > >
        >         >     >     >     >> >
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
        >         >     >     >     >> > >
        >         >     >     >     >> > > /usr/local/bin/asnodec ->
        >         >     >     >     >> > >
        >         >     >     >     >> >
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
        >         >     >     >     >> > >
        >         >     >     >     >> > > /usr/local/bin/mxmlc ->
        >         >     >     >     >> > >
        >         >     >     >     >> >
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
        >         >     >     >     >> > >
        >         >     >     >     >> > > /usr/local/bin/asjscompc ->
        >         >     >     >     >> > >
        >         >     >     >     >> >
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
        >         >     >     >     >> > >
        >         >     >     >     >> > > /usr/local/bin/compc ->
        >         >     >     >     >> > >
        >         >     >     >     >> >
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
        >         >     >     >     >> > >
        >         >     >     >     >> > > /usr/local/bin/externc ->
        >         >     >     >     >> > >
        >         >     >     >     >> >
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
        >         >     >     >     >> > >
        >         >     >     >     >> > >
        >         >     >     >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0
        >         > postinstall
        >         >     >     >     >> > >
        >         > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
        >         >     >     >     >> > >
        >         >     >     >     >> > >> node
        > dependencies/download_dependencies.js
        >         >     >     >     >> > >
        >         >     >     >     >> > >
        >         >     >     >     >> > > internal/modules/cjs/loader.js:582
        >         >     >     >     >> > >
        >         >     >     >     >> > >    throw err;
        >         >     >     >     >> > >
        >         >     >     >     >> > >    ^
        >         >     >     >     >> > >
        >         >     >     >     >> > >
        >         >     >     >     >> > > Error: Cannot find module
        >         >     >     >     >> > >
        >         >     >     >     >> >
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
        >         >     >     >     >> > >
        >         >     >     >     >> > >    at Function.Module._resolveFilename
        >         >     >     >     >> > > (internal/modules/cjs/loader.js:580:15)
        >         >     >     >     >> > >
        >         >     >     >     >> > >    at Function.Module._load
        >         >     >     > (internal/modules/cjs/loader.js:506:25)
        >         >     >     >     >> > >
        >         >     >     >     >> > >    at Function.Module.runMain
        >         >     >     > (internal/modules/cjs/loader.js:741:12)
        >         >     >     >     >> > >
        >         >     >     >     >> > >    at startup
        > (internal/bootstrap/node.js:285:19)
        >         >     >     >     >> > >
        >         >     >     >     >> > >    at bootstrapNodeJSCore
        >         >     > (internal/bootstrap/node.js:739:3)
        >         >     >     >     >> > >
        >         >     >     >     >> > > npm ERR! code ELIFECYCLE
        >         >     >     >     >> > >
        >         >     >     >     >> > > npm ERR! errno 1
        >         >     >     >     >> > >
        >         >     >     >     >> > > npm ERR!
        > @apache-royale/royale-js-swf@0.9.6-beta0
        >         >     > postinstall:
        >         >     >     > `node
        >         >     >     >     >> > > dependencies/download_dependencies.js`
        >         >     >     >     >> > >
        >         >     >     >     >> > > npm ERR! Exit status 1
        >         >     >     >     >> > >
        >         >     >     >     >> > > npm ERR!
        >         >     >     >     >> > >
        >         >     >     >     >> > > npm ERR! Failed at the
        >         >     > @apache-royale/royale-js-swf@0.9.6-beta0
        >         >     >     >     >> > postinstall
        >         >     >     >     >> > > script.
        >         >     >     >     >> > >
        >         >     >     >     >> > > npm ERR! This is probably not a problem
        > with npm.
        >         > There is
        >         >     >     > likely
        >         >     >     >     >> > > additional logging output above.
        >         >     >     >     >> > >
        >         >     >     >     >> > >
        >         >     >     >     >> > > npm ERR! A complete log of this run can
        > be found in:
        >         >     >     >     >> > >
        >         >     >     >     >> > > npm ERR!
        >         >     >     >     >> > >
        >         >     >     >
        >         > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
        >         >     >     >     >> > >
        >         >     >     >     >> > > macbookpro:~ carlosrovira$
        >         >     >     >     >> > >
        >         >     >     >     >> > >
        >         >     >     >     >> > >
        >         >     >     >     >> > >
        >         >     >     >     >> > >
        >         >     >     >     >> > > El mar., 3 sept. 2019 a las 21:55,
        > OmPrakash
        >         > Muppirala (<
        >         >     >     >     >> > > bigosmallm@gmail.com>) escribió:
        >         >     >     >     >> > >
        >         >     >     >     >> > >> Carlos,
        >         >     >     >     >> > >>
        >         >     >     >     >> > >> A nice way to test if your installation
        > is working
        >         >     > correctly
        >         >     >     > is to
        >         >     >     >     >> try
        >         >     >     >     >> > it
        >         >     >     >     >> > >> with the npm cli tool.
        >         >     >     >     >> > >>
        >         >     >     >     >> > >> You can install the cli using the
        > command:
        >         >     >     >     >> > >>
        >         >     >     >     >> > >> npm i @apache-royale/cli -g
        >         >     >     >     >> > >>
        >         >     >     >     >> > >> Basically install the royale package,
        > then install
        >         > the
        >         >     > cli
        >         >     >     > package.
        >         >     >     >     >> And
        >         >     >     >     >> > >> follow the instructions here:
        >         >     >     >     >> > >>
        >         >     >     >
        >         >     >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219689006290&amp;sdata=8b5NtfxWcxhcYVIkBeoc4ZHTZTp2fI%2F8BEcMcUYVn9U%3D&amp;reserved=0
        >         >     >     >     >> > >>
        >         >     >     >     >> > >> Thanks,
        >         >     >     >     >> > >> Om
        >         >     >     >     >> > >>
        >         >     >     >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos
        > Rovira <
        >         >     >     >     >> carlosrovira@apache.org>
        >         >     >     >     >> > >> wrote:
        >         >     >     >     >> > >>
        >         >     >     >     >> > >>> Hi Om,
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>> since I don't know too much about NPM,
        > I want to
        >         > know
        >         >     > some few
        >         >     >     >     >> things
        >         >     >     >     >> > >> about
        >         >     >     >     >> > >>> the Royale NPM version. Just
        > uninstalled old
        >         > version
        >         >     >     > successfully.
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>> Now, I'm on Mac. if I install the new
        > one, how
        >         > this
        >         >     > affects my
        >         >     >     >     >> > >> environment?
        >         >     >     >     >> > >>> I suppose that my installation of repos
        > to build
        >         > from
        >         >     > source
        >         >     >     > code is
        >         >     >     >     >> > >>> independent, and NPM installs mxmlc in
        > Terminal
        >         >     > (command line
        >         >     >     >     >> level).
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>> Then, some easy way to give a quick
        > test that all
        >         > is
        >         >     > working
        >         >     >     > ok? I
        >         >     >     >     >> > >> suppose
        >         >     >     >     >> > >>> that I must go to some example project
        > like Tour
        >         > de
        >         >     > Jewel and
        >         >     >     > try to
        >         >     >     >     >> > >>> compile in terminal with mxmlc right?
        > Can you
        >         > provide a
        >         >     >     > command
        >         >     >     >     >> line to
        >         >     >     >     >> > >> use
        >         >     >     >     >> > >>> for test for example that particular
        > case?
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>> Thanks!
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>> El mar., 3 sept. 2019 a las 19:52,
        > OmPrakash
        >         > Muppirala
        >         >     > (<
        >         >     >     >     >> > >>> bigosmallm@gmail.com>) escribió:
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>>> Hi folks,
        >         >     >     >     >> > >>>>
        >         >     >     >     >> > >>>> Can you please test the beta release
        > and report
        >         > any
        >         >     > errors
        >         >     >     > you are
        >         >     >     >     >> > >>> seeing?
        >         >     >     >     >> > >>>>
        >         >     >     >     >> > >>>> You can test it with these commands:
        >         >     >     >     >> > >>>>
        >         >     >     >     >> > >>>> npm uninstall
        > @apache-royale/royale-js-swf -g
        >         > (in case
        >         >     > you
        >         >     >     > already
        >         >     >     >     >> > have
        >         >     >     >     >> > >>> it
        >         >     >     >     >> > >>>> installed)
        >         >     >     >     >> > >>>> npm i
        > @apache-royale/royale-js-swf@0.9.6-beta0
        >         > -g
        >         >     >     >     >> > >>>>
        >         >     >     >     >> > >>>> Thanks,
        >         >     >     >     >> > >>>> Om
        >         >     >     >     >> > >>>>
        >         >     >     >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM
        > OmPrakash
        >         > Muppirala <
        >         >     >     >     >> > >> bigosmallm@gmail.com
        >         >     >     >     >> > >>>>
        >         >     >     >     >> > >>>> wrote:
        >         >     >     >     >> > >>>>
        >         >     >     >     >> > >>>>> Just a heads up, I will be doing some
        > test
        >         > publishes
        >         >     > of the
        >         >     >     > royale
        >         >     >     >     >> > >> npm
        >         >     >     >     >> > >>>>> package.  I will be using the version
        > number:
        >         >     > 0.9.6.beta.1
        >         >     >     >     >> > >>> (0.9.6.beta.2,
        >         >     >     >     >> > >>>>> etc if needed)
        >         >     >     >     >> > >>>>>
        >         >     >     >     >> > >>>>> These fixes are related to these
        > tickets:
        >         >     >     >     >> > >>>>>
        >         >     >     >     >> > >>>>>
        >         >     >     >
        >         >     >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219689006290&amp;sdata=AzDtAnv%2F0HF5vbJrrApVomd5trdSAE%2BI8hYMWN0wqxQ%3D&amp;reserved=0
        >         >     >     >     >> > >>>>>
        >         >     >     >
        >         >     >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219689006290&amp;sdata=9R5XfiohyiSctP7oWqtQZLyWfiwuhPFhWq2AxB2AfxY%3D&amp;reserved=0
        >         >     >     >     >> > >>>>>
        >         >     >     >
        >         >     >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219689006290&amp;sdata=vzyHGGaqUWG56tN4ibmkXGVjhABGwwTWIsAJtCKDf8s%3D&amp;reserved=0
        >         >     >     >     >> > >>>>>
        >         >     >     >     >> > >>>>> Thanks,
        >         >     >     >     >> > >>>>> Om
        >         >     >     >     >> > >>>>>
        >         >     >     >     >> > >>>>
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>> --
        >         >     >     >     >> > >>> Carlos Rovira
        >         >     >     >     >> > >>>
        >         >     >     >
        >         >     >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219689006290&amp;sdata=jHBg3ATOHc2ilgP7ADWTo8gsqG9In%2F8A%2B7mVwWj9m3g%3D&amp;reserved=0
        >         >     >     >     >> > >>>
        >         >     >     >     >> > >>
        >         >     >     >     >> > >
        >         >     >     >     >> > >
        >         >     >     >     >> > > --
        >         >     >     >     >> > > Carlos Rovira
        >         >     >     >     >> > >
        >         >     >     >
        >         >     >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219689006290&amp;sdata=jHBg3ATOHc2ilgP7ADWTo8gsqG9In%2F8A%2B7mVwWj9m3g%3D&amp;reserved=0
        >         >     >     >     >> >
        >         >     >     >     >> >
        >         >     >     >     >>
        >         >     >     >     >> --
        >         >     >     >     >> Carlos Rovira
        >         >     >     >     >>
        >         >     >     >
        >         >     >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219689006290&amp;sdata=jHBg3ATOHc2ilgP7ADWTo8gsqG9In%2F8A%2B7mVwWj9m3g%3D&amp;reserved=0
        >         >     >     >     >>
        >         >     >     >     >
        >         >     >     >
        >         >     >     >
        >         >     >     >
        >         >     >
        >         >     >
        >         >     >
        >         >
        >         >     --
        >         >     Carlos Rovira
        >         >
        >         >
        > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Ca38b157102684d5cb88908d736e2b6a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038219689006290&amp;sdata=jHBg3ATOHc2ilgP7ADWTo8gsqG9In%2F8A%2B7mVwWj9m3g%3D&amp;reserved=0
        >         >
        >         >
        >         >
        >
        >
        >
        >
        >
        
    
    


Re: Testing the npm install error fixes

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Om, how much testing did you do before committing?  I finally ran on Windows and no errors, but the AIR SDK did not get copied to where it should be.

Thanks,
-Alex

On 9/11/19, 8:25 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

    On Tue, Sep 10, 2019, 11:25 PM Alex Harui <ah...@adobe.com.invalid> wrote:
    
    > Om, why did you change the path to download_dependencies.js in the js-swf
    > package.json?  Changing it back gets the script to run for me on Mac.
    
    
    Ah I guess I was trying to fix things locally and checked that in by
    mistake.  Good that you figured it out.
    
    
    I then discovered that the download script only downloads the Windows AIR
    > SDK so I'm currently trying to have it get the DMG for Mac before trying it
    > on Windows.
    >
    
    We use the same SDK for the Mac and fix the file endings etc.  It should be
    the same as downloading the DMG.
    
    I have tested that setup on my Mac as well.
    
    Although I dont have objections if you want to change that.
    
    Thanks,
    Om
    
    
    > Thanks,
    > -Alex
    >
    > On 9/10/19, 7:29 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
    >
    >     I think I got it working...
    >
    >     On 9/10/19, 5:18 PM, "OmPrakash Muppirala" <bi...@gmail.com>
    > wrote:
    >
    >         Damn I dint know about that.  I would be okay doing it manually
    > this time
    >         and fixing the scripts for next release
    >         Unless Alex, you want to power through it this time.
    >
    >         Om
    >
    >         On Tue, Sep 10, 2019 at 4:53 PM Alex Harui
    > <ah...@adobe.com.invalid> wrote:
    >
    >         > I was going to try to publish another test package, but the
    > npm/publish.js
    >         > script is not working for me.  Om, did you use it?  It appears
    > that npm has
    >         > removed the registry API and we are supposed to use an
    >         > npm-publish-programmatically module instead?
    >         >
    >         > I may play with that today, so if you see more notifications
    > about
    >         > publishing npm packages that's probably me.
    >         >
    >         > -Alex
    >         >
    >         > On 9/10/19, 10:17 AM, "Carlos Rovira" <ca...@apache.org>
    > wrote:
    >         >
    >         >     Hi,
    >         >
    >         >     I'm all for homebrew in Mac, when I have time and reinstall
    > it to avoid
    >         >     sudo, I'll do with homebrew for sure. I have all installed
    > that way.
    >         >
    >         >     El mar., 10 sept. 2019 a las 7:26, Alex Harui
    >         > (<ah...@adobe.com.invalid>)
    >         >     escribió:
    >         >
    >         >     > I tried to remove node and npm and re-install it without
    > sudo via
    >         > homebrew.
    >         >     >
    >         >     > I think I got the same results as Carlos.  FWIW, there is
    > no
    >         >     > @apache_royale folder in node_modules.
    >         >     >
    >         >     > ~$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >         >     > /usr/local/bin/asjscompc ->
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >         >     > /usr/local/bin/mxmlc ->
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >         >     > /usr/local/bin/asjsc ->
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >         >     > /usr/local/bin/compc ->
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >         >     > /usr/local/bin/asnodec ->
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >         >     > /usr/local/bin/externc ->
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >         >     >
    >         >     > > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    >         >     > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >         >     > > node dependencies/download_dependencies.js
    >         >     >
    >         >     > internal/modules/cjs/loader.js:775
    >         >     >     throw err;
    >         >     >     ^
    >         >     >
    >         >     > Error: Cannot find module
    >         >     >
    >         >
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >         >     >     at Function.Module._resolveFilename
    >         >     > (internal/modules/cjs/loader.js:772:15)
    >         >     >     at Function.Module._load
    > (internal/modules/cjs/loader.js:677:27)
    >         >     >     at Function.Module.runMain
    >         > (internal/modules/cjs/loader.js:999:10)
    >         >     >     at internal/main/run_main_module.js:17:11 {
    >         >     >   code: 'MODULE_NOT_FOUND',
    >         >     >   requireStack: []
    >         >     > }
    >         >     > npm ERR! code ELIFECYCLE
    >         >     > npm ERR! errno 1
    >         >     > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
    > postinstall: `node
    >         >     > dependencies/download_dependencies.js`
    >         >     > npm ERR! Exit status 1
    >         >     > npm ERR!
    >         >     > npm ERR! Failed at the
    > @apache-royale/royale-js-swf@0.9.6-beta0
    >         >     > postinstall script.
    >         >     > npm ERR! This is probably not a problem with npm. There is
    > likely
    >         >     > additional logging output above.
    >         >     >
    >         >     > npm ERR! A complete log of this run can be found in:
    >         >     > npm ERR!
    >         >  /Users/aharui/.npm/_logs/2019-09-10T05_01_13_653Z-debug.log
    >         >     >
    >         >     >
    >         >     >
    >         >     > On 9/5/19, 9:32 AM, "OmPrakash Muppirala" <
    > bigosmallm@apache.org>
    >         > wrote:
    >         >     >
    >         >     >     If you have to use sudo that usually means that your
    > node/npm is
    >         > not
    >         >     > setup
    >         >     >     correctly.
    >         >     >
    >         >     >     Some more info here :
    >         >     >
    >         >     >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2F%40ExplosionPills%2Fdont-use-sudo-with-npm-still-66e609f5f92&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287658601&amp;sdata=KpjunW8zt6Trje7QB70nnzDZTffqlx4crw2iqUZ05UY%3D&amp;reserved=0
    >         >     >
    >         >     >
    >         >     >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fa%2F18296178&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287658601&amp;sdata=UNg1COe4jcJpXo2xvcJuhI87i5zKe1YgU9Hmxmt6wlE%3D&amp;reserved=0
    >         >     >
    >         >     >     That said, this issue is not related to sudo or
    > otherwise.
    >         >     >
    >         >     >     But it is a good idea to not sudo anything related to
    > npm.  For
    >         >     > instance,
    >         >     >     our installation scripts downloads and does a bunch of
    > things
    >         > during
    >         >     > the
    >         >     >     installation.  Imagine allowing a random script sudo
    > access to
    >         > your
    >         >     >     computer.
    >         >     >
    >         >     >     Thanks,
    >         >     >     Om
    >         >     >
    >         >     >     On Thu, Sep 5, 2019, 9:00 AM Alex Harui
    > <aharui@adobe.com.invalid
    >         > >
    >         >     > wrote:
    >         >     >
    >         >     >     > Pretty sure if you use -g on MacOS you need sudo.
    > However, I
    >         > don't
    >         >     > think
    >         >     >     > that's the issue here.
    >         >     >     > I think Carlos should post his:
    >         >     >     > - dependencies/download_dependencies.js`
    >         >     >     > -
    >         > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
    >         >     >     >
    >         >     >     > HTH,
    >         >     >     > -Alex
    >         >     >     >
    >         >     >     > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <
    >         > bigosmallm@gmail.com>
    >         >     > wrote:
    >         >     >     >
    >         >     >     >     And oh, what is your node version?
    >         >     >     >
    >         >     >     >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala
    > <
    >         >     > bigosmallm@gmail.com
    >         >     >     > >
    >         >     >     >     wrote:
    >         >     >     >
    >         >     >     >     > We should never have to install any npm
    > package with
    >         > sudo.
    >         >     >     >     >
    >         >     >     >     > I will dig deeper into this and see what I can
    > do.
    >         >     >     >     >
    >         >     >     >     > Thanks for testing!
    >         >     >     >     >
    >         >     >     >     > Om
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
    >         >     > carlosrovira@apache.org>
    >         >     >     >     > wrote:
    >         >     >     >     >
    >         >     >     >     >> Thanks Harbs,
    >         >     >     >     >> that seems not to fix the problem:
    >         >     >     >     >>
    >         >     >     >     >> macbookpro:~ carlosrovira$ sudo npm i
    >         >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >         >     >     >     >>
    >         >     >     >     >> Password:
    >         >     >     >     >>
    >         >     >     >     >> /usr/local/bin/asjsc ->
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >         >     >     >     >>
    >         >     >     >     >> /usr/local/bin/asjscompc ->
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >         >     >     >     >>
    >         >     >     >     >> /usr/local/bin/mxmlc ->
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >         >     >     >     >>
    >         >     >     >     >> /usr/local/bin/asnodec ->
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >         >     >     >     >>
    >         >     >     >     >> /usr/local/bin/compc ->
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >         >     >     >     >>
    >         >     >     >     >> /usr/local/bin/externc ->
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
    > postinstall
    >         >     >     >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >         >     >     >     >>
    >         >     >     >     >> > node dependencies/download_dependencies.js
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >     >> internal/modules/cjs/loader.js:582
    >         >     >     >     >>
    >         >     >     >     >>     throw err;
    >         >     >     >     >>
    >         >     >     >     >>     ^
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >     >> Error: Cannot find module
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >         >     >     >     >>
    >         >     >     >     >>     at Function.Module._resolveFilename
    >         >     >     >     >> (internal/modules/cjs/loader.js:580:15)
    >         >     >     >     >>
    >         >     >     >     >>     at Function.Module._load
    >         >     > (internal/modules/cjs/loader.js:506:25)
    >         >     >     >     >>
    >         >     >     >     >>     at Function.Module.runMain
    >         >     >     > (internal/modules/cjs/loader.js:741:12)
    >         >     >     >     >>
    >         >     >     >     >>     at startup
    > (internal/bootstrap/node.js:285:19)
    >         >     >     >     >>
    >         >     >     >     >>     at bootstrapNodeJSCore
    >         > (internal/bootstrap/node.js:739:3)
    >         >     >     >     >>
    >         >     >     >     >> npm ERR! code ELIFECYCLE
    >         >     >     >     >>
    >         >     >     >     >> npm ERR! errno 1
    >         >     >     >     >>
    >         >     >     >     >> npm ERR!
    > @apache-royale/royale-js-swf@0.9.6-beta0
    >         >     > postinstall:
    >         >     >     > `node
    >         >     >     >     >> dependencies/download_dependencies.js`
    >         >     >     >     >>
    >         >     >     >     >> npm ERR! Exit status 1
    >         >     >     >     >>
    >         >     >     >     >> npm ERR!
    >         >     >     >     >>
    >         >     >     >     >> npm ERR! Failed at the
    >         >     > @apache-royale/royale-js-swf@0.9.6-beta0
    >         >     >     >     >> postinstall
    >         >     >     >     >> script.
    >         >     >     >     >>
    >         >     >     >     >> npm ERR! This is probably not a problem with
    > npm. There
    >         > is
    >         >     > likely
    >         >     >     >     >> additional logging output above.
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >     >> npm ERR! A complete log of this run can be
    > found in:
    >         >     >     >     >>
    >         >     >     >     >> npm ERR!
    >         >     >     >     >>
    >         >     >
    > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
    >         >     >     >     >>
    >         >     >     >     >> macbookpro:~ carlosrovira$
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >     >>
    >         >     >     >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
    >         >     > harbs.lists@gmail.com>)
    >         >     >     >     >> escribió:
    >         >     >     >     >>
    >         >     >     >     >> > Try sudo.
    >         >     >     >     >> >
    >         >     >     >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos
    > Rovira <
    >         >     >     > carlosrovira@apache.org>
    >         >     >     >     >> > wrote:
    >         >     >     >     >> > >
    >         >     >     >     >> > > Hi Om,
    >         >     >     >     >> > >
    >         >     >     >     >> > > I tried to install now with : npm i
    >         >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
    >         >     >     >     >> > > -g
    >         >     >     >     >> > >
    >         >     >     >     >> > > I get this:
    >         >     >     >     >> > >
    >         >     >     >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
    >         >     >     >     >> > >
    >         >     >     >     >> > > macbookpro:~ carlosrovira$ npm i
    >         >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0
    >         >     >     >     >> > -g
    >         >     >     >     >> > >
    >         >     >     >     >> > > /usr/local/bin/asjsc ->
    >         >     >     >     >> > >
    >         >     >     >     >> >
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >         >     >     >     >> > >
    >         >     >     >     >> > > /usr/local/bin/asnodec ->
    >         >     >     >     >> > >
    >         >     >     >     >> >
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >         >     >     >     >> > >
    >         >     >     >     >> > > /usr/local/bin/mxmlc ->
    >         >     >     >     >> > >
    >         >     >     >     >> >
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >         >     >     >     >> > >
    >         >     >     >     >> > > /usr/local/bin/asjscompc ->
    >         >     >     >     >> > >
    >         >     >     >     >> >
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >         >     >     >     >> > >
    >         >     >     >     >> > > /usr/local/bin/compc ->
    >         >     >     >     >> > >
    >         >     >     >     >> >
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >         >     >     >     >> > >
    >         >     >     >     >> > > /usr/local/bin/externc ->
    >         >     >     >     >> > >
    >         >     >     >     >> >
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >         >     >     >     >> > >
    >         >     >     >     >> > >
    >         >     >     >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0
    >         > postinstall
    >         >     >     >     >> > >
    >         > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >         >     >     >     >> > >
    >         >     >     >     >> > >> node
    > dependencies/download_dependencies.js
    >         >     >     >     >> > >
    >         >     >     >     >> > >
    >         >     >     >     >> > > internal/modules/cjs/loader.js:582
    >         >     >     >     >> > >
    >         >     >     >     >> > >    throw err;
    >         >     >     >     >> > >
    >         >     >     >     >> > >    ^
    >         >     >     >     >> > >
    >         >     >     >     >> > >
    >         >     >     >     >> > > Error: Cannot find module
    >         >     >     >     >> > >
    >         >     >     >     >> >
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >         >     >     >     >> > >
    >         >     >     >     >> > >    at Function.Module._resolveFilename
    >         >     >     >     >> > > (internal/modules/cjs/loader.js:580:15)
    >         >     >     >     >> > >
    >         >     >     >     >> > >    at Function.Module._load
    >         >     >     > (internal/modules/cjs/loader.js:506:25)
    >         >     >     >     >> > >
    >         >     >     >     >> > >    at Function.Module.runMain
    >         >     >     > (internal/modules/cjs/loader.js:741:12)
    >         >     >     >     >> > >
    >         >     >     >     >> > >    at startup
    > (internal/bootstrap/node.js:285:19)
    >         >     >     >     >> > >
    >         >     >     >     >> > >    at bootstrapNodeJSCore
    >         >     > (internal/bootstrap/node.js:739:3)
    >         >     >     >     >> > >
    >         >     >     >     >> > > npm ERR! code ELIFECYCLE
    >         >     >     >     >> > >
    >         >     >     >     >> > > npm ERR! errno 1
    >         >     >     >     >> > >
    >         >     >     >     >> > > npm ERR!
    > @apache-royale/royale-js-swf@0.9.6-beta0
    >         >     > postinstall:
    >         >     >     > `node
    >         >     >     >     >> > > dependencies/download_dependencies.js`
    >         >     >     >     >> > >
    >         >     >     >     >> > > npm ERR! Exit status 1
    >         >     >     >     >> > >
    >         >     >     >     >> > > npm ERR!
    >         >     >     >     >> > >
    >         >     >     >     >> > > npm ERR! Failed at the
    >         >     > @apache-royale/royale-js-swf@0.9.6-beta0
    >         >     >     >     >> > postinstall
    >         >     >     >     >> > > script.
    >         >     >     >     >> > >
    >         >     >     >     >> > > npm ERR! This is probably not a problem
    > with npm.
    >         > There is
    >         >     >     > likely
    >         >     >     >     >> > > additional logging output above.
    >         >     >     >     >> > >
    >         >     >     >     >> > >
    >         >     >     >     >> > > npm ERR! A complete log of this run can
    > be found in:
    >         >     >     >     >> > >
    >         >     >     >     >> > > npm ERR!
    >         >     >     >     >> > >
    >         >     >     >
    >         > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
    >         >     >     >     >> > >
    >         >     >     >     >> > > macbookpro:~ carlosrovira$
    >         >     >     >     >> > >
    >         >     >     >     >> > >
    >         >     >     >     >> > >
    >         >     >     >     >> > >
    >         >     >     >     >> > >
    >         >     >     >     >> > > El mar., 3 sept. 2019 a las 21:55,
    > OmPrakash
    >         > Muppirala (<
    >         >     >     >     >> > > bigosmallm@gmail.com>) escribió:
    >         >     >     >     >> > >
    >         >     >     >     >> > >> Carlos,
    >         >     >     >     >> > >>
    >         >     >     >     >> > >> A nice way to test if your installation
    > is working
    >         >     > correctly
    >         >     >     > is to
    >         >     >     >     >> try
    >         >     >     >     >> > it
    >         >     >     >     >> > >> with the npm cli tool.
    >         >     >     >     >> > >>
    >         >     >     >     >> > >> You can install the cli using the
    > command:
    >         >     >     >     >> > >>
    >         >     >     >     >> > >> npm i @apache-royale/cli -g
    >         >     >     >     >> > >>
    >         >     >     >     >> > >> Basically install the royale package,
    > then install
    >         > the
    >         >     > cli
    >         >     >     > package.
    >         >     >     >     >> And
    >         >     >     >     >> > >> follow the instructions here:
    >         >     >     >     >> > >>
    >         >     >     >
    >         >     >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287658601&amp;sdata=DEK0KvhAwgmkFL8QvWTR2fybcqOQHroDSOwQczer4JQ%3D&amp;reserved=0
    >         >     >     >     >> > >>
    >         >     >     >     >> > >> Thanks,
    >         >     >     >     >> > >> Om
    >         >     >     >     >> > >>
    >         >     >     >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos
    > Rovira <
    >         >     >     >     >> carlosrovira@apache.org>
    >         >     >     >     >> > >> wrote:
    >         >     >     >     >> > >>
    >         >     >     >     >> > >>> Hi Om,
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>> since I don't know too much about NPM,
    > I want to
    >         > know
    >         >     > some few
    >         >     >     >     >> things
    >         >     >     >     >> > >> about
    >         >     >     >     >> > >>> the Royale NPM version. Just
    > uninstalled old
    >         > version
    >         >     >     > successfully.
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>> Now, I'm on Mac. if I install the new
    > one, how
    >         > this
    >         >     > affects my
    >         >     >     >     >> > >> environment?
    >         >     >     >     >> > >>> I suppose that my installation of repos
    > to build
    >         > from
    >         >     > source
    >         >     >     > code is
    >         >     >     >     >> > >>> independent, and NPM installs mxmlc in
    > Terminal
    >         >     > (command line
    >         >     >     >     >> level).
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>> Then, some easy way to give a quick
    > test that all
    >         > is
    >         >     > working
    >         >     >     > ok? I
    >         >     >     >     >> > >> suppose
    >         >     >     >     >> > >>> that I must go to some example project
    > like Tour
    >         > de
    >         >     > Jewel and
    >         >     >     > try to
    >         >     >     >     >> > >>> compile in terminal with mxmlc right?
    > Can you
    >         > provide a
    >         >     >     > command
    >         >     >     >     >> line to
    >         >     >     >     >> > >> use
    >         >     >     >     >> > >>> for test for example that particular
    > case?
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>> Thanks!
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>> El mar., 3 sept. 2019 a las 19:52,
    > OmPrakash
    >         > Muppirala
    >         >     > (<
    >         >     >     >     >> > >>> bigosmallm@gmail.com>) escribió:
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>>> Hi folks,
    >         >     >     >     >> > >>>>
    >         >     >     >     >> > >>>> Can you please test the beta release
    > and report
    >         > any
    >         >     > errors
    >         >     >     > you are
    >         >     >     >     >> > >>> seeing?
    >         >     >     >     >> > >>>>
    >         >     >     >     >> > >>>> You can test it with these commands:
    >         >     >     >     >> > >>>>
    >         >     >     >     >> > >>>> npm uninstall
    > @apache-royale/royale-js-swf -g
    >         > (in case
    >         >     > you
    >         >     >     > already
    >         >     >     >     >> > have
    >         >     >     >     >> > >>> it
    >         >     >     >     >> > >>>> installed)
    >         >     >     >     >> > >>>> npm i
    > @apache-royale/royale-js-swf@0.9.6-beta0
    >         > -g
    >         >     >     >     >> > >>>>
    >         >     >     >     >> > >>>> Thanks,
    >         >     >     >     >> > >>>> Om
    >         >     >     >     >> > >>>>
    >         >     >     >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM
    > OmPrakash
    >         > Muppirala <
    >         >     >     >     >> > >> bigosmallm@gmail.com
    >         >     >     >     >> > >>>>
    >         >     >     >     >> > >>>> wrote:
    >         >     >     >     >> > >>>>
    >         >     >     >     >> > >>>>> Just a heads up, I will be doing some
    > test
    >         > publishes
    >         >     > of the
    >         >     >     > royale
    >         >     >     >     >> > >> npm
    >         >     >     >     >> > >>>>> package.  I will be using the version
    > number:
    >         >     > 0.9.6.beta.1
    >         >     >     >     >> > >>> (0.9.6.beta.2,
    >         >     >     >     >> > >>>>> etc if needed)
    >         >     >     >     >> > >>>>>
    >         >     >     >     >> > >>>>> These fixes are related to these
    > tickets:
    >         >     >     >     >> > >>>>>
    >         >     >     >     >> > >>>>>
    >         >     >     >
    >         >     >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287668594&amp;sdata=%2F%2BDlgu8nsdqCmweCsyGmr809n2hehm71mwfzKzTyIQo%3D&amp;reserved=0
    >         >     >     >     >> > >>>>>
    >         >     >     >
    >         >     >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287668594&amp;sdata=Vo3P5pKlCj4%2FCISeo6nNxIWMJu9oaW62Qdj4WiGW9L8%3D&amp;reserved=0
    >         >     >     >     >> > >>>>>
    >         >     >     >
    >         >     >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287668594&amp;sdata=h%2FhR8V%2Btd1jp9EWEYhJi1uMZY2HogonY9ftDnVXqnpw%3D&amp;reserved=0
    >         >     >     >     >> > >>>>>
    >         >     >     >     >> > >>>>> Thanks,
    >         >     >     >     >> > >>>>> Om
    >         >     >     >     >> > >>>>>
    >         >     >     >     >> > >>>>
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>> --
    >         >     >     >     >> > >>> Carlos Rovira
    >         >     >     >     >> > >>>
    >         >     >     >
    >         >     >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287668594&amp;sdata=CtlrNEXFW%2FgUqSVk0xEmoeqFSP8Uh%2F9wvVA9NAIamuY%3D&amp;reserved=0
    >         >     >     >     >> > >>>
    >         >     >     >     >> > >>
    >         >     >     >     >> > >
    >         >     >     >     >> > >
    >         >     >     >     >> > > --
    >         >     >     >     >> > > Carlos Rovira
    >         >     >     >     >> > >
    >         >     >     >
    >         >     >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287668594&amp;sdata=CtlrNEXFW%2FgUqSVk0xEmoeqFSP8Uh%2F9wvVA9NAIamuY%3D&amp;reserved=0
    >         >     >     >     >> >
    >         >     >     >     >> >
    >         >     >     >     >>
    >         >     >     >     >> --
    >         >     >     >     >> Carlos Rovira
    >         >     >     >     >>
    >         >     >     >
    >         >     >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287668594&amp;sdata=CtlrNEXFW%2FgUqSVk0xEmoeqFSP8Uh%2F9wvVA9NAIamuY%3D&amp;reserved=0
    >         >     >     >     >>
    >         >     >     >     >
    >         >     >     >
    >         >     >     >
    >         >     >     >
    >         >     >
    >         >     >
    >         >     >
    >         >
    >         >     --
    >         >     Carlos Rovira
    >         >
    >         >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbf07a60d29604e82fe8708d736cc43cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637038123287668594&amp;sdata=CtlrNEXFW%2FgUqSVk0xEmoeqFSP8Uh%2F9wvVA9NAIamuY%3D&amp;reserved=0
    >         >
    >         >
    >         >
    >
    >
    >
    >
    >
    


Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Tue, Sep 10, 2019, 11:25 PM Alex Harui <ah...@adobe.com.invalid> wrote:

> Om, why did you change the path to download_dependencies.js in the js-swf
> package.json?  Changing it back gets the script to run for me on Mac.


Ah I guess I was trying to fix things locally and checked that in by
mistake.  Good that you figured it out.


I then discovered that the download script only downloads the Windows AIR
> SDK so I'm currently trying to have it get the DMG for Mac before trying it
> on Windows.
>

We use the same SDK for the Mac and fix the file endings etc.  It should be
the same as downloading the DMG.

I have tested that setup on my Mac as well.

Although I dont have objections if you want to change that.

Thanks,
Om


> Thanks,
> -Alex
>
> On 9/10/19, 7:29 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>
>     I think I got it working...
>
>     On 9/10/19, 5:18 PM, "OmPrakash Muppirala" <bi...@gmail.com>
> wrote:
>
>         Damn I dint know about that.  I would be okay doing it manually
> this time
>         and fixing the scripts for next release
>         Unless Alex, you want to power through it this time.
>
>         Om
>
>         On Tue, Sep 10, 2019 at 4:53 PM Alex Harui
> <ah...@adobe.com.invalid> wrote:
>
>         > I was going to try to publish another test package, but the
> npm/publish.js
>         > script is not working for me.  Om, did you use it?  It appears
> that npm has
>         > removed the registry API and we are supposed to use an
>         > npm-publish-programmatically module instead?
>         >
>         > I may play with that today, so if you see more notifications
> about
>         > publishing npm packages that's probably me.
>         >
>         > -Alex
>         >
>         > On 9/10/19, 10:17 AM, "Carlos Rovira" <ca...@apache.org>
> wrote:
>         >
>         >     Hi,
>         >
>         >     I'm all for homebrew in Mac, when I have time and reinstall
> it to avoid
>         >     sudo, I'll do with homebrew for sure. I have all installed
> that way.
>         >
>         >     El mar., 10 sept. 2019 a las 7:26, Alex Harui
>         > (<ah...@adobe.com.invalid>)
>         >     escribió:
>         >
>         >     > I tried to remove node and npm and re-install it without
> sudo via
>         > homebrew.
>         >     >
>         >     > I think I got the same results as Carlos.  FWIW, there is
> no
>         >     > @apache_royale folder in node_modules.
>         >     >
>         >     > ~$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
>         >     > /usr/local/bin/asjscompc ->
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>         >     > /usr/local/bin/mxmlc ->
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>         >     > /usr/local/bin/asjsc ->
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>         >     > /usr/local/bin/compc ->
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>         >     > /usr/local/bin/asnodec ->
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>         >     > /usr/local/bin/externc ->
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>         >     >
>         >     > > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
>         >     > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>         >     > > node dependencies/download_dependencies.js
>         >     >
>         >     > internal/modules/cjs/loader.js:775
>         >     >     throw err;
>         >     >     ^
>         >     >
>         >     > Error: Cannot find module
>         >     >
>         >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>         >     >     at Function.Module._resolveFilename
>         >     > (internal/modules/cjs/loader.js:772:15)
>         >     >     at Function.Module._load
> (internal/modules/cjs/loader.js:677:27)
>         >     >     at Function.Module.runMain
>         > (internal/modules/cjs/loader.js:999:10)
>         >     >     at internal/main/run_main_module.js:17:11 {
>         >     >   code: 'MODULE_NOT_FOUND',
>         >     >   requireStack: []
>         >     > }
>         >     > npm ERR! code ELIFECYCLE
>         >     > npm ERR! errno 1
>         >     > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall: `node
>         >     > dependencies/download_dependencies.js`
>         >     > npm ERR! Exit status 1
>         >     > npm ERR!
>         >     > npm ERR! Failed at the
> @apache-royale/royale-js-swf@0.9.6-beta0
>         >     > postinstall script.
>         >     > npm ERR! This is probably not a problem with npm. There is
> likely
>         >     > additional logging output above.
>         >     >
>         >     > npm ERR! A complete log of this run can be found in:
>         >     > npm ERR!
>         >  /Users/aharui/.npm/_logs/2019-09-10T05_01_13_653Z-debug.log
>         >     >
>         >     >
>         >     >
>         >     > On 9/5/19, 9:32 AM, "OmPrakash Muppirala" <
> bigosmallm@apache.org>
>         > wrote:
>         >     >
>         >     >     If you have to use sudo that usually means that your
> node/npm is
>         > not
>         >     > setup
>         >     >     correctly.
>         >     >
>         >     >     Some more info here :
>         >     >
>         >     >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2F%40ExplosionPills%2Fdont-use-sudo-with-npm-still-66e609f5f92&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531232420&amp;sdata=1MbCJR0aIioR0F69tE1PAu1elrTf26%2B18uIn0s6nr9w%3D&amp;reserved=0
>         >     >
>         >     >
>         >     >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fa%2F18296178&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531232420&amp;sdata=yCV6Qi%2B7LLfkzXp%2BbtgDxD4UExjbFnHZ6Wv%2FfvFGTS4%3D&amp;reserved=0
>         >     >
>         >     >     That said, this issue is not related to sudo or
> otherwise.
>         >     >
>         >     >     But it is a good idea to not sudo anything related to
> npm.  For
>         >     > instance,
>         >     >     our installation scripts downloads and does a bunch of
> things
>         > during
>         >     > the
>         >     >     installation.  Imagine allowing a random script sudo
> access to
>         > your
>         >     >     computer.
>         >     >
>         >     >     Thanks,
>         >     >     Om
>         >     >
>         >     >     On Thu, Sep 5, 2019, 9:00 AM Alex Harui
> <aharui@adobe.com.invalid
>         > >
>         >     > wrote:
>         >     >
>         >     >     > Pretty sure if you use -g on MacOS you need sudo.
> However, I
>         > don't
>         >     > think
>         >     >     > that's the issue here.
>         >     >     > I think Carlos should post his:
>         >     >     > - dependencies/download_dependencies.js`
>         >     >     > -
>         > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>         >     >     >
>         >     >     > HTH,
>         >     >     > -Alex
>         >     >     >
>         >     >     > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <
>         > bigosmallm@gmail.com>
>         >     > wrote:
>         >     >     >
>         >     >     >     And oh, what is your node version?
>         >     >     >
>         >     >     >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala
> <
>         >     > bigosmallm@gmail.com
>         >     >     > >
>         >     >     >     wrote:
>         >     >     >
>         >     >     >     > We should never have to install any npm
> package with
>         > sudo.
>         >     >     >     >
>         >     >     >     > I will dig deeper into this and see what I can
> do.
>         >     >     >     >
>         >     >     >     > Thanks for testing!
>         >     >     >     >
>         >     >     >     > Om
>         >     >     >     >
>         >     >     >     >
>         >     >     >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
>         >     > carlosrovira@apache.org>
>         >     >     >     > wrote:
>         >     >     >     >
>         >     >     >     >> Thanks Harbs,
>         >     >     >     >> that seems not to fix the problem:
>         >     >     >     >>
>         >     >     >     >> macbookpro:~ carlosrovira$ sudo npm i
>         >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
>         >     >     >     >>
>         >     >     >     >> Password:
>         >     >     >     >>
>         >     >     >     >> /usr/local/bin/asjsc ->
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>         >     >     >     >>
>         >     >     >     >> /usr/local/bin/asjscompc ->
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>         >     >     >     >>
>         >     >     >     >> /usr/local/bin/mxmlc ->
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>         >     >     >     >>
>         >     >     >     >> /usr/local/bin/asnodec ->
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>         >     >     >     >>
>         >     >     >     >> /usr/local/bin/compc ->
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>         >     >     >     >>
>         >     >     >     >> /usr/local/bin/externc ->
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall
>         >     >     >     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>         >     >     >     >>
>         >     >     >     >> > node dependencies/download_dependencies.js
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >     >> internal/modules/cjs/loader.js:582
>         >     >     >     >>
>         >     >     >     >>     throw err;
>         >     >     >     >>
>         >     >     >     >>     ^
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >     >> Error: Cannot find module
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>         >     >     >     >>
>         >     >     >     >>     at Function.Module._resolveFilename
>         >     >     >     >> (internal/modules/cjs/loader.js:580:15)
>         >     >     >     >>
>         >     >     >     >>     at Function.Module._load
>         >     > (internal/modules/cjs/loader.js:506:25)
>         >     >     >     >>
>         >     >     >     >>     at Function.Module.runMain
>         >     >     > (internal/modules/cjs/loader.js:741:12)
>         >     >     >     >>
>         >     >     >     >>     at startup
> (internal/bootstrap/node.js:285:19)
>         >     >     >     >>
>         >     >     >     >>     at bootstrapNodeJSCore
>         > (internal/bootstrap/node.js:739:3)
>         >     >     >     >>
>         >     >     >     >> npm ERR! code ELIFECYCLE
>         >     >     >     >>
>         >     >     >     >> npm ERR! errno 1
>         >     >     >     >>
>         >     >     >     >> npm ERR!
> @apache-royale/royale-js-swf@0.9.6-beta0
>         >     > postinstall:
>         >     >     > `node
>         >     >     >     >> dependencies/download_dependencies.js`
>         >     >     >     >>
>         >     >     >     >> npm ERR! Exit status 1
>         >     >     >     >>
>         >     >     >     >> npm ERR!
>         >     >     >     >>
>         >     >     >     >> npm ERR! Failed at the
>         >     > @apache-royale/royale-js-swf@0.9.6-beta0
>         >     >     >     >> postinstall
>         >     >     >     >> script.
>         >     >     >     >>
>         >     >     >     >> npm ERR! This is probably not a problem with
> npm. There
>         > is
>         >     > likely
>         >     >     >     >> additional logging output above.
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >     >> npm ERR! A complete log of this run can be
> found in:
>         >     >     >     >>
>         >     >     >     >> npm ERR!
>         >     >     >     >>
>         >     >
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>         >     >     >     >>
>         >     >     >     >> macbookpro:~ carlosrovira$
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >     >>
>         >     >     >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
>         >     > harbs.lists@gmail.com>)
>         >     >     >     >> escribió:
>         >     >     >     >>
>         >     >     >     >> > Try sudo.
>         >     >     >     >> >
>         >     >     >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos
> Rovira <
>         >     >     > carlosrovira@apache.org>
>         >     >     >     >> > wrote:
>         >     >     >     >> > >
>         >     >     >     >> > > Hi Om,
>         >     >     >     >> > >
>         >     >     >     >> > > I tried to install now with : npm i
>         >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
>         >     >     >     >> > > -g
>         >     >     >     >> > >
>         >     >     >     >> > > I get this:
>         >     >     >     >> > >
>         >     >     >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
>         >     >     >     >> > >
>         >     >     >     >> > > macbookpro:~ carlosrovira$ npm i
>         >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0
>         >     >     >     >> > -g
>         >     >     >     >> > >
>         >     >     >     >> > > /usr/local/bin/asjsc ->
>         >     >     >     >> > >
>         >     >     >     >> >
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>         >     >     >     >> > >
>         >     >     >     >> > > /usr/local/bin/asnodec ->
>         >     >     >     >> > >
>         >     >     >     >> >
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>         >     >     >     >> > >
>         >     >     >     >> > > /usr/local/bin/mxmlc ->
>         >     >     >     >> > >
>         >     >     >     >> >
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>         >     >     >     >> > >
>         >     >     >     >> > > /usr/local/bin/asjscompc ->
>         >     >     >     >> > >
>         >     >     >     >> >
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>         >     >     >     >> > >
>         >     >     >     >> > > /usr/local/bin/compc ->
>         >     >     >     >> > >
>         >     >     >     >> >
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>         >     >     >     >> > >
>         >     >     >     >> > > /usr/local/bin/externc ->
>         >     >     >     >> > >
>         >     >     >     >> >
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>         >     >     >     >> > >
>         >     >     >     >> > >
>         >     >     >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0
>         > postinstall
>         >     >     >     >> > >
>         > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>         >     >     >     >> > >
>         >     >     >     >> > >> node
> dependencies/download_dependencies.js
>         >     >     >     >> > >
>         >     >     >     >> > >
>         >     >     >     >> > > internal/modules/cjs/loader.js:582
>         >     >     >     >> > >
>         >     >     >     >> > >    throw err;
>         >     >     >     >> > >
>         >     >     >     >> > >    ^
>         >     >     >     >> > >
>         >     >     >     >> > >
>         >     >     >     >> > > Error: Cannot find module
>         >     >     >     >> > >
>         >     >     >     >> >
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>         >     >     >     >> > >
>         >     >     >     >> > >    at Function.Module._resolveFilename
>         >     >     >     >> > > (internal/modules/cjs/loader.js:580:15)
>         >     >     >     >> > >
>         >     >     >     >> > >    at Function.Module._load
>         >     >     > (internal/modules/cjs/loader.js:506:25)
>         >     >     >     >> > >
>         >     >     >     >> > >    at Function.Module.runMain
>         >     >     > (internal/modules/cjs/loader.js:741:12)
>         >     >     >     >> > >
>         >     >     >     >> > >    at startup
> (internal/bootstrap/node.js:285:19)
>         >     >     >     >> > >
>         >     >     >     >> > >    at bootstrapNodeJSCore
>         >     > (internal/bootstrap/node.js:739:3)
>         >     >     >     >> > >
>         >     >     >     >> > > npm ERR! code ELIFECYCLE
>         >     >     >     >> > >
>         >     >     >     >> > > npm ERR! errno 1
>         >     >     >     >> > >
>         >     >     >     >> > > npm ERR!
> @apache-royale/royale-js-swf@0.9.6-beta0
>         >     > postinstall:
>         >     >     > `node
>         >     >     >     >> > > dependencies/download_dependencies.js`
>         >     >     >     >> > >
>         >     >     >     >> > > npm ERR! Exit status 1
>         >     >     >     >> > >
>         >     >     >     >> > > npm ERR!
>         >     >     >     >> > >
>         >     >     >     >> > > npm ERR! Failed at the
>         >     > @apache-royale/royale-js-swf@0.9.6-beta0
>         >     >     >     >> > postinstall
>         >     >     >     >> > > script.
>         >     >     >     >> > >
>         >     >     >     >> > > npm ERR! This is probably not a problem
> with npm.
>         > There is
>         >     >     > likely
>         >     >     >     >> > > additional logging output above.
>         >     >     >     >> > >
>         >     >     >     >> > >
>         >     >     >     >> > > npm ERR! A complete log of this run can
> be found in:
>         >     >     >     >> > >
>         >     >     >     >> > > npm ERR!
>         >     >     >     >> > >
>         >     >     >
>         > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
>         >     >     >     >> > >
>         >     >     >     >> > > macbookpro:~ carlosrovira$
>         >     >     >     >> > >
>         >     >     >     >> > >
>         >     >     >     >> > >
>         >     >     >     >> > >
>         >     >     >     >> > >
>         >     >     >     >> > > El mar., 3 sept. 2019 a las 21:55,
> OmPrakash
>         > Muppirala (<
>         >     >     >     >> > > bigosmallm@gmail.com>) escribió:
>         >     >     >     >> > >
>         >     >     >     >> > >> Carlos,
>         >     >     >     >> > >>
>         >     >     >     >> > >> A nice way to test if your installation
> is working
>         >     > correctly
>         >     >     > is to
>         >     >     >     >> try
>         >     >     >     >> > it
>         >     >     >     >> > >> with the npm cli tool.
>         >     >     >     >> > >>
>         >     >     >     >> > >> You can install the cli using the
> command:
>         >     >     >     >> > >>
>         >     >     >     >> > >> npm i @apache-royale/cli -g
>         >     >     >     >> > >>
>         >     >     >     >> > >> Basically install the royale package,
> then install
>         > the
>         >     > cli
>         >     >     > package.
>         >     >     >     >> And
>         >     >     >     >> > >> follow the instructions here:
>         >     >     >     >> > >>
>         >     >     >
>         >     >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531232420&amp;sdata=pbAxDo4AVNgCg%2FIYotjLAvJPqFvWQxAoQznBEPDly58%3D&amp;reserved=0
>         >     >     >     >> > >>
>         >     >     >     >> > >> Thanks,
>         >     >     >     >> > >> Om
>         >     >     >     >> > >>
>         >     >     >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos
> Rovira <
>         >     >     >     >> carlosrovira@apache.org>
>         >     >     >     >> > >> wrote:
>         >     >     >     >> > >>
>         >     >     >     >> > >>> Hi Om,
>         >     >     >     >> > >>>
>         >     >     >     >> > >>> since I don't know too much about NPM,
> I want to
>         > know
>         >     > some few
>         >     >     >     >> things
>         >     >     >     >> > >> about
>         >     >     >     >> > >>> the Royale NPM version. Just
> uninstalled old
>         > version
>         >     >     > successfully.
>         >     >     >     >> > >>>
>         >     >     >     >> > >>> Now, I'm on Mac. if I install the new
> one, how
>         > this
>         >     > affects my
>         >     >     >     >> > >> environment?
>         >     >     >     >> > >>> I suppose that my installation of repos
> to build
>         > from
>         >     > source
>         >     >     > code is
>         >     >     >     >> > >>> independent, and NPM installs mxmlc in
> Terminal
>         >     > (command line
>         >     >     >     >> level).
>         >     >     >     >> > >>>
>         >     >     >     >> > >>> Then, some easy way to give a quick
> test that all
>         > is
>         >     > working
>         >     >     > ok? I
>         >     >     >     >> > >> suppose
>         >     >     >     >> > >>> that I must go to some example project
> like Tour
>         > de
>         >     > Jewel and
>         >     >     > try to
>         >     >     >     >> > >>> compile in terminal with mxmlc right?
> Can you
>         > provide a
>         >     >     > command
>         >     >     >     >> line to
>         >     >     >     >> > >> use
>         >     >     >     >> > >>> for test for example that particular
> case?
>         >     >     >     >> > >>>
>         >     >     >     >> > >>> Thanks!
>         >     >     >     >> > >>>
>         >     >     >     >> > >>>
>         >     >     >     >> > >>>
>         >     >     >     >> > >>> El mar., 3 sept. 2019 a las 19:52,
> OmPrakash
>         > Muppirala
>         >     > (<
>         >     >     >     >> > >>> bigosmallm@gmail.com>) escribió:
>         >     >     >     >> > >>>
>         >     >     >     >> > >>>> Hi folks,
>         >     >     >     >> > >>>>
>         >     >     >     >> > >>>> Can you please test the beta release
> and report
>         > any
>         >     > errors
>         >     >     > you are
>         >     >     >     >> > >>> seeing?
>         >     >     >     >> > >>>>
>         >     >     >     >> > >>>> You can test it with these commands:
>         >     >     >     >> > >>>>
>         >     >     >     >> > >>>> npm uninstall
> @apache-royale/royale-js-swf -g
>         > (in case
>         >     > you
>         >     >     > already
>         >     >     >     >> > have
>         >     >     >     >> > >>> it
>         >     >     >     >> > >>>> installed)
>         >     >     >     >> > >>>> npm i
> @apache-royale/royale-js-swf@0.9.6-beta0
>         > -g
>         >     >     >     >> > >>>>
>         >     >     >     >> > >>>> Thanks,
>         >     >     >     >> > >>>> Om
>         >     >     >     >> > >>>>
>         >     >     >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM
> OmPrakash
>         > Muppirala <
>         >     >     >     >> > >> bigosmallm@gmail.com
>         >     >     >     >> > >>>>
>         >     >     >     >> > >>>> wrote:
>         >     >     >     >> > >>>>
>         >     >     >     >> > >>>>> Just a heads up, I will be doing some
> test
>         > publishes
>         >     > of the
>         >     >     > royale
>         >     >     >     >> > >> npm
>         >     >     >     >> > >>>>> package.  I will be using the version
> number:
>         >     > 0.9.6.beta.1
>         >     >     >     >> > >>> (0.9.6.beta.2,
>         >     >     >     >> > >>>>> etc if needed)
>         >     >     >     >> > >>>>>
>         >     >     >     >> > >>>>> These fixes are related to these
> tickets:
>         >     >     >     >> > >>>>>
>         >     >     >     >> > >>>>>
>         >     >     >
>         >     >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=WrjNoj0GvhIMZvOw4Kfhk19lE975dX4nvmbl9PPEwDc%3D&amp;reserved=0
>         >     >     >     >> > >>>>>
>         >     >     >
>         >     >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=vPHuX7WkVocByBinbGQ%2FvKCphqaQEcLmCqXJukt9NKA%3D&amp;reserved=0
>         >     >     >     >> > >>>>>
>         >     >     >
>         >     >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=%2B%2B%2Bd%2FdB2goTxnSwminKLpS38iedq3GgVAatTqKwh7%2F8%3D&amp;reserved=0
>         >     >     >     >> > >>>>>
>         >     >     >     >> > >>>>> Thanks,
>         >     >     >     >> > >>>>> Om
>         >     >     >     >> > >>>>>
>         >     >     >     >> > >>>>
>         >     >     >     >> > >>>
>         >     >     >     >> > >>>
>         >     >     >     >> > >>> --
>         >     >     >     >> > >>> Carlos Rovira
>         >     >     >     >> > >>>
>         >     >     >
>         >     >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=TqfyrdLi2aUw3aDvW5vDFfbFzBBQox1kKwSToLyzAmA%3D&amp;reserved=0
>         >     >     >     >> > >>>
>         >     >     >     >> > >>
>         >     >     >     >> > >
>         >     >     >     >> > >
>         >     >     >     >> > > --
>         >     >     >     >> > > Carlos Rovira
>         >     >     >     >> > >
>         >     >     >
>         >     >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=TqfyrdLi2aUw3aDvW5vDFfbFzBBQox1kKwSToLyzAmA%3D&amp;reserved=0
>         >     >     >     >> >
>         >     >     >     >> >
>         >     >     >     >>
>         >     >     >     >> --
>         >     >     >     >> Carlos Rovira
>         >     >     >     >>
>         >     >     >
>         >     >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=TqfyrdLi2aUw3aDvW5vDFfbFzBBQox1kKwSToLyzAmA%3D&amp;reserved=0
>         >     >     >     >>
>         >     >     >     >
>         >     >     >
>         >     >     >
>         >     >     >
>         >     >
>         >     >
>         >     >
>         >
>         >     --
>         >     Carlos Rovira
>         >
>         >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=TqfyrdLi2aUw3aDvW5vDFfbFzBBQox1kKwSToLyzAmA%3D&amp;reserved=0
>         >
>         >
>         >
>
>
>
>
>

Re: Testing the npm install error fixes

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Om, why did you change the path to download_dependencies.js in the js-swf package.json?  Changing it back gets the script to run for me on Mac.  I then discovered that the download script only downloads the Windows AIR SDK so I'm currently trying to have it get the DMG for Mac before trying it on Windows.

Thanks,
-Alex

On 9/10/19, 7:29 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:

    I think I got it working...
    
    On 9/10/19, 5:18 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
    
        Damn I dint know about that.  I would be okay doing it manually this time
        and fixing the scripts for next release
        Unless Alex, you want to power through it this time.
        
        Om
        
        On Tue, Sep 10, 2019 at 4:53 PM Alex Harui <ah...@adobe.com.invalid> wrote:
        
        > I was going to try to publish another test package, but the npm/publish.js
        > script is not working for me.  Om, did you use it?  It appears that npm has
        > removed the registry API and we are supposed to use an
        > npm-publish-programmatically module instead?
        >
        > I may play with that today, so if you see more notifications about
        > publishing npm packages that's probably me.
        >
        > -Alex
        >
        > On 9/10/19, 10:17 AM, "Carlos Rovira" <ca...@apache.org> wrote:
        >
        >     Hi,
        >
        >     I'm all for homebrew in Mac, when I have time and reinstall it to avoid
        >     sudo, I'll do with homebrew for sure. I have all installed that way.
        >
        >     El mar., 10 sept. 2019 a las 7:26, Alex Harui
        > (<ah...@adobe.com.invalid>)
        >     escribió:
        >
        >     > I tried to remove node and npm and re-install it without sudo via
        > homebrew.
        >     >
        >     > I think I got the same results as Carlos.  FWIW, there is no
        >     > @apache_royale folder in node_modules.
        >     >
        >     > ~$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
        >     > /usr/local/bin/asjscompc ->
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
        >     > /usr/local/bin/mxmlc ->
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
        >     > /usr/local/bin/asjsc ->
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
        >     > /usr/local/bin/compc ->
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
        >     > /usr/local/bin/asnodec ->
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
        >     > /usr/local/bin/externc ->
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
        >     >
        >     > > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
        >     > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
        >     > > node dependencies/download_dependencies.js
        >     >
        >     > internal/modules/cjs/loader.js:775
        >     >     throw err;
        >     >     ^
        >     >
        >     > Error: Cannot find module
        >     >
        > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
        >     >     at Function.Module._resolveFilename
        >     > (internal/modules/cjs/loader.js:772:15)
        >     >     at Function.Module._load (internal/modules/cjs/loader.js:677:27)
        >     >     at Function.Module.runMain
        > (internal/modules/cjs/loader.js:999:10)
        >     >     at internal/main/run_main_module.js:17:11 {
        >     >   code: 'MODULE_NOT_FOUND',
        >     >   requireStack: []
        >     > }
        >     > npm ERR! code ELIFECYCLE
        >     > npm ERR! errno 1
        >     > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
        >     > dependencies/download_dependencies.js`
        >     > npm ERR! Exit status 1
        >     > npm ERR!
        >     > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
        >     > postinstall script.
        >     > npm ERR! This is probably not a problem with npm. There is likely
        >     > additional logging output above.
        >     >
        >     > npm ERR! A complete log of this run can be found in:
        >     > npm ERR!
        >  /Users/aharui/.npm/_logs/2019-09-10T05_01_13_653Z-debug.log
        >     >
        >     >
        >     >
        >     > On 9/5/19, 9:32 AM, "OmPrakash Muppirala" <bi...@apache.org>
        > wrote:
        >     >
        >     >     If you have to use sudo that usually means that your node/npm is
        > not
        >     > setup
        >     >     correctly.
        >     >
        >     >     Some more info here :
        >     >
        >     >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2F%40ExplosionPills%2Fdont-use-sudo-with-npm-still-66e609f5f92&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531232420&amp;sdata=1MbCJR0aIioR0F69tE1PAu1elrTf26%2B18uIn0s6nr9w%3D&amp;reserved=0
        >     >
        >     >
        >     >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fa%2F18296178&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531232420&amp;sdata=yCV6Qi%2B7LLfkzXp%2BbtgDxD4UExjbFnHZ6Wv%2FfvFGTS4%3D&amp;reserved=0
        >     >
        >     >     That said, this issue is not related to sudo or otherwise.
        >     >
        >     >     But it is a good idea to not sudo anything related to npm.  For
        >     > instance,
        >     >     our installation scripts downloads and does a bunch of things
        > during
        >     > the
        >     >     installation.  Imagine allowing a random script sudo access to
        > your
        >     >     computer.
        >     >
        >     >     Thanks,
        >     >     Om
        >     >
        >     >     On Thu, Sep 5, 2019, 9:00 AM Alex Harui <aharui@adobe.com.invalid
        > >
        >     > wrote:
        >     >
        >     >     > Pretty sure if you use -g on MacOS you need sudo.  However, I
        > don't
        >     > think
        >     >     > that's the issue here.
        >     >     > I think Carlos should post his:
        >     >     > - dependencies/download_dependencies.js`
        >     >     > -
        > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
        >     >     >
        >     >     > HTH,
        >     >     > -Alex
        >     >     >
        >     >     > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <
        > bigosmallm@gmail.com>
        >     > wrote:
        >     >     >
        >     >     >     And oh, what is your node version?
        >     >     >
        >     >     >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
        >     > bigosmallm@gmail.com
        >     >     > >
        >     >     >     wrote:
        >     >     >
        >     >     >     > We should never have to install any npm package with
        > sudo.
        >     >     >     >
        >     >     >     > I will dig deeper into this and see what I can do.
        >     >     >     >
        >     >     >     > Thanks for testing!
        >     >     >     >
        >     >     >     > Om
        >     >     >     >
        >     >     >     >
        >     >     >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
        >     > carlosrovira@apache.org>
        >     >     >     > wrote:
        >     >     >     >
        >     >     >     >> Thanks Harbs,
        >     >     >     >> that seems not to fix the problem:
        >     >     >     >>
        >     >     >     >> macbookpro:~ carlosrovira$ sudo npm i
        >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
        >     >     >     >>
        >     >     >     >> Password:
        >     >     >     >>
        >     >     >     >> /usr/local/bin/asjsc ->
        >     >     >     >>
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
        >     >     >     >>
        >     >     >     >> /usr/local/bin/asjscompc ->
        >     >     >     >>
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
        >     >     >     >>
        >     >     >     >> /usr/local/bin/mxmlc ->
        >     >     >     >>
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
        >     >     >     >>
        >     >     >     >> /usr/local/bin/asnodec ->
        >     >     >     >>
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
        >     >     >     >>
        >     >     >     >> /usr/local/bin/compc ->
        >     >     >     >>
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
        >     >     >     >>
        >     >     >     >> /usr/local/bin/externc ->
        >     >     >     >>
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
        >     >     >     >>
        >     >     >     >>
        >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
        >     >     >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
        >     >     >     >>
        >     >     >     >> > node dependencies/download_dependencies.js
        >     >     >     >>
        >     >     >     >>
        >     >     >     >> internal/modules/cjs/loader.js:582
        >     >     >     >>
        >     >     >     >>     throw err;
        >     >     >     >>
        >     >     >     >>     ^
        >     >     >     >>
        >     >     >     >>
        >     >     >     >> Error: Cannot find module
        >     >     >     >>
        >     >     >     >>
        >     >     >
        >     >
        > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
        >     >     >     >>
        >     >     >     >>     at Function.Module._resolveFilename
        >     >     >     >> (internal/modules/cjs/loader.js:580:15)
        >     >     >     >>
        >     >     >     >>     at Function.Module._load
        >     > (internal/modules/cjs/loader.js:506:25)
        >     >     >     >>
        >     >     >     >>     at Function.Module.runMain
        >     >     > (internal/modules/cjs/loader.js:741:12)
        >     >     >     >>
        >     >     >     >>     at startup (internal/bootstrap/node.js:285:19)
        >     >     >     >>
        >     >     >     >>     at bootstrapNodeJSCore
        > (internal/bootstrap/node.js:739:3)
        >     >     >     >>
        >     >     >     >> npm ERR! code ELIFECYCLE
        >     >     >     >>
        >     >     >     >> npm ERR! errno 1
        >     >     >     >>
        >     >     >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
        >     > postinstall:
        >     >     > `node
        >     >     >     >> dependencies/download_dependencies.js`
        >     >     >     >>
        >     >     >     >> npm ERR! Exit status 1
        >     >     >     >>
        >     >     >     >> npm ERR!
        >     >     >     >>
        >     >     >     >> npm ERR! Failed at the
        >     > @apache-royale/royale-js-swf@0.9.6-beta0
        >     >     >     >> postinstall
        >     >     >     >> script.
        >     >     >     >>
        >     >     >     >> npm ERR! This is probably not a problem with npm. There
        > is
        >     > likely
        >     >     >     >> additional logging output above.
        >     >     >     >>
        >     >     >     >>
        >     >     >     >> npm ERR! A complete log of this run can be found in:
        >     >     >     >>
        >     >     >     >> npm ERR!
        >     >     >     >>
        >     > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
        >     >     >     >>
        >     >     >     >> macbookpro:~ carlosrovira$
        >     >     >     >>
        >     >     >     >>
        >     >     >     >>
        >     >     >     >>
        >     >     >     >>
        >     >     >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
        >     > harbs.lists@gmail.com>)
        >     >     >     >> escribió:
        >     >     >     >>
        >     >     >     >> > Try sudo.
        >     >     >     >> >
        >     >     >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
        >     >     > carlosrovira@apache.org>
        >     >     >     >> > wrote:
        >     >     >     >> > >
        >     >     >     >> > > Hi Om,
        >     >     >     >> > >
        >     >     >     >> > > I tried to install now with : npm i
        >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
        >     >     >     >> > > -g
        >     >     >     >> > >
        >     >     >     >> > > I get this:
        >     >     >     >> > >
        >     >     >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
        >     >     >     >> > >
        >     >     >     >> > > macbookpro:~ carlosrovira$ npm i
        >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0
        >     >     >     >> > -g
        >     >     >     >> > >
        >     >     >     >> > > /usr/local/bin/asjsc ->
        >     >     >     >> > >
        >     >     >     >> >
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
        >     >     >     >> > >
        >     >     >     >> > > /usr/local/bin/asnodec ->
        >     >     >     >> > >
        >     >     >     >> >
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
        >     >     >     >> > >
        >     >     >     >> > > /usr/local/bin/mxmlc ->
        >     >     >     >> > >
        >     >     >     >> >
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
        >     >     >     >> > >
        >     >     >     >> > > /usr/local/bin/asjscompc ->
        >     >     >     >> > >
        >     >     >     >> >
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
        >     >     >     >> > >
        >     >     >     >> > > /usr/local/bin/compc ->
        >     >     >     >> > >
        >     >     >     >> >
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
        >     >     >     >> > >
        >     >     >     >> > > /usr/local/bin/externc ->
        >     >     >     >> > >
        >     >     >     >> >
        >     >     >     >>
        >     >     >
        >     >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
        >     >     >     >> > >
        >     >     >     >> > >
        >     >     >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0
        > postinstall
        >     >     >     >> > >
        > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
        >     >     >     >> > >
        >     >     >     >> > >> node dependencies/download_dependencies.js
        >     >     >     >> > >
        >     >     >     >> > >
        >     >     >     >> > > internal/modules/cjs/loader.js:582
        >     >     >     >> > >
        >     >     >     >> > >    throw err;
        >     >     >     >> > >
        >     >     >     >> > >    ^
        >     >     >     >> > >
        >     >     >     >> > >
        >     >     >     >> > > Error: Cannot find module
        >     >     >     >> > >
        >     >     >     >> >
        >     >     >     >>
        >     >     >
        >     >
        > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
        >     >     >     >> > >
        >     >     >     >> > >    at Function.Module._resolveFilename
        >     >     >     >> > > (internal/modules/cjs/loader.js:580:15)
        >     >     >     >> > >
        >     >     >     >> > >    at Function.Module._load
        >     >     > (internal/modules/cjs/loader.js:506:25)
        >     >     >     >> > >
        >     >     >     >> > >    at Function.Module.runMain
        >     >     > (internal/modules/cjs/loader.js:741:12)
        >     >     >     >> > >
        >     >     >     >> > >    at startup (internal/bootstrap/node.js:285:19)
        >     >     >     >> > >
        >     >     >     >> > >    at bootstrapNodeJSCore
        >     > (internal/bootstrap/node.js:739:3)
        >     >     >     >> > >
        >     >     >     >> > > npm ERR! code ELIFECYCLE
        >     >     >     >> > >
        >     >     >     >> > > npm ERR! errno 1
        >     >     >     >> > >
        >     >     >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
        >     > postinstall:
        >     >     > `node
        >     >     >     >> > > dependencies/download_dependencies.js`
        >     >     >     >> > >
        >     >     >     >> > > npm ERR! Exit status 1
        >     >     >     >> > >
        >     >     >     >> > > npm ERR!
        >     >     >     >> > >
        >     >     >     >> > > npm ERR! Failed at the
        >     > @apache-royale/royale-js-swf@0.9.6-beta0
        >     >     >     >> > postinstall
        >     >     >     >> > > script.
        >     >     >     >> > >
        >     >     >     >> > > npm ERR! This is probably not a problem with npm.
        > There is
        >     >     > likely
        >     >     >     >> > > additional logging output above.
        >     >     >     >> > >
        >     >     >     >> > >
        >     >     >     >> > > npm ERR! A complete log of this run can be found in:
        >     >     >     >> > >
        >     >     >     >> > > npm ERR!
        >     >     >     >> > >
        >     >     >
        > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
        >     >     >     >> > >
        >     >     >     >> > > macbookpro:~ carlosrovira$
        >     >     >     >> > >
        >     >     >     >> > >
        >     >     >     >> > >
        >     >     >     >> > >
        >     >     >     >> > >
        >     >     >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash
        > Muppirala (<
        >     >     >     >> > > bigosmallm@gmail.com>) escribió:
        >     >     >     >> > >
        >     >     >     >> > >> Carlos,
        >     >     >     >> > >>
        >     >     >     >> > >> A nice way to test if your installation is working
        >     > correctly
        >     >     > is to
        >     >     >     >> try
        >     >     >     >> > it
        >     >     >     >> > >> with the npm cli tool.
        >     >     >     >> > >>
        >     >     >     >> > >> You can install the cli using the command:
        >     >     >     >> > >>
        >     >     >     >> > >> npm i @apache-royale/cli -g
        >     >     >     >> > >>
        >     >     >     >> > >> Basically install the royale package, then install
        > the
        >     > cli
        >     >     > package.
        >     >     >     >> And
        >     >     >     >> > >> follow the instructions here:
        >     >     >     >> > >>
        >     >     >
        >     >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531232420&amp;sdata=pbAxDo4AVNgCg%2FIYotjLAvJPqFvWQxAoQznBEPDly58%3D&amp;reserved=0
        >     >     >     >> > >>
        >     >     >     >> > >> Thanks,
        >     >     >     >> > >> Om
        >     >     >     >> > >>
        >     >     >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
        >     >     >     >> carlosrovira@apache.org>
        >     >     >     >> > >> wrote:
        >     >     >     >> > >>
        >     >     >     >> > >>> Hi Om,
        >     >     >     >> > >>>
        >     >     >     >> > >>> since I don't know too much about NPM, I want to
        > know
        >     > some few
        >     >     >     >> things
        >     >     >     >> > >> about
        >     >     >     >> > >>> the Royale NPM version. Just uninstalled old
        > version
        >     >     > successfully.
        >     >     >     >> > >>>
        >     >     >     >> > >>> Now, I'm on Mac. if I install the new one, how
        > this
        >     > affects my
        >     >     >     >> > >> environment?
        >     >     >     >> > >>> I suppose that my installation of repos to build
        > from
        >     > source
        >     >     > code is
        >     >     >     >> > >>> independent, and NPM installs mxmlc in Terminal
        >     > (command line
        >     >     >     >> level).
        >     >     >     >> > >>>
        >     >     >     >> > >>> Then, some easy way to give a quick test that all
        > is
        >     > working
        >     >     > ok? I
        >     >     >     >> > >> suppose
        >     >     >     >> > >>> that I must go to some example project like Tour
        > de
        >     > Jewel and
        >     >     > try to
        >     >     >     >> > >>> compile in terminal with mxmlc right? Can you
        > provide a
        >     >     > command
        >     >     >     >> line to
        >     >     >     >> > >> use
        >     >     >     >> > >>> for test for example that particular case?
        >     >     >     >> > >>>
        >     >     >     >> > >>> Thanks!
        >     >     >     >> > >>>
        >     >     >     >> > >>>
        >     >     >     >> > >>>
        >     >     >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash
        > Muppirala
        >     > (<
        >     >     >     >> > >>> bigosmallm@gmail.com>) escribió:
        >     >     >     >> > >>>
        >     >     >     >> > >>>> Hi folks,
        >     >     >     >> > >>>>
        >     >     >     >> > >>>> Can you please test the beta release and report
        > any
        >     > errors
        >     >     > you are
        >     >     >     >> > >>> seeing?
        >     >     >     >> > >>>>
        >     >     >     >> > >>>> You can test it with these commands:
        >     >     >     >> > >>>>
        >     >     >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g
        > (in case
        >     > you
        >     >     > already
        >     >     >     >> > have
        >     >     >     >> > >>> it
        >     >     >     >> > >>>> installed)
        >     >     >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0
        > -g
        >     >     >     >> > >>>>
        >     >     >     >> > >>>> Thanks,
        >     >     >     >> > >>>> Om
        >     >     >     >> > >>>>
        >     >     >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash
        > Muppirala <
        >     >     >     >> > >> bigosmallm@gmail.com
        >     >     >     >> > >>>>
        >     >     >     >> > >>>> wrote:
        >     >     >     >> > >>>>
        >     >     >     >> > >>>>> Just a heads up, I will be doing some test
        > publishes
        >     > of the
        >     >     > royale
        >     >     >     >> > >> npm
        >     >     >     >> > >>>>> package.  I will be using the version number:
        >     > 0.9.6.beta.1
        >     >     >     >> > >>> (0.9.6.beta.2,
        >     >     >     >> > >>>>> etc if needed)
        >     >     >     >> > >>>>>
        >     >     >     >> > >>>>> These fixes are related to these tickets:
        >     >     >     >> > >>>>>
        >     >     >     >> > >>>>>
        >     >     >
        >     >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=WrjNoj0GvhIMZvOw4Kfhk19lE975dX4nvmbl9PPEwDc%3D&amp;reserved=0
        >     >     >     >> > >>>>>
        >     >     >
        >     >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=vPHuX7WkVocByBinbGQ%2FvKCphqaQEcLmCqXJukt9NKA%3D&amp;reserved=0
        >     >     >     >> > >>>>>
        >     >     >
        >     >
        > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=%2B%2B%2Bd%2FdB2goTxnSwminKLpS38iedq3GgVAatTqKwh7%2F8%3D&amp;reserved=0
        >     >     >     >> > >>>>>
        >     >     >     >> > >>>>> Thanks,
        >     >     >     >> > >>>>> Om
        >     >     >     >> > >>>>>
        >     >     >     >> > >>>>
        >     >     >     >> > >>>
        >     >     >     >> > >>>
        >     >     >     >> > >>> --
        >     >     >     >> > >>> Carlos Rovira
        >     >     >     >> > >>>
        >     >     >
        >     >
        > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=TqfyrdLi2aUw3aDvW5vDFfbFzBBQox1kKwSToLyzAmA%3D&amp;reserved=0
        >     >     >     >> > >>>
        >     >     >     >> > >>
        >     >     >     >> > >
        >     >     >     >> > >
        >     >     >     >> > > --
        >     >     >     >> > > Carlos Rovira
        >     >     >     >> > >
        >     >     >
        >     >
        > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=TqfyrdLi2aUw3aDvW5vDFfbFzBBQox1kKwSToLyzAmA%3D&amp;reserved=0
        >     >     >     >> >
        >     >     >     >> >
        >     >     >     >>
        >     >     >     >> --
        >     >     >     >> Carlos Rovira
        >     >     >     >>
        >     >     >
        >     >
        > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=TqfyrdLi2aUw3aDvW5vDFfbFzBBQox1kKwSToLyzAmA%3D&amp;reserved=0
        >     >     >     >>
        >     >     >     >
        >     >     >
        >     >     >
        >     >     >
        >     >
        >     >
        >     >
        >
        >     --
        >     Carlos Rovira
        >
        > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdd175cee7efa41b9c11d08d7365fd464%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037657531242413&amp;sdata=TqfyrdLi2aUw3aDvW5vDFfbFzBBQox1kKwSToLyzAmA%3D&amp;reserved=0
        >
        >
        >
        
    
    


Re: Testing the npm install error fixes

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I think I got it working...

On 9/10/19, 5:18 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

    Damn I dint know about that.  I would be okay doing it manually this time
    and fixing the scripts for next release
    Unless Alex, you want to power through it this time.
    
    Om
    
    On Tue, Sep 10, 2019 at 4:53 PM Alex Harui <ah...@adobe.com.invalid> wrote:
    
    > I was going to try to publish another test package, but the npm/publish.js
    > script is not working for me.  Om, did you use it?  It appears that npm has
    > removed the registry API and we are supposed to use an
    > npm-publish-programmatically module instead?
    >
    > I may play with that today, so if you see more notifications about
    > publishing npm packages that's probably me.
    >
    > -Alex
    >
    > On 9/10/19, 10:17 AM, "Carlos Rovira" <ca...@apache.org> wrote:
    >
    >     Hi,
    >
    >     I'm all for homebrew in Mac, when I have time and reinstall it to avoid
    >     sudo, I'll do with homebrew for sure. I have all installed that way.
    >
    >     El mar., 10 sept. 2019 a las 7:26, Alex Harui
    > (<ah...@adobe.com.invalid>)
    >     escribió:
    >
    >     > I tried to remove node and npm and re-install it without sudo via
    > homebrew.
    >     >
    >     > I think I got the same results as Carlos.  FWIW, there is no
    >     > @apache_royale folder in node_modules.
    >     >
    >     > ~$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >     > /usr/local/bin/asjscompc ->
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >     > /usr/local/bin/mxmlc ->
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >     > /usr/local/bin/asjsc ->
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >     > /usr/local/bin/compc ->
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >     > /usr/local/bin/asnodec ->
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >     > /usr/local/bin/externc ->
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >     >
    >     > > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    >     > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >     > > node dependencies/download_dependencies.js
    >     >
    >     > internal/modules/cjs/loader.js:775
    >     >     throw err;
    >     >     ^
    >     >
    >     > Error: Cannot find module
    >     >
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >     >     at Function.Module._resolveFilename
    >     > (internal/modules/cjs/loader.js:772:15)
    >     >     at Function.Module._load (internal/modules/cjs/loader.js:677:27)
    >     >     at Function.Module.runMain
    > (internal/modules/cjs/loader.js:999:10)
    >     >     at internal/main/run_main_module.js:17:11 {
    >     >   code: 'MODULE_NOT_FOUND',
    >     >   requireStack: []
    >     > }
    >     > npm ERR! code ELIFECYCLE
    >     > npm ERR! errno 1
    >     > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
    >     > dependencies/download_dependencies.js`
    >     > npm ERR! Exit status 1
    >     > npm ERR!
    >     > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
    >     > postinstall script.
    >     > npm ERR! This is probably not a problem with npm. There is likely
    >     > additional logging output above.
    >     >
    >     > npm ERR! A complete log of this run can be found in:
    >     > npm ERR!
    >  /Users/aharui/.npm/_logs/2019-09-10T05_01_13_653Z-debug.log
    >     >
    >     >
    >     >
    >     > On 9/5/19, 9:32 AM, "OmPrakash Muppirala" <bi...@apache.org>
    > wrote:
    >     >
    >     >     If you have to use sudo that usually means that your node/npm is
    > not
    >     > setup
    >     >     correctly.
    >     >
    >     >     Some more info here :
    >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2F%40ExplosionPills%2Fdont-use-sudo-with-npm-still-66e609f5f92&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920190770&amp;sdata=ZJ5EJWO8fOIoQZ1KG0bjn0Ib8vDyx6RsKRIlTzRvd4Y%3D&amp;reserved=0
    >     >
    >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fa%2F18296178&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920200764&amp;sdata=tx2Q1SRB2YHNsfdl6SfACkZ5lMvZGB7EHKGUIMwgw0g%3D&amp;reserved=0
    >     >
    >     >     That said, this issue is not related to sudo or otherwise.
    >     >
    >     >     But it is a good idea to not sudo anything related to npm.  For
    >     > instance,
    >     >     our installation scripts downloads and does a bunch of things
    > during
    >     > the
    >     >     installation.  Imagine allowing a random script sudo access to
    > your
    >     >     computer.
    >     >
    >     >     Thanks,
    >     >     Om
    >     >
    >     >     On Thu, Sep 5, 2019, 9:00 AM Alex Harui <aharui@adobe.com.invalid
    > >
    >     > wrote:
    >     >
    >     >     > Pretty sure if you use -g on MacOS you need sudo.  However, I
    > don't
    >     > think
    >     >     > that's the issue here.
    >     >     > I think Carlos should post his:
    >     >     > - dependencies/download_dependencies.js`
    >     >     > -
    > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
    >     >     >
    >     >     > HTH,
    >     >     > -Alex
    >     >     >
    >     >     > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <
    > bigosmallm@gmail.com>
    >     > wrote:
    >     >     >
    >     >     >     And oh, what is your node version?
    >     >     >
    >     >     >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
    >     > bigosmallm@gmail.com
    >     >     > >
    >     >     >     wrote:
    >     >     >
    >     >     >     > We should never have to install any npm package with
    > sudo.
    >     >     >     >
    >     >     >     > I will dig deeper into this and see what I can do.
    >     >     >     >
    >     >     >     > Thanks for testing!
    >     >     >     >
    >     >     >     > Om
    >     >     >     >
    >     >     >     >
    >     >     >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
    >     > carlosrovira@apache.org>
    >     >     >     > wrote:
    >     >     >     >
    >     >     >     >> Thanks Harbs,
    >     >     >     >> that seems not to fix the problem:
    >     >     >     >>
    >     >     >     >> macbookpro:~ carlosrovira$ sudo npm i
    >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >     >     >     >>
    >     >     >     >> Password:
    >     >     >     >>
    >     >     >     >> /usr/local/bin/asjsc ->
    >     >     >     >>
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >     >     >     >>
    >     >     >     >> /usr/local/bin/asjscompc ->
    >     >     >     >>
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >     >     >     >>
    >     >     >     >> /usr/local/bin/mxmlc ->
    >     >     >     >>
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >     >     >     >>
    >     >     >     >> /usr/local/bin/asnodec ->
    >     >     >     >>
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >     >     >     >>
    >     >     >     >> /usr/local/bin/compc ->
    >     >     >     >>
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >     >     >     >>
    >     >     >     >> /usr/local/bin/externc ->
    >     >     >     >>
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >     >     >     >>
    >     >     >     >>
    >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    >     >     >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >     >     >     >>
    >     >     >     >> > node dependencies/download_dependencies.js
    >     >     >     >>
    >     >     >     >>
    >     >     >     >> internal/modules/cjs/loader.js:582
    >     >     >     >>
    >     >     >     >>     throw err;
    >     >     >     >>
    >     >     >     >>     ^
    >     >     >     >>
    >     >     >     >>
    >     >     >     >> Error: Cannot find module
    >     >     >     >>
    >     >     >     >>
    >     >     >
    >     >
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >     >     >     >>
    >     >     >     >>     at Function.Module._resolveFilename
    >     >     >     >> (internal/modules/cjs/loader.js:580:15)
    >     >     >     >>
    >     >     >     >>     at Function.Module._load
    >     > (internal/modules/cjs/loader.js:506:25)
    >     >     >     >>
    >     >     >     >>     at Function.Module.runMain
    >     >     > (internal/modules/cjs/loader.js:741:12)
    >     >     >     >>
    >     >     >     >>     at startup (internal/bootstrap/node.js:285:19)
    >     >     >     >>
    >     >     >     >>     at bootstrapNodeJSCore
    > (internal/bootstrap/node.js:739:3)
    >     >     >     >>
    >     >     >     >> npm ERR! code ELIFECYCLE
    >     >     >     >>
    >     >     >     >> npm ERR! errno 1
    >     >     >     >>
    >     >     >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
    >     > postinstall:
    >     >     > `node
    >     >     >     >> dependencies/download_dependencies.js`
    >     >     >     >>
    >     >     >     >> npm ERR! Exit status 1
    >     >     >     >>
    >     >     >     >> npm ERR!
    >     >     >     >>
    >     >     >     >> npm ERR! Failed at the
    >     > @apache-royale/royale-js-swf@0.9.6-beta0
    >     >     >     >> postinstall
    >     >     >     >> script.
    >     >     >     >>
    >     >     >     >> npm ERR! This is probably not a problem with npm. There
    > is
    >     > likely
    >     >     >     >> additional logging output above.
    >     >     >     >>
    >     >     >     >>
    >     >     >     >> npm ERR! A complete log of this run can be found in:
    >     >     >     >>
    >     >     >     >> npm ERR!
    >     >     >     >>
    >     > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
    >     >     >     >>
    >     >     >     >> macbookpro:~ carlosrovira$
    >     >     >     >>
    >     >     >     >>
    >     >     >     >>
    >     >     >     >>
    >     >     >     >>
    >     >     >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
    >     > harbs.lists@gmail.com>)
    >     >     >     >> escribió:
    >     >     >     >>
    >     >     >     >> > Try sudo.
    >     >     >     >> >
    >     >     >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
    >     >     > carlosrovira@apache.org>
    >     >     >     >> > wrote:
    >     >     >     >> > >
    >     >     >     >> > > Hi Om,
    >     >     >     >> > >
    >     >     >     >> > > I tried to install now with : npm i
    >     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
    >     >     >     >> > > -g
    >     >     >     >> > >
    >     >     >     >> > > I get this:
    >     >     >     >> > >
    >     >     >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
    >     >     >     >> > >
    >     >     >     >> > > macbookpro:~ carlosrovira$ npm i
    >     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0
    >     >     >     >> > -g
    >     >     >     >> > >
    >     >     >     >> > > /usr/local/bin/asjsc ->
    >     >     >     >> > >
    >     >     >     >> >
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >     >     >     >> > >
    >     >     >     >> > > /usr/local/bin/asnodec ->
    >     >     >     >> > >
    >     >     >     >> >
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >     >     >     >> > >
    >     >     >     >> > > /usr/local/bin/mxmlc ->
    >     >     >     >> > >
    >     >     >     >> >
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >     >     >     >> > >
    >     >     >     >> > > /usr/local/bin/asjscompc ->
    >     >     >     >> > >
    >     >     >     >> >
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >     >     >     >> > >
    >     >     >     >> > > /usr/local/bin/compc ->
    >     >     >     >> > >
    >     >     >     >> >
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >     >     >     >> > >
    >     >     >     >> > > /usr/local/bin/externc ->
    >     >     >     >> > >
    >     >     >     >> >
    >     >     >     >>
    >     >     >
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >     >     >     >> > >
    >     >     >     >> > >
    >     >     >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0
    > postinstall
    >     >     >     >> > >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >     >     >     >> > >
    >     >     >     >> > >> node dependencies/download_dependencies.js
    >     >     >     >> > >
    >     >     >     >> > >
    >     >     >     >> > > internal/modules/cjs/loader.js:582
    >     >     >     >> > >
    >     >     >     >> > >    throw err;
    >     >     >     >> > >
    >     >     >     >> > >    ^
    >     >     >     >> > >
    >     >     >     >> > >
    >     >     >     >> > > Error: Cannot find module
    >     >     >     >> > >
    >     >     >     >> >
    >     >     >     >>
    >     >     >
    >     >
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >     >     >     >> > >
    >     >     >     >> > >    at Function.Module._resolveFilename
    >     >     >     >> > > (internal/modules/cjs/loader.js:580:15)
    >     >     >     >> > >
    >     >     >     >> > >    at Function.Module._load
    >     >     > (internal/modules/cjs/loader.js:506:25)
    >     >     >     >> > >
    >     >     >     >> > >    at Function.Module.runMain
    >     >     > (internal/modules/cjs/loader.js:741:12)
    >     >     >     >> > >
    >     >     >     >> > >    at startup (internal/bootstrap/node.js:285:19)
    >     >     >     >> > >
    >     >     >     >> > >    at bootstrapNodeJSCore
    >     > (internal/bootstrap/node.js:739:3)
    >     >     >     >> > >
    >     >     >     >> > > npm ERR! code ELIFECYCLE
    >     >     >     >> > >
    >     >     >     >> > > npm ERR! errno 1
    >     >     >     >> > >
    >     >     >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
    >     > postinstall:
    >     >     > `node
    >     >     >     >> > > dependencies/download_dependencies.js`
    >     >     >     >> > >
    >     >     >     >> > > npm ERR! Exit status 1
    >     >     >     >> > >
    >     >     >     >> > > npm ERR!
    >     >     >     >> > >
    >     >     >     >> > > npm ERR! Failed at the
    >     > @apache-royale/royale-js-swf@0.9.6-beta0
    >     >     >     >> > postinstall
    >     >     >     >> > > script.
    >     >     >     >> > >
    >     >     >     >> > > npm ERR! This is probably not a problem with npm.
    > There is
    >     >     > likely
    >     >     >     >> > > additional logging output above.
    >     >     >     >> > >
    >     >     >     >> > >
    >     >     >     >> > > npm ERR! A complete log of this run can be found in:
    >     >     >     >> > >
    >     >     >     >> > > npm ERR!
    >     >     >     >> > >
    >     >     >
    > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
    >     >     >     >> > >
    >     >     >     >> > > macbookpro:~ carlosrovira$
    >     >     >     >> > >
    >     >     >     >> > >
    >     >     >     >> > >
    >     >     >     >> > >
    >     >     >     >> > >
    >     >     >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash
    > Muppirala (<
    >     >     >     >> > > bigosmallm@gmail.com>) escribió:
    >     >     >     >> > >
    >     >     >     >> > >> Carlos,
    >     >     >     >> > >>
    >     >     >     >> > >> A nice way to test if your installation is working
    >     > correctly
    >     >     > is to
    >     >     >     >> try
    >     >     >     >> > it
    >     >     >     >> > >> with the npm cli tool.
    >     >     >     >> > >>
    >     >     >     >> > >> You can install the cli using the command:
    >     >     >     >> > >>
    >     >     >     >> > >> npm i @apache-royale/cli -g
    >     >     >     >> > >>
    >     >     >     >> > >> Basically install the royale package, then install
    > the
    >     > cli
    >     >     > package.
    >     >     >     >> And
    >     >     >     >> > >> follow the instructions here:
    >     >     >     >> > >>
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920200764&amp;sdata=Af4DEs0ObnNxWM%2BxHN3sjiNJUZoGp3F8RQLd%2FppHjY8%3D&amp;reserved=0
    >     >     >     >> > >>
    >     >     >     >> > >> Thanks,
    >     >     >     >> > >> Om
    >     >     >     >> > >>
    >     >     >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
    >     >     >     >> carlosrovira@apache.org>
    >     >     >     >> > >> wrote:
    >     >     >     >> > >>
    >     >     >     >> > >>> Hi Om,
    >     >     >     >> > >>>
    >     >     >     >> > >>> since I don't know too much about NPM, I want to
    > know
    >     > some few
    >     >     >     >> things
    >     >     >     >> > >> about
    >     >     >     >> > >>> the Royale NPM version. Just uninstalled old
    > version
    >     >     > successfully.
    >     >     >     >> > >>>
    >     >     >     >> > >>> Now, I'm on Mac. if I install the new one, how
    > this
    >     > affects my
    >     >     >     >> > >> environment?
    >     >     >     >> > >>> I suppose that my installation of repos to build
    > from
    >     > source
    >     >     > code is
    >     >     >     >> > >>> independent, and NPM installs mxmlc in Terminal
    >     > (command line
    >     >     >     >> level).
    >     >     >     >> > >>>
    >     >     >     >> > >>> Then, some easy way to give a quick test that all
    > is
    >     > working
    >     >     > ok? I
    >     >     >     >> > >> suppose
    >     >     >     >> > >>> that I must go to some example project like Tour
    > de
    >     > Jewel and
    >     >     > try to
    >     >     >     >> > >>> compile in terminal with mxmlc right? Can you
    > provide a
    >     >     > command
    >     >     >     >> line to
    >     >     >     >> > >> use
    >     >     >     >> > >>> for test for example that particular case?
    >     >     >     >> > >>>
    >     >     >     >> > >>> Thanks!
    >     >     >     >> > >>>
    >     >     >     >> > >>>
    >     >     >     >> > >>>
    >     >     >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash
    > Muppirala
    >     > (<
    >     >     >     >> > >>> bigosmallm@gmail.com>) escribió:
    >     >     >     >> > >>>
    >     >     >     >> > >>>> Hi folks,
    >     >     >     >> > >>>>
    >     >     >     >> > >>>> Can you please test the beta release and report
    > any
    >     > errors
    >     >     > you are
    >     >     >     >> > >>> seeing?
    >     >     >     >> > >>>>
    >     >     >     >> > >>>> You can test it with these commands:
    >     >     >     >> > >>>>
    >     >     >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g
    > (in case
    >     > you
    >     >     > already
    >     >     >     >> > have
    >     >     >     >> > >>> it
    >     >     >     >> > >>>> installed)
    >     >     >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0
    > -g
    >     >     >     >> > >>>>
    >     >     >     >> > >>>> Thanks,
    >     >     >     >> > >>>> Om
    >     >     >     >> > >>>>
    >     >     >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash
    > Muppirala <
    >     >     >     >> > >> bigosmallm@gmail.com
    >     >     >     >> > >>>>
    >     >     >     >> > >>>> wrote:
    >     >     >     >> > >>>>
    >     >     >     >> > >>>>> Just a heads up, I will be doing some test
    > publishes
    >     > of the
    >     >     > royale
    >     >     >     >> > >> npm
    >     >     >     >> > >>>>> package.  I will be using the version number:
    >     > 0.9.6.beta.1
    >     >     >     >> > >>> (0.9.6.beta.2,
    >     >     >     >> > >>>>> etc if needed)
    >     >     >     >> > >>>>>
    >     >     >     >> > >>>>> These fixes are related to these tickets:
    >     >     >     >> > >>>>>
    >     >     >     >> > >>>>>
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920200764&amp;sdata=ihvzCmzIu9lLQ8pCZh8Nm9NzscVFHT%2B8bAjfHQH0fvQ%3D&amp;reserved=0
    >     >     >     >> > >>>>>
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920200764&amp;sdata=Ybh7%2F%2Fhu%2FrNyLRFSQG7Z2x%2Bn6SEnD6MMhYLfhar0UJo%3D&amp;reserved=0
    >     >     >     >> > >>>>>
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920200764&amp;sdata=FvXR63tDVzpagemiANCfKwwJbLci2DXnByc4ti1g0Bc%3D&amp;reserved=0
    >     >     >     >> > >>>>>
    >     >     >     >> > >>>>> Thanks,
    >     >     >     >> > >>>>> Om
    >     >     >     >> > >>>>>
    >     >     >     >> > >>>>
    >     >     >     >> > >>>
    >     >     >     >> > >>>
    >     >     >     >> > >>> --
    >     >     >     >> > >>> Carlos Rovira
    >     >     >     >> > >>>
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920200764&amp;sdata=stuBZLmcRr77ZkioK8OuCOvX6SL0AAu68nMN6umpi5g%3D&amp;reserved=0
    >     >     >     >> > >>>
    >     >     >     >> > >>
    >     >     >     >> > >
    >     >     >     >> > >
    >     >     >     >> > > --
    >     >     >     >> > > Carlos Rovira
    >     >     >     >> > >
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920200764&amp;sdata=stuBZLmcRr77ZkioK8OuCOvX6SL0AAu68nMN6umpi5g%3D&amp;reserved=0
    >     >     >     >> >
    >     >     >     >> >
    >     >     >     >>
    >     >     >     >> --
    >     >     >     >> Carlos Rovira
    >     >     >     >>
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920200764&amp;sdata=stuBZLmcRr77ZkioK8OuCOvX6SL0AAu68nMN6umpi5g%3D&amp;reserved=0
    >     >     >     >>
    >     >     >     >
    >     >     >
    >     >     >
    >     >     >
    >     >
    >     >
    >     >
    >
    >     --
    >     Carlos Rovira
    >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C7b76ea3c141545a7529208d7364d84b4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037578920200764&amp;sdata=stuBZLmcRr77ZkioK8OuCOvX6SL0AAu68nMN6umpi5g%3D&amp;reserved=0
    >
    >
    >
    


Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Damn I dint know about that.  I would be okay doing it manually this time
and fixing the scripts for next release
Unless Alex, you want to power through it this time.

Om

On Tue, Sep 10, 2019 at 4:53 PM Alex Harui <ah...@adobe.com.invalid> wrote:

> I was going to try to publish another test package, but the npm/publish.js
> script is not working for me.  Om, did you use it?  It appears that npm has
> removed the registry API and we are supposed to use an
> npm-publish-programmatically module instead?
>
> I may play with that today, so if you see more notifications about
> publishing npm packages that's probably me.
>
> -Alex
>
> On 9/10/19, 10:17 AM, "Carlos Rovira" <ca...@apache.org> wrote:
>
>     Hi,
>
>     I'm all for homebrew in Mac, when I have time and reinstall it to avoid
>     sudo, I'll do with homebrew for sure. I have all installed that way.
>
>     El mar., 10 sept. 2019 a las 7:26, Alex Harui
> (<ah...@adobe.com.invalid>)
>     escribió:
>
>     > I tried to remove node and npm and re-install it without sudo via
> homebrew.
>     >
>     > I think I got the same results as Carlos.  FWIW, there is no
>     > @apache_royale folder in node_modules.
>     >
>     > ~$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
>     > /usr/local/bin/asjscompc ->
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>     > /usr/local/bin/mxmlc ->
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>     > /usr/local/bin/asjsc ->
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>     > /usr/local/bin/compc ->
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>     > /usr/local/bin/asnodec ->
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>     > /usr/local/bin/externc ->
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>     >
>     > > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
>     > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>     > > node dependencies/download_dependencies.js
>     >
>     > internal/modules/cjs/loader.js:775
>     >     throw err;
>     >     ^
>     >
>     > Error: Cannot find module
>     >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>     >     at Function.Module._resolveFilename
>     > (internal/modules/cjs/loader.js:772:15)
>     >     at Function.Module._load (internal/modules/cjs/loader.js:677:27)
>     >     at Function.Module.runMain
> (internal/modules/cjs/loader.js:999:10)
>     >     at internal/main/run_main_module.js:17:11 {
>     >   code: 'MODULE_NOT_FOUND',
>     >   requireStack: []
>     > }
>     > npm ERR! code ELIFECYCLE
>     > npm ERR! errno 1
>     > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
>     > dependencies/download_dependencies.js`
>     > npm ERR! Exit status 1
>     > npm ERR!
>     > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
>     > postinstall script.
>     > npm ERR! This is probably not a problem with npm. There is likely
>     > additional logging output above.
>     >
>     > npm ERR! A complete log of this run can be found in:
>     > npm ERR!
>  /Users/aharui/.npm/_logs/2019-09-10T05_01_13_653Z-debug.log
>     >
>     >
>     >
>     > On 9/5/19, 9:32 AM, "OmPrakash Muppirala" <bi...@apache.org>
> wrote:
>     >
>     >     If you have to use sudo that usually means that your node/npm is
> not
>     > setup
>     >     correctly.
>     >
>     >     Some more info here :
>     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2F%40ExplosionPills%2Fdont-use-sudo-with-npm-still-66e609f5f92&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406595828&amp;sdata=Vn%2FhX91xKLe3o65gVNaTxoQnOeqCqmAZGbYw18BQAbA%3D&amp;reserved=0
>     >
>     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fa%2F18296178&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=1T4ME4268RkdBV0TpRmxe0cQGkXVSq0e%2BTkjvny2rbA%3D&amp;reserved=0
>     >
>     >     That said, this issue is not related to sudo or otherwise.
>     >
>     >     But it is a good idea to not sudo anything related to npm.  For
>     > instance,
>     >     our installation scripts downloads and does a bunch of things
> during
>     > the
>     >     installation.  Imagine allowing a random script sudo access to
> your
>     >     computer.
>     >
>     >     Thanks,
>     >     Om
>     >
>     >     On Thu, Sep 5, 2019, 9:00 AM Alex Harui <aharui@adobe.com.invalid
> >
>     > wrote:
>     >
>     >     > Pretty sure if you use -g on MacOS you need sudo.  However, I
> don't
>     > think
>     >     > that's the issue here.
>     >     > I think Carlos should post his:
>     >     > - dependencies/download_dependencies.js`
>     >     > -
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>     >     >
>     >     > HTH,
>     >     > -Alex
>     >     >
>     >     > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <
> bigosmallm@gmail.com>
>     > wrote:
>     >     >
>     >     >     And oh, what is your node version?
>     >     >
>     >     >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
>     > bigosmallm@gmail.com
>     >     > >
>     >     >     wrote:
>     >     >
>     >     >     > We should never have to install any npm package with
> sudo.
>     >     >     >
>     >     >     > I will dig deeper into this and see what I can do.
>     >     >     >
>     >     >     > Thanks for testing!
>     >     >     >
>     >     >     > Om
>     >     >     >
>     >     >     >
>     >     >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
>     > carlosrovira@apache.org>
>     >     >     > wrote:
>     >     >     >
>     >     >     >> Thanks Harbs,
>     >     >     >> that seems not to fix the problem:
>     >     >     >>
>     >     >     >> macbookpro:~ carlosrovira$ sudo npm i
>     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
>     >     >     >>
>     >     >     >> Password:
>     >     >     >>
>     >     >     >> /usr/local/bin/asjsc ->
>     >     >     >>
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>     >     >     >>
>     >     >     >> /usr/local/bin/asjscompc ->
>     >     >     >>
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>     >     >     >>
>     >     >     >> /usr/local/bin/mxmlc ->
>     >     >     >>
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>     >     >     >>
>     >     >     >> /usr/local/bin/asnodec ->
>     >     >     >>
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>     >     >     >>
>     >     >     >> /usr/local/bin/compc ->
>     >     >     >>
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>     >     >     >>
>     >     >     >> /usr/local/bin/externc ->
>     >     >     >>
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>     >     >     >>
>     >     >     >>
>     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
>     >     >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>     >     >     >>
>     >     >     >> > node dependencies/download_dependencies.js
>     >     >     >>
>     >     >     >>
>     >     >     >> internal/modules/cjs/loader.js:582
>     >     >     >>
>     >     >     >>     throw err;
>     >     >     >>
>     >     >     >>     ^
>     >     >     >>
>     >     >     >>
>     >     >     >> Error: Cannot find module
>     >     >     >>
>     >     >     >>
>     >     >
>     >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>     >     >     >>
>     >     >     >>     at Function.Module._resolveFilename
>     >     >     >> (internal/modules/cjs/loader.js:580:15)
>     >     >     >>
>     >     >     >>     at Function.Module._load
>     > (internal/modules/cjs/loader.js:506:25)
>     >     >     >>
>     >     >     >>     at Function.Module.runMain
>     >     > (internal/modules/cjs/loader.js:741:12)
>     >     >     >>
>     >     >     >>     at startup (internal/bootstrap/node.js:285:19)
>     >     >     >>
>     >     >     >>     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)
>     >     >     >>
>     >     >     >> npm ERR! code ELIFECYCLE
>     >     >     >>
>     >     >     >> npm ERR! errno 1
>     >     >     >>
>     >     >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
>     > postinstall:
>     >     > `node
>     >     >     >> dependencies/download_dependencies.js`
>     >     >     >>
>     >     >     >> npm ERR! Exit status 1
>     >     >     >>
>     >     >     >> npm ERR!
>     >     >     >>
>     >     >     >> npm ERR! Failed at the
>     > @apache-royale/royale-js-swf@0.9.6-beta0
>     >     >     >> postinstall
>     >     >     >> script.
>     >     >     >>
>     >     >     >> npm ERR! This is probably not a problem with npm. There
> is
>     > likely
>     >     >     >> additional logging output above.
>     >     >     >>
>     >     >     >>
>     >     >     >> npm ERR! A complete log of this run can be found in:
>     >     >     >>
>     >     >     >> npm ERR!
>     >     >     >>
>     > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>     >     >     >>
>     >     >     >> macbookpro:~ carlosrovira$
>     >     >     >>
>     >     >     >>
>     >     >     >>
>     >     >     >>
>     >     >     >>
>     >     >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
>     > harbs.lists@gmail.com>)
>     >     >     >> escribió:
>     >     >     >>
>     >     >     >> > Try sudo.
>     >     >     >> >
>     >     >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
>     >     > carlosrovira@apache.org>
>     >     >     >> > wrote:
>     >     >     >> > >
>     >     >     >> > > Hi Om,
>     >     >     >> > >
>     >     >     >> > > I tried to install now with : npm i
>     >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
>     >     >     >> > > -g
>     >     >     >> > >
>     >     >     >> > > I get this:
>     >     >     >> > >
>     >     >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
>     >     >     >> > >
>     >     >     >> > > macbookpro:~ carlosrovira$ npm i
>     >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0
>     >     >     >> > -g
>     >     >     >> > >
>     >     >     >> > > /usr/local/bin/asjsc ->
>     >     >     >> > >
>     >     >     >> >
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>     >     >     >> > >
>     >     >     >> > > /usr/local/bin/asnodec ->
>     >     >     >> > >
>     >     >     >> >
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>     >     >     >> > >
>     >     >     >> > > /usr/local/bin/mxmlc ->
>     >     >     >> > >
>     >     >     >> >
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>     >     >     >> > >
>     >     >     >> > > /usr/local/bin/asjscompc ->
>     >     >     >> > >
>     >     >     >> >
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>     >     >     >> > >
>     >     >     >> > > /usr/local/bin/compc ->
>     >     >     >> > >
>     >     >     >> >
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>     >     >     >> > >
>     >     >     >> > > /usr/local/bin/externc ->
>     >     >     >> > >
>     >     >     >> >
>     >     >     >>
>     >     >
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>     >     >     >> > >
>     >     >     >> > >
>     >     >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall
>     >     >     >> > >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>     >     >     >> > >
>     >     >     >> > >> node dependencies/download_dependencies.js
>     >     >     >> > >
>     >     >     >> > >
>     >     >     >> > > internal/modules/cjs/loader.js:582
>     >     >     >> > >
>     >     >     >> > >    throw err;
>     >     >     >> > >
>     >     >     >> > >    ^
>     >     >     >> > >
>     >     >     >> > >
>     >     >     >> > > Error: Cannot find module
>     >     >     >> > >
>     >     >     >> >
>     >     >     >>
>     >     >
>     >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>     >     >     >> > >
>     >     >     >> > >    at Function.Module._resolveFilename
>     >     >     >> > > (internal/modules/cjs/loader.js:580:15)
>     >     >     >> > >
>     >     >     >> > >    at Function.Module._load
>     >     > (internal/modules/cjs/loader.js:506:25)
>     >     >     >> > >
>     >     >     >> > >    at Function.Module.runMain
>     >     > (internal/modules/cjs/loader.js:741:12)
>     >     >     >> > >
>     >     >     >> > >    at startup (internal/bootstrap/node.js:285:19)
>     >     >     >> > >
>     >     >     >> > >    at bootstrapNodeJSCore
>     > (internal/bootstrap/node.js:739:3)
>     >     >     >> > >
>     >     >     >> > > npm ERR! code ELIFECYCLE
>     >     >     >> > >
>     >     >     >> > > npm ERR! errno 1
>     >     >     >> > >
>     >     >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
>     > postinstall:
>     >     > `node
>     >     >     >> > > dependencies/download_dependencies.js`
>     >     >     >> > >
>     >     >     >> > > npm ERR! Exit status 1
>     >     >     >> > >
>     >     >     >> > > npm ERR!
>     >     >     >> > >
>     >     >     >> > > npm ERR! Failed at the
>     > @apache-royale/royale-js-swf@0.9.6-beta0
>     >     >     >> > postinstall
>     >     >     >> > > script.
>     >     >     >> > >
>     >     >     >> > > npm ERR! This is probably not a problem with npm.
> There is
>     >     > likely
>     >     >     >> > > additional logging output above.
>     >     >     >> > >
>     >     >     >> > >
>     >     >     >> > > npm ERR! A complete log of this run can be found in:
>     >     >     >> > >
>     >     >     >> > > npm ERR!
>     >     >     >> > >
>     >     >
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
>     >     >     >> > >
>     >     >     >> > > macbookpro:~ carlosrovira$
>     >     >     >> > >
>     >     >     >> > >
>     >     >     >> > >
>     >     >     >> > >
>     >     >     >> > >
>     >     >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash
> Muppirala (<
>     >     >     >> > > bigosmallm@gmail.com>) escribió:
>     >     >     >> > >
>     >     >     >> > >> Carlos,
>     >     >     >> > >>
>     >     >     >> > >> A nice way to test if your installation is working
>     > correctly
>     >     > is to
>     >     >     >> try
>     >     >     >> > it
>     >     >     >> > >> with the npm cli tool.
>     >     >     >> > >>
>     >     >     >> > >> You can install the cli using the command:
>     >     >     >> > >>
>     >     >     >> > >> npm i @apache-royale/cli -g
>     >     >     >> > >>
>     >     >     >> > >> Basically install the royale package, then install
> the
>     > cli
>     >     > package.
>     >     >     >> And
>     >     >     >> > >> follow the instructions here:
>     >     >     >> > >>
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=AoeJOe5gl0L%2F5ouMyTkqq0adTOID3QCGKpYHDvV7g7E%3D&amp;reserved=0
>     >     >     >> > >>
>     >     >     >> > >> Thanks,
>     >     >     >> > >> Om
>     >     >     >> > >>
>     >     >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
>     >     >     >> carlosrovira@apache.org>
>     >     >     >> > >> wrote:
>     >     >     >> > >>
>     >     >     >> > >>> Hi Om,
>     >     >     >> > >>>
>     >     >     >> > >>> since I don't know too much about NPM, I want to
> know
>     > some few
>     >     >     >> things
>     >     >     >> > >> about
>     >     >     >> > >>> the Royale NPM version. Just uninstalled old
> version
>     >     > successfully.
>     >     >     >> > >>>
>     >     >     >> > >>> Now, I'm on Mac. if I install the new one, how
> this
>     > affects my
>     >     >     >> > >> environment?
>     >     >     >> > >>> I suppose that my installation of repos to build
> from
>     > source
>     >     > code is
>     >     >     >> > >>> independent, and NPM installs mxmlc in Terminal
>     > (command line
>     >     >     >> level).
>     >     >     >> > >>>
>     >     >     >> > >>> Then, some easy way to give a quick test that all
> is
>     > working
>     >     > ok? I
>     >     >     >> > >> suppose
>     >     >     >> > >>> that I must go to some example project like Tour
> de
>     > Jewel and
>     >     > try to
>     >     >     >> > >>> compile in terminal with mxmlc right? Can you
> provide a
>     >     > command
>     >     >     >> line to
>     >     >     >> > >> use
>     >     >     >> > >>> for test for example that particular case?
>     >     >     >> > >>>
>     >     >     >> > >>> Thanks!
>     >     >     >> > >>>
>     >     >     >> > >>>
>     >     >     >> > >>>
>     >     >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash
> Muppirala
>     > (<
>     >     >     >> > >>> bigosmallm@gmail.com>) escribió:
>     >     >     >> > >>>
>     >     >     >> > >>>> Hi folks,
>     >     >     >> > >>>>
>     >     >     >> > >>>> Can you please test the beta release and report
> any
>     > errors
>     >     > you are
>     >     >     >> > >>> seeing?
>     >     >     >> > >>>>
>     >     >     >> > >>>> You can test it with these commands:
>     >     >     >> > >>>>
>     >     >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g
> (in case
>     > you
>     >     > already
>     >     >     >> > have
>     >     >     >> > >>> it
>     >     >     >> > >>>> installed)
>     >     >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0
> -g
>     >     >     >> > >>>>
>     >     >     >> > >>>> Thanks,
>     >     >     >> > >>>> Om
>     >     >     >> > >>>>
>     >     >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash
> Muppirala <
>     >     >     >> > >> bigosmallm@gmail.com
>     >     >     >> > >>>>
>     >     >     >> > >>>> wrote:
>     >     >     >> > >>>>
>     >     >     >> > >>>>> Just a heads up, I will be doing some test
> publishes
>     > of the
>     >     > royale
>     >     >     >> > >> npm
>     >     >     >> > >>>>> package.  I will be using the version number:
>     > 0.9.6.beta.1
>     >     >     >> > >>> (0.9.6.beta.2,
>     >     >     >> > >>>>> etc if needed)
>     >     >     >> > >>>>>
>     >     >     >> > >>>>> These fixes are related to these tickets:
>     >     >     >> > >>>>>
>     >     >     >> > >>>>>
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=yDDu5OYZBa1Tb6SAIwvq%2B9EtBxj2RHBGckorUr4hc6k%3D&amp;reserved=0
>     >     >     >> > >>>>>
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=GGE5DthNevVUwV2cYbwJ2eix0ta3c6RlGFkcnMyB9ZM%3D&amp;reserved=0
>     >     >     >> > >>>>>
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=YaHlbh0fdqU0RpTv1ckFU%2BXnrB3ZqJa0ymmTabGoy6E%3D&amp;reserved=0
>     >     >     >> > >>>>>
>     >     >     >> > >>>>> Thanks,
>     >     >     >> > >>>>> Om
>     >     >     >> > >>>>>
>     >     >     >> > >>>>
>     >     >     >> > >>>
>     >     >     >> > >>>
>     >     >     >> > >>> --
>     >     >     >> > >>> Carlos Rovira
>     >     >     >> > >>>
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=mbY9AQjwbD7U4vF8fr0ELNrh6peD3xMe8dOBwJOO9Uo%3D&amp;reserved=0
>     >     >     >> > >>>
>     >     >     >> > >>
>     >     >     >> > >
>     >     >     >> > >
>     >     >     >> > > --
>     >     >     >> > > Carlos Rovira
>     >     >     >> > >
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=mbY9AQjwbD7U4vF8fr0ELNrh6peD3xMe8dOBwJOO9Uo%3D&amp;reserved=0
>     >     >     >> >
>     >     >     >> >
>     >     >     >>
>     >     >     >> --
>     >     >     >> Carlos Rovira
>     >     >     >>
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=mbY9AQjwbD7U4vF8fr0ELNrh6peD3xMe8dOBwJOO9Uo%3D&amp;reserved=0
>     >     >     >>
>     >     >     >
>     >     >
>     >     >
>     >     >
>     >
>     >
>     >
>
>     --
>     Carlos Rovira
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=mbY9AQjwbD7U4vF8fr0ELNrh6peD3xMe8dOBwJOO9Uo%3D&amp;reserved=0
>
>
>

Re: Testing the npm install error fixes

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I was going to try to publish another test package, but the npm/publish.js script is not working for me.  Om, did you use it?  It appears that npm has removed the registry API and we are supposed to use an npm-publish-programmatically module instead?

I may play with that today, so if you see more notifications about publishing npm packages that's probably me.

-Alex

On 9/10/19, 10:17 AM, "Carlos Rovira" <ca...@apache.org> wrote:

    Hi,
    
    I'm all for homebrew in Mac, when I have time and reinstall it to avoid
    sudo, I'll do with homebrew for sure. I have all installed that way.
    
    El mar., 10 sept. 2019 a las 7:26, Alex Harui (<ah...@adobe.com.invalid>)
    escribió:
    
    > I tried to remove node and npm and re-install it without sudo via homebrew.
    >
    > I think I got the same results as Carlos.  FWIW, there is no
    > @apache_royale folder in node_modules.
    >
    > ~$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
    > /usr/local/bin/asjscompc ->
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    > /usr/local/bin/mxmlc ->
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    > /usr/local/bin/asjsc ->
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    > /usr/local/bin/compc ->
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    > /usr/local/bin/asnodec ->
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    > /usr/local/bin/externc ->
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >
    > > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    > > node dependencies/download_dependencies.js
    >
    > internal/modules/cjs/loader.js:775
    >     throw err;
    >     ^
    >
    > Error: Cannot find module
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >     at Function.Module._resolveFilename
    > (internal/modules/cjs/loader.js:772:15)
    >     at Function.Module._load (internal/modules/cjs/loader.js:677:27)
    >     at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
    >     at internal/main/run_main_module.js:17:11 {
    >   code: 'MODULE_NOT_FOUND',
    >   requireStack: []
    > }
    > npm ERR! code ELIFECYCLE
    > npm ERR! errno 1
    > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
    > dependencies/download_dependencies.js`
    > npm ERR! Exit status 1
    > npm ERR!
    > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
    > postinstall script.
    > npm ERR! This is probably not a problem with npm. There is likely
    > additional logging output above.
    >
    > npm ERR! A complete log of this run can be found in:
    > npm ERR!     /Users/aharui/.npm/_logs/2019-09-10T05_01_13_653Z-debug.log
    >
    >
    >
    > On 9/5/19, 9:32 AM, "OmPrakash Muppirala" <bi...@apache.org> wrote:
    >
    >     If you have to use sudo that usually means that your node/npm is not
    > setup
    >     correctly.
    >
    >     Some more info here :
    >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2F%40ExplosionPills%2Fdont-use-sudo-with-npm-still-66e609f5f92&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406595828&amp;sdata=Vn%2FhX91xKLe3o65gVNaTxoQnOeqCqmAZGbYw18BQAbA%3D&amp;reserved=0
    >
    >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fa%2F18296178&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=1T4ME4268RkdBV0TpRmxe0cQGkXVSq0e%2BTkjvny2rbA%3D&amp;reserved=0
    >
    >     That said, this issue is not related to sudo or otherwise.
    >
    >     But it is a good idea to not sudo anything related to npm.  For
    > instance,
    >     our installation scripts downloads and does a bunch of things during
    > the
    >     installation.  Imagine allowing a random script sudo access to your
    >     computer.
    >
    >     Thanks,
    >     Om
    >
    >     On Thu, Sep 5, 2019, 9:00 AM Alex Harui <ah...@adobe.com.invalid>
    > wrote:
    >
    >     > Pretty sure if you use -g on MacOS you need sudo.  However, I don't
    > think
    >     > that's the issue here.
    >     > I think Carlos should post his:
    >     > - dependencies/download_dependencies.js`
    >     > - /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
    >     >
    >     > HTH,
    >     > -Alex
    >     >
    >     > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bi...@gmail.com>
    > wrote:
    >     >
    >     >     And oh, what is your node version?
    >     >
    >     >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
    > bigosmallm@gmail.com
    >     > >
    >     >     wrote:
    >     >
    >     >     > We should never have to install any npm package with sudo.
    >     >     >
    >     >     > I will dig deeper into this and see what I can do.
    >     >     >
    >     >     > Thanks for testing!
    >     >     >
    >     >     > Om
    >     >     >
    >     >     >
    >     >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
    > carlosrovira@apache.org>
    >     >     > wrote:
    >     >     >
    >     >     >> Thanks Harbs,
    >     >     >> that seems not to fix the problem:
    >     >     >>
    >     >     >> macbookpro:~ carlosrovira$ sudo npm i
    >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >     >     >>
    >     >     >> Password:
    >     >     >>
    >     >     >> /usr/local/bin/asjsc ->
    >     >     >>
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >     >     >>
    >     >     >> /usr/local/bin/asjscompc ->
    >     >     >>
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >     >     >>
    >     >     >> /usr/local/bin/mxmlc ->
    >     >     >>
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >     >     >>
    >     >     >> /usr/local/bin/asnodec ->
    >     >     >>
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >     >     >>
    >     >     >> /usr/local/bin/compc ->
    >     >     >>
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >     >     >>
    >     >     >> /usr/local/bin/externc ->
    >     >     >>
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >     >     >>
    >     >     >>
    >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    >     >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >     >     >>
    >     >     >> > node dependencies/download_dependencies.js
    >     >     >>
    >     >     >>
    >     >     >> internal/modules/cjs/loader.js:582
    >     >     >>
    >     >     >>     throw err;
    >     >     >>
    >     >     >>     ^
    >     >     >>
    >     >     >>
    >     >     >> Error: Cannot find module
    >     >     >>
    >     >     >>
    >     >
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >     >     >>
    >     >     >>     at Function.Module._resolveFilename
    >     >     >> (internal/modules/cjs/loader.js:580:15)
    >     >     >>
    >     >     >>     at Function.Module._load
    > (internal/modules/cjs/loader.js:506:25)
    >     >     >>
    >     >     >>     at Function.Module.runMain
    >     > (internal/modules/cjs/loader.js:741:12)
    >     >     >>
    >     >     >>     at startup (internal/bootstrap/node.js:285:19)
    >     >     >>
    >     >     >>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
    >     >     >>
    >     >     >> npm ERR! code ELIFECYCLE
    >     >     >>
    >     >     >> npm ERR! errno 1
    >     >     >>
    >     >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
    > postinstall:
    >     > `node
    >     >     >> dependencies/download_dependencies.js`
    >     >     >>
    >     >     >> npm ERR! Exit status 1
    >     >     >>
    >     >     >> npm ERR!
    >     >     >>
    >     >     >> npm ERR! Failed at the
    > @apache-royale/royale-js-swf@0.9.6-beta0
    >     >     >> postinstall
    >     >     >> script.
    >     >     >>
    >     >     >> npm ERR! This is probably not a problem with npm. There is
    > likely
    >     >     >> additional logging output above.
    >     >     >>
    >     >     >>
    >     >     >> npm ERR! A complete log of this run can be found in:
    >     >     >>
    >     >     >> npm ERR!
    >     >     >>
    > /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
    >     >     >>
    >     >     >> macbookpro:~ carlosrovira$
    >     >     >>
    >     >     >>
    >     >     >>
    >     >     >>
    >     >     >>
    >     >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
    > harbs.lists@gmail.com>)
    >     >     >> escribió:
    >     >     >>
    >     >     >> > Try sudo.
    >     >     >> >
    >     >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
    >     > carlosrovira@apache.org>
    >     >     >> > wrote:
    >     >     >> > >
    >     >     >> > > Hi Om,
    >     >     >> > >
    >     >     >> > > I tried to install now with : npm i
    >     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
    >     >     >> > > -g
    >     >     >> > >
    >     >     >> > > I get this:
    >     >     >> > >
    >     >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
    >     >     >> > >
    >     >     >> > > macbookpro:~ carlosrovira$ npm i
    >     >     >> @apache-royale/royale-js-swf@0.9.6-beta0
    >     >     >> > -g
    >     >     >> > >
    >     >     >> > > /usr/local/bin/asjsc ->
    >     >     >> > >
    >     >     >> >
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >     >     >> > >
    >     >     >> > > /usr/local/bin/asnodec ->
    >     >     >> > >
    >     >     >> >
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >     >     >> > >
    >     >     >> > > /usr/local/bin/mxmlc ->
    >     >     >> > >
    >     >     >> >
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >     >     >> > >
    >     >     >> > > /usr/local/bin/asjscompc ->
    >     >     >> > >
    >     >     >> >
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >     >     >> > >
    >     >     >> > > /usr/local/bin/compc ->
    >     >     >> > >
    >     >     >> >
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >     >     >> > >
    >     >     >> > > /usr/local/bin/externc ->
    >     >     >> > >
    >     >     >> >
    >     >     >>
    >     >
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >     >     >> > >
    >     >     >> > >
    >     >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    >     >     >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >     >     >> > >
    >     >     >> > >> node dependencies/download_dependencies.js
    >     >     >> > >
    >     >     >> > >
    >     >     >> > > internal/modules/cjs/loader.js:582
    >     >     >> > >
    >     >     >> > >    throw err;
    >     >     >> > >
    >     >     >> > >    ^
    >     >     >> > >
    >     >     >> > >
    >     >     >> > > Error: Cannot find module
    >     >     >> > >
    >     >     >> >
    >     >     >>
    >     >
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >     >     >> > >
    >     >     >> > >    at Function.Module._resolveFilename
    >     >     >> > > (internal/modules/cjs/loader.js:580:15)
    >     >     >> > >
    >     >     >> > >    at Function.Module._load
    >     > (internal/modules/cjs/loader.js:506:25)
    >     >     >> > >
    >     >     >> > >    at Function.Module.runMain
    >     > (internal/modules/cjs/loader.js:741:12)
    >     >     >> > >
    >     >     >> > >    at startup (internal/bootstrap/node.js:285:19)
    >     >     >> > >
    >     >     >> > >    at bootstrapNodeJSCore
    > (internal/bootstrap/node.js:739:3)
    >     >     >> > >
    >     >     >> > > npm ERR! code ELIFECYCLE
    >     >     >> > >
    >     >     >> > > npm ERR! errno 1
    >     >     >> > >
    >     >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
    > postinstall:
    >     > `node
    >     >     >> > > dependencies/download_dependencies.js`
    >     >     >> > >
    >     >     >> > > npm ERR! Exit status 1
    >     >     >> > >
    >     >     >> > > npm ERR!
    >     >     >> > >
    >     >     >> > > npm ERR! Failed at the
    > @apache-royale/royale-js-swf@0.9.6-beta0
    >     >     >> > postinstall
    >     >     >> > > script.
    >     >     >> > >
    >     >     >> > > npm ERR! This is probably not a problem with npm. There is
    >     > likely
    >     >     >> > > additional logging output above.
    >     >     >> > >
    >     >     >> > >
    >     >     >> > > npm ERR! A complete log of this run can be found in:
    >     >     >> > >
    >     >     >> > > npm ERR!
    >     >     >> > >
    >     > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
    >     >     >> > >
    >     >     >> > > macbookpro:~ carlosrovira$
    >     >     >> > >
    >     >     >> > >
    >     >     >> > >
    >     >     >> > >
    >     >     >> > >
    >     >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
    >     >     >> > > bigosmallm@gmail.com>) escribió:
    >     >     >> > >
    >     >     >> > >> Carlos,
    >     >     >> > >>
    >     >     >> > >> A nice way to test if your installation is working
    > correctly
    >     > is to
    >     >     >> try
    >     >     >> > it
    >     >     >> > >> with the npm cli tool.
    >     >     >> > >>
    >     >     >> > >> You can install the cli using the command:
    >     >     >> > >>
    >     >     >> > >> npm i @apache-royale/cli -g
    >     >     >> > >>
    >     >     >> > >> Basically install the royale package, then install the
    > cli
    >     > package.
    >     >     >> And
    >     >     >> > >> follow the instructions here:
    >     >     >> > >>
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=AoeJOe5gl0L%2F5ouMyTkqq0adTOID3QCGKpYHDvV7g7E%3D&amp;reserved=0
    >     >     >> > >>
    >     >     >> > >> Thanks,
    >     >     >> > >> Om
    >     >     >> > >>
    >     >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
    >     >     >> carlosrovira@apache.org>
    >     >     >> > >> wrote:
    >     >     >> > >>
    >     >     >> > >>> Hi Om,
    >     >     >> > >>>
    >     >     >> > >>> since I don't know too much about NPM, I want to know
    > some few
    >     >     >> things
    >     >     >> > >> about
    >     >     >> > >>> the Royale NPM version. Just uninstalled old version
    >     > successfully.
    >     >     >> > >>>
    >     >     >> > >>> Now, I'm on Mac. if I install the new one, how this
    > affects my
    >     >     >> > >> environment?
    >     >     >> > >>> I suppose that my installation of repos to build from
    > source
    >     > code is
    >     >     >> > >>> independent, and NPM installs mxmlc in Terminal
    > (command line
    >     >     >> level).
    >     >     >> > >>>
    >     >     >> > >>> Then, some easy way to give a quick test that all is
    > working
    >     > ok? I
    >     >     >> > >> suppose
    >     >     >> > >>> that I must go to some example project like Tour de
    > Jewel and
    >     > try to
    >     >     >> > >>> compile in terminal with mxmlc right? Can you provide a
    >     > command
    >     >     >> line to
    >     >     >> > >> use
    >     >     >> > >>> for test for example that particular case?
    >     >     >> > >>>
    >     >     >> > >>> Thanks!
    >     >     >> > >>>
    >     >     >> > >>>
    >     >     >> > >>>
    >     >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala
    > (<
    >     >     >> > >>> bigosmallm@gmail.com>) escribió:
    >     >     >> > >>>
    >     >     >> > >>>> Hi folks,
    >     >     >> > >>>>
    >     >     >> > >>>> Can you please test the beta release and report any
    > errors
    >     > you are
    >     >     >> > >>> seeing?
    >     >     >> > >>>>
    >     >     >> > >>>> You can test it with these commands:
    >     >     >> > >>>>
    >     >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case
    > you
    >     > already
    >     >     >> > have
    >     >     >> > >>> it
    >     >     >> > >>>> installed)
    >     >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >     >     >> > >>>>
    >     >     >> > >>>> Thanks,
    >     >     >> > >>>> Om
    >     >     >> > >>>>
    >     >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
    >     >     >> > >> bigosmallm@gmail.com
    >     >     >> > >>>>
    >     >     >> > >>>> wrote:
    >     >     >> > >>>>
    >     >     >> > >>>>> Just a heads up, I will be doing some test publishes
    > of the
    >     > royale
    >     >     >> > >> npm
    >     >     >> > >>>>> package.  I will be using the version number:
    > 0.9.6.beta.1
    >     >     >> > >>> (0.9.6.beta.2,
    >     >     >> > >>>>> etc if needed)
    >     >     >> > >>>>>
    >     >     >> > >>>>> These fixes are related to these tickets:
    >     >     >> > >>>>>
    >     >     >> > >>>>>
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=yDDu5OYZBa1Tb6SAIwvq%2B9EtBxj2RHBGckorUr4hc6k%3D&amp;reserved=0
    >     >     >> > >>>>>
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=GGE5DthNevVUwV2cYbwJ2eix0ta3c6RlGFkcnMyB9ZM%3D&amp;reserved=0
    >     >     >> > >>>>>
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=YaHlbh0fdqU0RpTv1ckFU%2BXnrB3ZqJa0ymmTabGoy6E%3D&amp;reserved=0
    >     >     >> > >>>>>
    >     >     >> > >>>>> Thanks,
    >     >     >> > >>>>> Om
    >     >     >> > >>>>>
    >     >     >> > >>>>
    >     >     >> > >>>
    >     >     >> > >>>
    >     >     >> > >>> --
    >     >     >> > >>> Carlos Rovira
    >     >     >> > >>>
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=mbY9AQjwbD7U4vF8fr0ELNrh6peD3xMe8dOBwJOO9Uo%3D&amp;reserved=0
    >     >     >> > >>>
    >     >     >> > >>
    >     >     >> > >
    >     >     >> > >
    >     >     >> > > --
    >     >     >> > > Carlos Rovira
    >     >     >> > >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=mbY9AQjwbD7U4vF8fr0ELNrh6peD3xMe8dOBwJOO9Uo%3D&amp;reserved=0
    >     >     >> >
    >     >     >> >
    >     >     >>
    >     >     >> --
    >     >     >> Carlos Rovira
    >     >     >>
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=mbY9AQjwbD7U4vF8fr0ELNrh6peD3xMe8dOBwJOO9Uo%3D&amp;reserved=0
    >     >     >>
    >     >     >
    >     >
    >     >
    >     >
    >
    >
    >
    
    -- 
    Carlos Rovira
    https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C31522b49bf6a4dc99edb08d73612bbda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637037326406605829&amp;sdata=mbY9AQjwbD7U4vF8fr0ELNrh6peD3xMe8dOBwJOO9Uo%3D&amp;reserved=0
    


Re: Testing the npm install error fixes

Posted by Carlos Rovira <ca...@apache.org>.
Hi,

I'm all for homebrew in Mac, when I have time and reinstall it to avoid
sudo, I'll do with homebrew for sure. I have all installed that way.

El mar., 10 sept. 2019 a las 7:26, Alex Harui (<ah...@adobe.com.invalid>)
escribió:

> I tried to remove node and npm and re-install it without sudo via homebrew.
>
> I think I got the same results as Carlos.  FWIW, there is no
> @apache_royale folder in node_modules.
>
> ~$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> /usr/local/bin/asjscompc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> /usr/local/bin/mxmlc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> /usr/local/bin/asjsc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> /usr/local/bin/compc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> /usr/local/bin/asnodec ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> /usr/local/bin/externc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>
> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > node dependencies/download_dependencies.js
>
> internal/modules/cjs/loader.js:775
>     throw err;
>     ^
>
> Error: Cannot find module
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:772:15)
>     at Function.Module._load (internal/modules/cjs/loader.js:677:27)
>     at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
>     at internal/main/run_main_module.js:17:11 {
>   code: 'MODULE_NOT_FOUND',
>   requireStack: []
> }
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
> dependencies/download_dependencies.js`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall script.
> npm ERR! This is probably not a problem with npm. There is likely
> additional logging output above.
>
> npm ERR! A complete log of this run can be found in:
> npm ERR!     /Users/aharui/.npm/_logs/2019-09-10T05_01_13_653Z-debug.log
>
>
>
> On 9/5/19, 9:32 AM, "OmPrakash Muppirala" <bi...@apache.org> wrote:
>
>     If you have to use sudo that usually means that your node/npm is not
> setup
>     correctly.
>
>     Some more info here :
>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2F%40ExplosionPills%2Fdont-use-sudo-with-npm-still-66e609f5f92&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=shG6aUIsl96Nv7fKvoHPds6OdzlEoWTzVzxaKlwtesY%3D&amp;reserved=0
>
>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fa%2F18296178&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=o4KtwJ5zaQcsNmxqLb%2Bj%2FJ5phxS9F5UhqMrnVOvw%2Bt0%3D&amp;reserved=0
>
>     That said, this issue is not related to sudo or otherwise.
>
>     But it is a good idea to not sudo anything related to npm.  For
> instance,
>     our installation scripts downloads and does a bunch of things during
> the
>     installation.  Imagine allowing a random script sudo access to your
>     computer.
>
>     Thanks,
>     Om
>
>     On Thu, Sep 5, 2019, 9:00 AM Alex Harui <ah...@adobe.com.invalid>
> wrote:
>
>     > Pretty sure if you use -g on MacOS you need sudo.  However, I don't
> think
>     > that's the issue here.
>     > I think Carlos should post his:
>     > - dependencies/download_dependencies.js`
>     > - /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>     >
>     > HTH,
>     > -Alex
>     >
>     > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bi...@gmail.com>
> wrote:
>     >
>     >     And oh, what is your node version?
>     >
>     >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
> bigosmallm@gmail.com
>     > >
>     >     wrote:
>     >
>     >     > We should never have to install any npm package with sudo.
>     >     >
>     >     > I will dig deeper into this and see what I can do.
>     >     >
>     >     > Thanks for testing!
>     >     >
>     >     > Om
>     >     >
>     >     >
>     >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <
> carlosrovira@apache.org>
>     >     > wrote:
>     >     >
>     >     >> Thanks Harbs,
>     >     >> that seems not to fix the problem:
>     >     >>
>     >     >> macbookpro:~ carlosrovira$ sudo npm i
>     >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
>     >     >>
>     >     >> Password:
>     >     >>
>     >     >> /usr/local/bin/asjsc ->
>     >     >>
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>     >     >>
>     >     >> /usr/local/bin/asjscompc ->
>     >     >>
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>     >     >>
>     >     >> /usr/local/bin/mxmlc ->
>     >     >>
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>     >     >>
>     >     >> /usr/local/bin/asnodec ->
>     >     >>
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>     >     >>
>     >     >> /usr/local/bin/compc ->
>     >     >>
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>     >     >>
>     >     >> /usr/local/bin/externc ->
>     >     >>
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>     >     >>
>     >     >>
>     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
>     >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>     >     >>
>     >     >> > node dependencies/download_dependencies.js
>     >     >>
>     >     >>
>     >     >> internal/modules/cjs/loader.js:582
>     >     >>
>     >     >>     throw err;
>     >     >>
>     >     >>     ^
>     >     >>
>     >     >>
>     >     >> Error: Cannot find module
>     >     >>
>     >     >>
>     >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>     >     >>
>     >     >>     at Function.Module._resolveFilename
>     >     >> (internal/modules/cjs/loader.js:580:15)
>     >     >>
>     >     >>     at Function.Module._load
> (internal/modules/cjs/loader.js:506:25)
>     >     >>
>     >     >>     at Function.Module.runMain
>     > (internal/modules/cjs/loader.js:741:12)
>     >     >>
>     >     >>     at startup (internal/bootstrap/node.js:285:19)
>     >     >>
>     >     >>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
>     >     >>
>     >     >> npm ERR! code ELIFECYCLE
>     >     >>
>     >     >> npm ERR! errno 1
>     >     >>
>     >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall:
>     > `node
>     >     >> dependencies/download_dependencies.js`
>     >     >>
>     >     >> npm ERR! Exit status 1
>     >     >>
>     >     >> npm ERR!
>     >     >>
>     >     >> npm ERR! Failed at the
> @apache-royale/royale-js-swf@0.9.6-beta0
>     >     >> postinstall
>     >     >> script.
>     >     >>
>     >     >> npm ERR! This is probably not a problem with npm. There is
> likely
>     >     >> additional logging output above.
>     >     >>
>     >     >>
>     >     >> npm ERR! A complete log of this run can be found in:
>     >     >>
>     >     >> npm ERR!
>     >     >>
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>     >     >>
>     >     >> macbookpro:~ carlosrovira$
>     >     >>
>     >     >>
>     >     >>
>     >     >>
>     >     >>
>     >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<
> harbs.lists@gmail.com>)
>     >     >> escribió:
>     >     >>
>     >     >> > Try sudo.
>     >     >> >
>     >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
>     > carlosrovira@apache.org>
>     >     >> > wrote:
>     >     >> > >
>     >     >> > > Hi Om,
>     >     >> > >
>     >     >> > > I tried to install now with : npm i
>     >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
>     >     >> > > -g
>     >     >> > >
>     >     >> > > I get this:
>     >     >> > >
>     >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
>     >     >> > >
>     >     >> > > macbookpro:~ carlosrovira$ npm i
>     >     >> @apache-royale/royale-js-swf@0.9.6-beta0
>     >     >> > -g
>     >     >> > >
>     >     >> > > /usr/local/bin/asjsc ->
>     >     >> > >
>     >     >> >
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>     >     >> > >
>     >     >> > > /usr/local/bin/asnodec ->
>     >     >> > >
>     >     >> >
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>     >     >> > >
>     >     >> > > /usr/local/bin/mxmlc ->
>     >     >> > >
>     >     >> >
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>     >     >> > >
>     >     >> > > /usr/local/bin/asjscompc ->
>     >     >> > >
>     >     >> >
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>     >     >> > >
>     >     >> > > /usr/local/bin/compc ->
>     >     >> > >
>     >     >> >
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>     >     >> > >
>     >     >> > > /usr/local/bin/externc ->
>     >     >> > >
>     >     >> >
>     >     >>
>     >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>     >     >> > >
>     >     >> > >
>     >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
>     >     >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>     >     >> > >
>     >     >> > >> node dependencies/download_dependencies.js
>     >     >> > >
>     >     >> > >
>     >     >> > > internal/modules/cjs/loader.js:582
>     >     >> > >
>     >     >> > >    throw err;
>     >     >> > >
>     >     >> > >    ^
>     >     >> > >
>     >     >> > >
>     >     >> > > Error: Cannot find module
>     >     >> > >
>     >     >> >
>     >     >>
>     >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>     >     >> > >
>     >     >> > >    at Function.Module._resolveFilename
>     >     >> > > (internal/modules/cjs/loader.js:580:15)
>     >     >> > >
>     >     >> > >    at Function.Module._load
>     > (internal/modules/cjs/loader.js:506:25)
>     >     >> > >
>     >     >> > >    at Function.Module.runMain
>     > (internal/modules/cjs/loader.js:741:12)
>     >     >> > >
>     >     >> > >    at startup (internal/bootstrap/node.js:285:19)
>     >     >> > >
>     >     >> > >    at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)
>     >     >> > >
>     >     >> > > npm ERR! code ELIFECYCLE
>     >     >> > >
>     >     >> > > npm ERR! errno 1
>     >     >> > >
>     >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall:
>     > `node
>     >     >> > > dependencies/download_dependencies.js`
>     >     >> > >
>     >     >> > > npm ERR! Exit status 1
>     >     >> > >
>     >     >> > > npm ERR!
>     >     >> > >
>     >     >> > > npm ERR! Failed at the
> @apache-royale/royale-js-swf@0.9.6-beta0
>     >     >> > postinstall
>     >     >> > > script.
>     >     >> > >
>     >     >> > > npm ERR! This is probably not a problem with npm. There is
>     > likely
>     >     >> > > additional logging output above.
>     >     >> > >
>     >     >> > >
>     >     >> > > npm ERR! A complete log of this run can be found in:
>     >     >> > >
>     >     >> > > npm ERR!
>     >     >> > >
>     > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
>     >     >> > >
>     >     >> > > macbookpro:~ carlosrovira$
>     >     >> > >
>     >     >> > >
>     >     >> > >
>     >     >> > >
>     >     >> > >
>     >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
>     >     >> > > bigosmallm@gmail.com>) escribió:
>     >     >> > >
>     >     >> > >> Carlos,
>     >     >> > >>
>     >     >> > >> A nice way to test if your installation is working
> correctly
>     > is to
>     >     >> try
>     >     >> > it
>     >     >> > >> with the npm cli tool.
>     >     >> > >>
>     >     >> > >> You can install the cli using the command:
>     >     >> > >>
>     >     >> > >> npm i @apache-royale/cli -g
>     >     >> > >>
>     >     >> > >> Basically install the royale package, then install the
> cli
>     > package.
>     >     >> And
>     >     >> > >> follow the instructions here:
>     >     >> > >>
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=Q4SCemz60MEw72R4tQgXuR1g%2BAhfH%2F27SRc4H6C%2Bd3w%3D&amp;reserved=0
>     >     >> > >>
>     >     >> > >> Thanks,
>     >     >> > >> Om
>     >     >> > >>
>     >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
>     >     >> carlosrovira@apache.org>
>     >     >> > >> wrote:
>     >     >> > >>
>     >     >> > >>> Hi Om,
>     >     >> > >>>
>     >     >> > >>> since I don't know too much about NPM, I want to know
> some few
>     >     >> things
>     >     >> > >> about
>     >     >> > >>> the Royale NPM version. Just uninstalled old version
>     > successfully.
>     >     >> > >>>
>     >     >> > >>> Now, I'm on Mac. if I install the new one, how this
> affects my
>     >     >> > >> environment?
>     >     >> > >>> I suppose that my installation of repos to build from
> source
>     > code is
>     >     >> > >>> independent, and NPM installs mxmlc in Terminal
> (command line
>     >     >> level).
>     >     >> > >>>
>     >     >> > >>> Then, some easy way to give a quick test that all is
> working
>     > ok? I
>     >     >> > >> suppose
>     >     >> > >>> that I must go to some example project like Tour de
> Jewel and
>     > try to
>     >     >> > >>> compile in terminal with mxmlc right? Can you provide a
>     > command
>     >     >> line to
>     >     >> > >> use
>     >     >> > >>> for test for example that particular case?
>     >     >> > >>>
>     >     >> > >>> Thanks!
>     >     >> > >>>
>     >     >> > >>>
>     >     >> > >>>
>     >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala
> (<
>     >     >> > >>> bigosmallm@gmail.com>) escribió:
>     >     >> > >>>
>     >     >> > >>>> Hi folks,
>     >     >> > >>>>
>     >     >> > >>>> Can you please test the beta release and report any
> errors
>     > you are
>     >     >> > >>> seeing?
>     >     >> > >>>>
>     >     >> > >>>> You can test it with these commands:
>     >     >> > >>>>
>     >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case
> you
>     > already
>     >     >> > have
>     >     >> > >>> it
>     >     >> > >>>> installed)
>     >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
>     >     >> > >>>>
>     >     >> > >>>> Thanks,
>     >     >> > >>>> Om
>     >     >> > >>>>
>     >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
>     >     >> > >> bigosmallm@gmail.com
>     >     >> > >>>>
>     >     >> > >>>> wrote:
>     >     >> > >>>>
>     >     >> > >>>>> Just a heads up, I will be doing some test publishes
> of the
>     > royale
>     >     >> > >> npm
>     >     >> > >>>>> package.  I will be using the version number:
> 0.9.6.beta.1
>     >     >> > >>> (0.9.6.beta.2,
>     >     >> > >>>>> etc if needed)
>     >     >> > >>>>>
>     >     >> > >>>>> These fixes are related to these tickets:
>     >     >> > >>>>>
>     >     >> > >>>>>
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=ZRH4ggjcXZOAE7SiHKdwWeVEQQXQblZnX30QZB8G9Vs%3D&amp;reserved=0
>     >     >> > >>>>>
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=UDXwGYqD69n7h9Fq1KlGOVjB20ak2zb1ZN2vbFGV%2BUU%3D&amp;reserved=0
>     >     >> > >>>>>
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=Bi8Z2hYTm8I61uqdYlUEEBDBQEjLJSDyDPHVXvp39%2F8%3D&amp;reserved=0
>     >     >> > >>>>>
>     >     >> > >>>>> Thanks,
>     >     >> > >>>>> Om
>     >     >> > >>>>>
>     >     >> > >>>>
>     >     >> > >>>
>     >     >> > >>>
>     >     >> > >>> --
>     >     >> > >>> Carlos Rovira
>     >     >> > >>>
>     >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=Xoed4U85Min1ZIMl9S6H2E4QBig24vhV3ZwV7I2Y89M%3D&amp;reserved=0
>     >     >> > >>>
>     >     >> > >>
>     >     >> > >
>     >     >> > >
>     >     >> > > --
>     >     >> > > Carlos Rovira
>     >     >> > >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=Xoed4U85Min1ZIMl9S6H2E4QBig24vhV3ZwV7I2Y89M%3D&amp;reserved=0
>     >     >> >
>     >     >> >
>     >     >>
>     >     >> --
>     >     >> Carlos Rovira
>     >     >>
>     >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678307873&amp;sdata=%2BKpjGoVjEG8f%2BYFoJmleF6OYDS2mRKzGJ5vNpfps%2Bk4%3D&amp;reserved=0
>     >     >>
>     >     >
>     >
>     >
>     >
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Testing the npm install error fixes

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I tried to remove node and npm and re-install it without sudo via homebrew.

I think I got the same results as Carlos.  FWIW, there is no @apache_royale folder in node_modules.

~$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
/usr/local/bin/asjscompc -> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
/usr/local/bin/mxmlc -> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
/usr/local/bin/asjsc -> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
/usr/local/bin/compc -> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
/usr/local/bin/asnodec -> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
/usr/local/bin/externc -> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm

> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> node dependencies/download_dependencies.js

internal/modules/cjs/loader.js:775
    throw err;
    ^

Error: Cannot find module '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:772:15)
    at Function.Module._load (internal/modules/cjs/loader.js:677:27)
    at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
    at internal/main/run_main_module.js:17:11 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node dependencies/download_dependencies.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/aharui/.npm/_logs/2019-09-10T05_01_13_653Z-debug.log



On 9/5/19, 9:32 AM, "OmPrakash Muppirala" <bi...@apache.org> wrote:

    If you have to use sudo that usually means that your node/npm is not setup
    correctly.
    
    Some more info here :
    https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2F%40ExplosionPills%2Fdont-use-sudo-with-npm-still-66e609f5f92&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=shG6aUIsl96Nv7fKvoHPds6OdzlEoWTzVzxaKlwtesY%3D&amp;reserved=0
    
    https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fa%2F18296178&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=o4KtwJ5zaQcsNmxqLb%2Bj%2FJ5phxS9F5UhqMrnVOvw%2Bt0%3D&amp;reserved=0
    
    That said, this issue is not related to sudo or otherwise.
    
    But it is a good idea to not sudo anything related to npm.  For instance,
    our installation scripts downloads and does a bunch of things during the
    installation.  Imagine allowing a random script sudo access to your
    computer.
    
    Thanks,
    Om
    
    On Thu, Sep 5, 2019, 9:00 AM Alex Harui <ah...@adobe.com.invalid> wrote:
    
    > Pretty sure if you use -g on MacOS you need sudo.  However, I don't think
    > that's the issue here.
    > I think Carlos should post his:
    > - dependencies/download_dependencies.js`
    > - /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
    >
    > HTH,
    > -Alex
    >
    > On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
    >
    >     And oh, what is your node version?
    >
    >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <bigosmallm@gmail.com
    > >
    >     wrote:
    >
    >     > We should never have to install any npm package with sudo.
    >     >
    >     > I will dig deeper into this and see what I can do.
    >     >
    >     > Thanks for testing!
    >     >
    >     > Om
    >     >
    >     >
    >     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <ca...@apache.org>
    >     > wrote:
    >     >
    >     >> Thanks Harbs,
    >     >> that seems not to fix the problem:
    >     >>
    >     >> macbookpro:~ carlosrovira$ sudo npm i
    >     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >     >>
    >     >> Password:
    >     >>
    >     >> /usr/local/bin/asjsc ->
    >     >>
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >     >>
    >     >> /usr/local/bin/asjscompc ->
    >     >>
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >     >>
    >     >> /usr/local/bin/mxmlc ->
    >     >>
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >     >>
    >     >> /usr/local/bin/asnodec ->
    >     >>
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >     >>
    >     >> /usr/local/bin/compc ->
    >     >>
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >     >>
    >     >> /usr/local/bin/externc ->
    >     >>
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >     >>
    >     >>
    >     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    >     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >     >>
    >     >> > node dependencies/download_dependencies.js
    >     >>
    >     >>
    >     >> internal/modules/cjs/loader.js:582
    >     >>
    >     >>     throw err;
    >     >>
    >     >>     ^
    >     >>
    >     >>
    >     >> Error: Cannot find module
    >     >>
    >     >>
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >     >>
    >     >>     at Function.Module._resolveFilename
    >     >> (internal/modules/cjs/loader.js:580:15)
    >     >>
    >     >>     at Function.Module._load (internal/modules/cjs/loader.js:506:25)
    >     >>
    >     >>     at Function.Module.runMain
    > (internal/modules/cjs/loader.js:741:12)
    >     >>
    >     >>     at startup (internal/bootstrap/node.js:285:19)
    >     >>
    >     >>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
    >     >>
    >     >> npm ERR! code ELIFECYCLE
    >     >>
    >     >> npm ERR! errno 1
    >     >>
    >     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall:
    > `node
    >     >> dependencies/download_dependencies.js`
    >     >>
    >     >> npm ERR! Exit status 1
    >     >>
    >     >> npm ERR!
    >     >>
    >     >> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
    >     >> postinstall
    >     >> script.
    >     >>
    >     >> npm ERR! This is probably not a problem with npm. There is likely
    >     >> additional logging output above.
    >     >>
    >     >>
    >     >> npm ERR! A complete log of this run can be found in:
    >     >>
    >     >> npm ERR!
    >     >> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
    >     >>
    >     >> macbookpro:~ carlosrovira$
    >     >>
    >     >>
    >     >>
    >     >>
    >     >>
    >     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<ha...@gmail.com>)
    >     >> escribió:
    >     >>
    >     >> > Try sudo.
    >     >> >
    >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
    > carlosrovira@apache.org>
    >     >> > wrote:
    >     >> > >
    >     >> > > Hi Om,
    >     >> > >
    >     >> > > I tried to install now with : npm i
    >     >> > @apache-royale/royale-js-swf@0.9.6-beta0
    >     >> > > -g
    >     >> > >
    >     >> > > I get this:
    >     >> > >
    >     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
    >     >> > >
    >     >> > > macbookpro:~ carlosrovira$ npm i
    >     >> @apache-royale/royale-js-swf@0.9.6-beta0
    >     >> > -g
    >     >> > >
    >     >> > > /usr/local/bin/asjsc ->
    >     >> > >
    >     >> >
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >     >> > >
    >     >> > > /usr/local/bin/asnodec ->
    >     >> > >
    >     >> >
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >     >> > >
    >     >> > > /usr/local/bin/mxmlc ->
    >     >> > >
    >     >> >
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >     >> > >
    >     >> > > /usr/local/bin/asjscompc ->
    >     >> > >
    >     >> >
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >     >> > >
    >     >> > > /usr/local/bin/compc ->
    >     >> > >
    >     >> >
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >     >> > >
    >     >> > > /usr/local/bin/externc ->
    >     >> > >
    >     >> >
    >     >>
    > /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >     >> > >
    >     >> > >
    >     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    >     >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >     >> > >
    >     >> > >> node dependencies/download_dependencies.js
    >     >> > >
    >     >> > >
    >     >> > > internal/modules/cjs/loader.js:582
    >     >> > >
    >     >> > >    throw err;
    >     >> > >
    >     >> > >    ^
    >     >> > >
    >     >> > >
    >     >> > > Error: Cannot find module
    >     >> > >
    >     >> >
    >     >>
    > '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >     >> > >
    >     >> > >    at Function.Module._resolveFilename
    >     >> > > (internal/modules/cjs/loader.js:580:15)
    >     >> > >
    >     >> > >    at Function.Module._load
    > (internal/modules/cjs/loader.js:506:25)
    >     >> > >
    >     >> > >    at Function.Module.runMain
    > (internal/modules/cjs/loader.js:741:12)
    >     >> > >
    >     >> > >    at startup (internal/bootstrap/node.js:285:19)
    >     >> > >
    >     >> > >    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
    >     >> > >
    >     >> > > npm ERR! code ELIFECYCLE
    >     >> > >
    >     >> > > npm ERR! errno 1
    >     >> > >
    >     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall:
    > `node
    >     >> > > dependencies/download_dependencies.js`
    >     >> > >
    >     >> > > npm ERR! Exit status 1
    >     >> > >
    >     >> > > npm ERR!
    >     >> > >
    >     >> > > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
    >     >> > postinstall
    >     >> > > script.
    >     >> > >
    >     >> > > npm ERR! This is probably not a problem with npm. There is
    > likely
    >     >> > > additional logging output above.
    >     >> > >
    >     >> > >
    >     >> > > npm ERR! A complete log of this run can be found in:
    >     >> > >
    >     >> > > npm ERR!
    >     >> > >
    > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
    >     >> > >
    >     >> > > macbookpro:~ carlosrovira$
    >     >> > >
    >     >> > >
    >     >> > >
    >     >> > >
    >     >> > >
    >     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
    >     >> > > bigosmallm@gmail.com>) escribió:
    >     >> > >
    >     >> > >> Carlos,
    >     >> > >>
    >     >> > >> A nice way to test if your installation is working correctly
    > is to
    >     >> try
    >     >> > it
    >     >> > >> with the npm cli tool.
    >     >> > >>
    >     >> > >> You can install the cli using the command:
    >     >> > >>
    >     >> > >> npm i @apache-royale/cli -g
    >     >> > >>
    >     >> > >> Basically install the royale package, then install the cli
    > package.
    >     >> And
    >     >> > >> follow the instructions here:
    >     >> > >>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=Q4SCemz60MEw72R4tQgXuR1g%2BAhfH%2F27SRc4H6C%2Bd3w%3D&amp;reserved=0
    >     >> > >>
    >     >> > >> Thanks,
    >     >> > >> Om
    >     >> > >>
    >     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
    >     >> carlosrovira@apache.org>
    >     >> > >> wrote:
    >     >> > >>
    >     >> > >>> Hi Om,
    >     >> > >>>
    >     >> > >>> since I don't know too much about NPM, I want to know some few
    >     >> things
    >     >> > >> about
    >     >> > >>> the Royale NPM version. Just uninstalled old version
    > successfully.
    >     >> > >>>
    >     >> > >>> Now, I'm on Mac. if I install the new one, how this affects my
    >     >> > >> environment?
    >     >> > >>> I suppose that my installation of repos to build from source
    > code is
    >     >> > >>> independent, and NPM installs mxmlc in Terminal (command line
    >     >> level).
    >     >> > >>>
    >     >> > >>> Then, some easy way to give a quick test that all is working
    > ok? I
    >     >> > >> suppose
    >     >> > >>> that I must go to some example project like Tour de Jewel and
    > try to
    >     >> > >>> compile in terminal with mxmlc right? Can you provide a
    > command
    >     >> line to
    >     >> > >> use
    >     >> > >>> for test for example that particular case?
    >     >> > >>>
    >     >> > >>> Thanks!
    >     >> > >>>
    >     >> > >>>
    >     >> > >>>
    >     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
    >     >> > >>> bigosmallm@gmail.com>) escribió:
    >     >> > >>>
    >     >> > >>>> Hi folks,
    >     >> > >>>>
    >     >> > >>>> Can you please test the beta release and report any errors
    > you are
    >     >> > >>> seeing?
    >     >> > >>>>
    >     >> > >>>> You can test it with these commands:
    >     >> > >>>>
    >     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case you
    > already
    >     >> > have
    >     >> > >>> it
    >     >> > >>>> installed)
    >     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >     >> > >>>>
    >     >> > >>>> Thanks,
    >     >> > >>>> Om
    >     >> > >>>>
    >     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
    >     >> > >> bigosmallm@gmail.com
    >     >> > >>>>
    >     >> > >>>> wrote:
    >     >> > >>>>
    >     >> > >>>>> Just a heads up, I will be doing some test publishes of the
    > royale
    >     >> > >> npm
    >     >> > >>>>> package.  I will be using the version number: 0.9.6.beta.1
    >     >> > >>> (0.9.6.beta.2,
    >     >> > >>>>> etc if needed)
    >     >> > >>>>>
    >     >> > >>>>> These fixes are related to these tickets:
    >     >> > >>>>>
    >     >> > >>>>>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=ZRH4ggjcXZOAE7SiHKdwWeVEQQXQblZnX30QZB8G9Vs%3D&amp;reserved=0
    >     >> > >>>>>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=UDXwGYqD69n7h9Fq1KlGOVjB20ak2zb1ZN2vbFGV%2BUU%3D&amp;reserved=0
    >     >> > >>>>>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=Bi8Z2hYTm8I61uqdYlUEEBDBQEjLJSDyDPHVXvp39%2F8%3D&amp;reserved=0
    >     >> > >>>>>
    >     >> > >>>>> Thanks,
    >     >> > >>>>> Om
    >     >> > >>>>>
    >     >> > >>>>
    >     >> > >>>
    >     >> > >>>
    >     >> > >>> --
    >     >> > >>> Carlos Rovira
    >     >> > >>>
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=Xoed4U85Min1ZIMl9S6H2E4QBig24vhV3ZwV7I2Y89M%3D&amp;reserved=0
    >     >> > >>>
    >     >> > >>
    >     >> > >
    >     >> > >
    >     >> > > --
    >     >> > > Carlos Rovira
    >     >> > >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678297877&amp;sdata=Xoed4U85Min1ZIMl9S6H2E4QBig24vhV3ZwV7I2Y89M%3D&amp;reserved=0
    >     >> >
    >     >> >
    >     >>
    >     >> --
    >     >> Carlos Rovira
    >     >>
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C94ba7a787a2d4765ca3e08d7321eae85%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637032979678307873&amp;sdata=%2BKpjGoVjEG8f%2BYFoJmleF6OYDS2mRKzGJ5vNpfps%2Bk4%3D&amp;reserved=0
    >     >>
    >     >
    >
    >
    >
    


Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <bi...@apache.org>.
If you have to use sudo that usually means that your node/npm is not setup
correctly.

Some more info here :
https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92

https://stackoverflow.com/a/18296178

That said, this issue is not related to sudo or otherwise.

But it is a good idea to not sudo anything related to npm.  For instance,
our installation scripts downloads and does a bunch of things during the
installation.  Imagine allowing a random script sudo access to your
computer.

Thanks,
Om

On Thu, Sep 5, 2019, 9:00 AM Alex Harui <ah...@adobe.com.invalid> wrote:

> Pretty sure if you use -g on MacOS you need sudo.  However, I don't think
> that's the issue here.
> I think Carlos should post his:
> - dependencies/download_dependencies.js`
> - /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>
> HTH,
> -Alex
>
> On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>
>     And oh, what is your node version?
>
>     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <bigosmallm@gmail.com
> >
>     wrote:
>
>     > We should never have to install any npm package with sudo.
>     >
>     > I will dig deeper into this and see what I can do.
>     >
>     > Thanks for testing!
>     >
>     > Om
>     >
>     >
>     > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <ca...@apache.org>
>     > wrote:
>     >
>     >> Thanks Harbs,
>     >> that seems not to fix the problem:
>     >>
>     >> macbookpro:~ carlosrovira$ sudo npm i
>     >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
>     >>
>     >> Password:
>     >>
>     >> /usr/local/bin/asjsc ->
>     >>
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>     >>
>     >> /usr/local/bin/asjscompc ->
>     >>
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>     >>
>     >> /usr/local/bin/mxmlc ->
>     >>
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>     >>
>     >> /usr/local/bin/asnodec ->
>     >>
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>     >>
>     >> /usr/local/bin/compc ->
>     >>
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>     >>
>     >> /usr/local/bin/externc ->
>     >>
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>     >>
>     >>
>     >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
>     >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>     >>
>     >> > node dependencies/download_dependencies.js
>     >>
>     >>
>     >> internal/modules/cjs/loader.js:582
>     >>
>     >>     throw err;
>     >>
>     >>     ^
>     >>
>     >>
>     >> Error: Cannot find module
>     >>
>     >>
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>     >>
>     >>     at Function.Module._resolveFilename
>     >> (internal/modules/cjs/loader.js:580:15)
>     >>
>     >>     at Function.Module._load (internal/modules/cjs/loader.js:506:25)
>     >>
>     >>     at Function.Module.runMain
> (internal/modules/cjs/loader.js:741:12)
>     >>
>     >>     at startup (internal/bootstrap/node.js:285:19)
>     >>
>     >>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
>     >>
>     >> npm ERR! code ELIFECYCLE
>     >>
>     >> npm ERR! errno 1
>     >>
>     >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall:
> `node
>     >> dependencies/download_dependencies.js`
>     >>
>     >> npm ERR! Exit status 1
>     >>
>     >> npm ERR!
>     >>
>     >> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
>     >> postinstall
>     >> script.
>     >>
>     >> npm ERR! This is probably not a problem with npm. There is likely
>     >> additional logging output above.
>     >>
>     >>
>     >> npm ERR! A complete log of this run can be found in:
>     >>
>     >> npm ERR!
>     >> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>     >>
>     >> macbookpro:~ carlosrovira$
>     >>
>     >>
>     >>
>     >>
>     >>
>     >> El jue., 5 sept. 2019 a las 11:32, Harbs (<ha...@gmail.com>)
>     >> escribió:
>     >>
>     >> > Try sudo.
>     >> >
>     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
> carlosrovira@apache.org>
>     >> > wrote:
>     >> > >
>     >> > > Hi Om,
>     >> > >
>     >> > > I tried to install now with : npm i
>     >> > @apache-royale/royale-js-swf@0.9.6-beta0
>     >> > > -g
>     >> > >
>     >> > > I get this:
>     >> > >
>     >> > > Last login: Fri Aug 30 00:01:50 on ttys000
>     >> > >
>     >> > > macbookpro:~ carlosrovira$ npm i
>     >> @apache-royale/royale-js-swf@0.9.6-beta0
>     >> > -g
>     >> > >
>     >> > > /usr/local/bin/asjsc ->
>     >> > >
>     >> >
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>     >> > >
>     >> > > /usr/local/bin/asnodec ->
>     >> > >
>     >> >
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>     >> > >
>     >> > > /usr/local/bin/mxmlc ->
>     >> > >
>     >> >
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>     >> > >
>     >> > > /usr/local/bin/asjscompc ->
>     >> > >
>     >> >
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>     >> > >
>     >> > > /usr/local/bin/compc ->
>     >> > >
>     >> >
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>     >> > >
>     >> > > /usr/local/bin/externc ->
>     >> > >
>     >> >
>     >>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>     >> > >
>     >> > >
>     >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
>     >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>     >> > >
>     >> > >> node dependencies/download_dependencies.js
>     >> > >
>     >> > >
>     >> > > internal/modules/cjs/loader.js:582
>     >> > >
>     >> > >    throw err;
>     >> > >
>     >> > >    ^
>     >> > >
>     >> > >
>     >> > > Error: Cannot find module
>     >> > >
>     >> >
>     >>
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>     >> > >
>     >> > >    at Function.Module._resolveFilename
>     >> > > (internal/modules/cjs/loader.js:580:15)
>     >> > >
>     >> > >    at Function.Module._load
> (internal/modules/cjs/loader.js:506:25)
>     >> > >
>     >> > >    at Function.Module.runMain
> (internal/modules/cjs/loader.js:741:12)
>     >> > >
>     >> > >    at startup (internal/bootstrap/node.js:285:19)
>     >> > >
>     >> > >    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
>     >> > >
>     >> > > npm ERR! code ELIFECYCLE
>     >> > >
>     >> > > npm ERR! errno 1
>     >> > >
>     >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall:
> `node
>     >> > > dependencies/download_dependencies.js`
>     >> > >
>     >> > > npm ERR! Exit status 1
>     >> > >
>     >> > > npm ERR!
>     >> > >
>     >> > > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
>     >> > postinstall
>     >> > > script.
>     >> > >
>     >> > > npm ERR! This is probably not a problem with npm. There is
> likely
>     >> > > additional logging output above.
>     >> > >
>     >> > >
>     >> > > npm ERR! A complete log of this run can be found in:
>     >> > >
>     >> > > npm ERR!
>     >> > >
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
>     >> > >
>     >> > > macbookpro:~ carlosrovira$
>     >> > >
>     >> > >
>     >> > >
>     >> > >
>     >> > >
>     >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
>     >> > > bigosmallm@gmail.com>) escribió:
>     >> > >
>     >> > >> Carlos,
>     >> > >>
>     >> > >> A nice way to test if your installation is working correctly
> is to
>     >> try
>     >> > it
>     >> > >> with the npm cli tool.
>     >> > >>
>     >> > >> You can install the cli using the command:
>     >> > >>
>     >> > >> npm i @apache-royale/cli -g
>     >> > >>
>     >> > >> Basically install the royale package, then install the cli
> package.
>     >> And
>     >> > >> follow the instructions here:
>     >> > >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=NLSR77WKoTfgvpogUsNhz1gD%2BnLDQws8kdlgMOHNvTk%3D&amp;reserved=0
>     >> > >>
>     >> > >> Thanks,
>     >> > >> Om
>     >> > >>
>     >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
>     >> carlosrovira@apache.org>
>     >> > >> wrote:
>     >> > >>
>     >> > >>> Hi Om,
>     >> > >>>
>     >> > >>> since I don't know too much about NPM, I want to know some few
>     >> things
>     >> > >> about
>     >> > >>> the Royale NPM version. Just uninstalled old version
> successfully.
>     >> > >>>
>     >> > >>> Now, I'm on Mac. if I install the new one, how this affects my
>     >> > >> environment?
>     >> > >>> I suppose that my installation of repos to build from source
> code is
>     >> > >>> independent, and NPM installs mxmlc in Terminal (command line
>     >> level).
>     >> > >>>
>     >> > >>> Then, some easy way to give a quick test that all is working
> ok? I
>     >> > >> suppose
>     >> > >>> that I must go to some example project like Tour de Jewel and
> try to
>     >> > >>> compile in terminal with mxmlc right? Can you provide a
> command
>     >> line to
>     >> > >> use
>     >> > >>> for test for example that particular case?
>     >> > >>>
>     >> > >>> Thanks!
>     >> > >>>
>     >> > >>>
>     >> > >>>
>     >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
>     >> > >>> bigosmallm@gmail.com>) escribió:
>     >> > >>>
>     >> > >>>> Hi folks,
>     >> > >>>>
>     >> > >>>> Can you please test the beta release and report any errors
> you are
>     >> > >>> seeing?
>     >> > >>>>
>     >> > >>>> You can test it with these commands:
>     >> > >>>>
>     >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case you
> already
>     >> > have
>     >> > >>> it
>     >> > >>>> installed)
>     >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
>     >> > >>>>
>     >> > >>>> Thanks,
>     >> > >>>> Om
>     >> > >>>>
>     >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
>     >> > >> bigosmallm@gmail.com
>     >> > >>>>
>     >> > >>>> wrote:
>     >> > >>>>
>     >> > >>>>> Just a heads up, I will be doing some test publishes of the
> royale
>     >> > >> npm
>     >> > >>>>> package.  I will be using the version number: 0.9.6.beta.1
>     >> > >>> (0.9.6.beta.2,
>     >> > >>>>> etc if needed)
>     >> > >>>>>
>     >> > >>>>> These fixes are related to these tickets:
>     >> > >>>>>
>     >> > >>>>>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=Vo3iFII%2Frmk249ORPB97uYKVtAS6T7LrBenGY3hQjQY%3D&amp;reserved=0
>     >> > >>>>>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=%2Bob3ukpJGMR2HSlKZprxGI3cYL646VV%2B024eTsq3HdM%3D&amp;reserved=0
>     >> > >>>>>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=GkFnt42ucQZFj06TXYDUjsNya6vrhQhMrgxzOeEBqzc%3D&amp;reserved=0
>     >> > >>>>>
>     >> > >>>>> Thanks,
>     >> > >>>>> Om
>     >> > >>>>>
>     >> > >>>>
>     >> > >>>
>     >> > >>>
>     >> > >>> --
>     >> > >>> Carlos Rovira
>     >> > >>>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
>     >> > >>>
>     >> > >>
>     >> > >
>     >> > >
>     >> > > --
>     >> > > Carlos Rovira
>     >> > >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
>     >> >
>     >> >
>     >>
>     >> --
>     >> Carlos Rovira
>     >>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
>     >>
>     >
>
>
>

Re: Testing the npm install error fixes

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Pretty sure if you use -g on MacOS you need sudo.  However, I don't think that's the issue here.
I think Carlos should post his:
- dependencies/download_dependencies.js`
- /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log

HTH,
-Alex

On 9/5/19, 7:28 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

    And oh, what is your node version?
    
    On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <bi...@gmail.com>
    wrote:
    
    > We should never have to install any npm package with sudo.
    >
    > I will dig deeper into this and see what I can do.
    >
    > Thanks for testing!
    >
    > Om
    >
    >
    > On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <ca...@apache.org>
    > wrote:
    >
    >> Thanks Harbs,
    >> that seems not to fix the problem:
    >>
    >> macbookpro:~ carlosrovira$ sudo npm i
    >> @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >>
    >> Password:
    >>
    >> /usr/local/bin/asjsc ->
    >>
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >>
    >> /usr/local/bin/asjscompc ->
    >>
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >>
    >> /usr/local/bin/mxmlc ->
    >>
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >>
    >> /usr/local/bin/asnodec ->
    >>
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >>
    >> /usr/local/bin/compc ->
    >>
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >>
    >> /usr/local/bin/externc ->
    >>
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >>
    >>
    >> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >>
    >> > node dependencies/download_dependencies.js
    >>
    >>
    >> internal/modules/cjs/loader.js:582
    >>
    >>     throw err;
    >>
    >>     ^
    >>
    >>
    >> Error: Cannot find module
    >>
    >> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >>
    >>     at Function.Module._resolveFilename
    >> (internal/modules/cjs/loader.js:580:15)
    >>
    >>     at Function.Module._load (internal/modules/cjs/loader.js:506:25)
    >>
    >>     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
    >>
    >>     at startup (internal/bootstrap/node.js:285:19)
    >>
    >>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
    >>
    >> npm ERR! code ELIFECYCLE
    >>
    >> npm ERR! errno 1
    >>
    >> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
    >> dependencies/download_dependencies.js`
    >>
    >> npm ERR! Exit status 1
    >>
    >> npm ERR!
    >>
    >> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
    >> postinstall
    >> script.
    >>
    >> npm ERR! This is probably not a problem with npm. There is likely
    >> additional logging output above.
    >>
    >>
    >> npm ERR! A complete log of this run can be found in:
    >>
    >> npm ERR!
    >> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
    >>
    >> macbookpro:~ carlosrovira$
    >>
    >>
    >>
    >>
    >>
    >> El jue., 5 sept. 2019 a las 11:32, Harbs (<ha...@gmail.com>)
    >> escribió:
    >>
    >> > Try sudo.
    >> >
    >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <ca...@apache.org>
    >> > wrote:
    >> > >
    >> > > Hi Om,
    >> > >
    >> > > I tried to install now with : npm i
    >> > @apache-royale/royale-js-swf@0.9.6-beta0
    >> > > -g
    >> > >
    >> > > I get this:
    >> > >
    >> > > Last login: Fri Aug 30 00:01:50 on ttys000
    >> > >
    >> > > macbookpro:~ carlosrovira$ npm i
    >> @apache-royale/royale-js-swf@0.9.6-beta0
    >> > -g
    >> > >
    >> > > /usr/local/bin/asjsc ->
    >> > >
    >> >
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
    >> > >
    >> > > /usr/local/bin/asnodec ->
    >> > >
    >> >
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
    >> > >
    >> > > /usr/local/bin/mxmlc ->
    >> > >
    >> >
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
    >> > >
    >> > > /usr/local/bin/asjscompc ->
    >> > >
    >> >
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
    >> > >
    >> > > /usr/local/bin/compc ->
    >> > >
    >> >
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
    >> > >
    >> > > /usr/local/bin/externc ->
    >> > >
    >> >
    >> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
    >> > >
    >> > >
    >> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
    >> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
    >> > >
    >> > >> node dependencies/download_dependencies.js
    >> > >
    >> > >
    >> > > internal/modules/cjs/loader.js:582
    >> > >
    >> > >    throw err;
    >> > >
    >> > >    ^
    >> > >
    >> > >
    >> > > Error: Cannot find module
    >> > >
    >> >
    >> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
    >> > >
    >> > >    at Function.Module._resolveFilename
    >> > > (internal/modules/cjs/loader.js:580:15)
    >> > >
    >> > >    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
    >> > >
    >> > >    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
    >> > >
    >> > >    at startup (internal/bootstrap/node.js:285:19)
    >> > >
    >> > >    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
    >> > >
    >> > > npm ERR! code ELIFECYCLE
    >> > >
    >> > > npm ERR! errno 1
    >> > >
    >> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
    >> > > dependencies/download_dependencies.js`
    >> > >
    >> > > npm ERR! Exit status 1
    >> > >
    >> > > npm ERR!
    >> > >
    >> > > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
    >> > postinstall
    >> > > script.
    >> > >
    >> > > npm ERR! This is probably not a problem with npm. There is likely
    >> > > additional logging output above.
    >> > >
    >> > >
    >> > > npm ERR! A complete log of this run can be found in:
    >> > >
    >> > > npm ERR!
    >> > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
    >> > >
    >> > > macbookpro:~ carlosrovira$
    >> > >
    >> > >
    >> > >
    >> > >
    >> > >
    >> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
    >> > > bigosmallm@gmail.com>) escribió:
    >> > >
    >> > >> Carlos,
    >> > >>
    >> > >> A nice way to test if your installation is working correctly is to
    >> try
    >> > it
    >> > >> with the npm cli tool.
    >> > >>
    >> > >> You can install the cli using the command:
    >> > >>
    >> > >> npm i @apache-royale/cli -g
    >> > >>
    >> > >> Basically install the royale package, then install the cli package.
    >> And
    >> > >> follow the instructions here:
    >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40apache-royale%2Fcli&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=NLSR77WKoTfgvpogUsNhz1gD%2BnLDQws8kdlgMOHNvTk%3D&amp;reserved=0
    >> > >>
    >> > >> Thanks,
    >> > >> Om
    >> > >>
    >> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
    >> carlosrovira@apache.org>
    >> > >> wrote:
    >> > >>
    >> > >>> Hi Om,
    >> > >>>
    >> > >>> since I don't know too much about NPM, I want to know some few
    >> things
    >> > >> about
    >> > >>> the Royale NPM version. Just uninstalled old version successfully.
    >> > >>>
    >> > >>> Now, I'm on Mac. if I install the new one, how this affects my
    >> > >> environment?
    >> > >>> I suppose that my installation of repos to build from source code is
    >> > >>> independent, and NPM installs mxmlc in Terminal (command line
    >> level).
    >> > >>>
    >> > >>> Then, some easy way to give a quick test that all is working ok? I
    >> > >> suppose
    >> > >>> that I must go to some example project like Tour de Jewel and try to
    >> > >>> compile in terminal with mxmlc right? Can you provide a command
    >> line to
    >> > >> use
    >> > >>> for test for example that particular case?
    >> > >>>
    >> > >>> Thanks!
    >> > >>>
    >> > >>>
    >> > >>>
    >> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
    >> > >>> bigosmallm@gmail.com>) escribió:
    >> > >>>
    >> > >>>> Hi folks,
    >> > >>>>
    >> > >>>> Can you please test the beta release and report any errors you are
    >> > >>> seeing?
    >> > >>>>
    >> > >>>> You can test it with these commands:
    >> > >>>>
    >> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case you already
    >> > have
    >> > >>> it
    >> > >>>> installed)
    >> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
    >> > >>>>
    >> > >>>> Thanks,
    >> > >>>> Om
    >> > >>>>
    >> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
    >> > >> bigosmallm@gmail.com
    >> > >>>>
    >> > >>>> wrote:
    >> > >>>>
    >> > >>>>> Just a heads up, I will be doing some test publishes of the royale
    >> > >> npm
    >> > >>>>> package.  I will be using the version number: 0.9.6.beta.1
    >> > >>> (0.9.6.beta.2,
    >> > >>>>> etc if needed)
    >> > >>>>>
    >> > >>>>> These fixes are related to these tickets:
    >> > >>>>>
    >> > >>>>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F428&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=Vo3iFII%2Frmk249ORPB97uYKVtAS6T7LrBenGY3hQjQY%3D&amp;reserved=0
    >> > >>>>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F450&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=%2Bob3ukpJGMR2HSlKZprxGI3cYL646VV%2B024eTsq3HdM%3D&amp;reserved=0
    >> > >>>>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F231&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=GkFnt42ucQZFj06TXYDUjsNya6vrhQhMrgxzOeEBqzc%3D&amp;reserved=0
    >> > >>>>>
    >> > >>>>> Thanks,
    >> > >>>>> Om
    >> > >>>>>
    >> > >>>>
    >> > >>>
    >> > >>>
    >> > >>> --
    >> > >>> Carlos Rovira
    >> > >>> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
    >> > >>>
    >> > >>
    >> > >
    >> > >
    >> > > --
    >> > > Carlos Rovira
    >> > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
    >> >
    >> >
    >>
    >> --
    >> Carlos Rovira
    >> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C733bf434f4d3470739c808d7320d4d90%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637032905030468112&amp;sdata=KBAcQE52nriaCyWSGL5BDWI2O%2B3hQWPNPjyInHkuS2o%3D&amp;reserved=0
    >>
    >
    


Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <bi...@gmail.com>.
And oh, what is your node version?

On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <bi...@gmail.com>
wrote:

> We should never have to install any npm package with sudo.
>
> I will dig deeper into this and see what I can do.
>
> Thanks for testing!
>
> Om
>
>
> On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <ca...@apache.org>
> wrote:
>
>> Thanks Harbs,
>> that seems not to fix the problem:
>>
>> macbookpro:~ carlosrovira$ sudo npm i
>> @apache-royale/royale-js-swf@0.9.6-beta0 -g
>>
>> Password:
>>
>> /usr/local/bin/asjsc ->
>>
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>>
>> /usr/local/bin/asjscompc ->
>>
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>>
>> /usr/local/bin/mxmlc ->
>>
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>>
>> /usr/local/bin/asnodec ->
>>
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>>
>> /usr/local/bin/compc ->
>>
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>>
>> /usr/local/bin/externc ->
>>
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>>
>>
>> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>>
>> > node dependencies/download_dependencies.js
>>
>>
>> internal/modules/cjs/loader.js:582
>>
>>     throw err;
>>
>>     ^
>>
>>
>> Error: Cannot find module
>>
>> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>>
>>     at Function.Module._resolveFilename
>> (internal/modules/cjs/loader.js:580:15)
>>
>>     at Function.Module._load (internal/modules/cjs/loader.js:506:25)
>>
>>     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
>>
>>     at startup (internal/bootstrap/node.js:285:19)
>>
>>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
>>
>> npm ERR! code ELIFECYCLE
>>
>> npm ERR! errno 1
>>
>> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
>> dependencies/download_dependencies.js`
>>
>> npm ERR! Exit status 1
>>
>> npm ERR!
>>
>> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
>> postinstall
>> script.
>>
>> npm ERR! This is probably not a problem with npm. There is likely
>> additional logging output above.
>>
>>
>> npm ERR! A complete log of this run can be found in:
>>
>> npm ERR!
>> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>>
>> macbookpro:~ carlosrovira$
>>
>>
>>
>>
>>
>> El jue., 5 sept. 2019 a las 11:32, Harbs (<ha...@gmail.com>)
>> escribió:
>>
>> > Try sudo.
>> >
>> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <ca...@apache.org>
>> > wrote:
>> > >
>> > > Hi Om,
>> > >
>> > > I tried to install now with : npm i
>> > @apache-royale/royale-js-swf@0.9.6-beta0
>> > > -g
>> > >
>> > > I get this:
>> > >
>> > > Last login: Fri Aug 30 00:01:50 on ttys000
>> > >
>> > > macbookpro:~ carlosrovira$ npm i
>> @apache-royale/royale-js-swf@0.9.6-beta0
>> > -g
>> > >
>> > > /usr/local/bin/asjsc ->
>> > >
>> >
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>> > >
>> > > /usr/local/bin/asnodec ->
>> > >
>> >
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>> > >
>> > > /usr/local/bin/mxmlc ->
>> > >
>> >
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>> > >
>> > > /usr/local/bin/asjscompc ->
>> > >
>> >
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>> > >
>> > > /usr/local/bin/compc ->
>> > >
>> >
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>> > >
>> > > /usr/local/bin/externc ->
>> > >
>> >
>> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>> > >
>> > >
>> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
>> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>> > >
>> > >> node dependencies/download_dependencies.js
>> > >
>> > >
>> > > internal/modules/cjs/loader.js:582
>> > >
>> > >    throw err;
>> > >
>> > >    ^
>> > >
>> > >
>> > > Error: Cannot find module
>> > >
>> >
>> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>> > >
>> > >    at Function.Module._resolveFilename
>> > > (internal/modules/cjs/loader.js:580:15)
>> > >
>> > >    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
>> > >
>> > >    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
>> > >
>> > >    at startup (internal/bootstrap/node.js:285:19)
>> > >
>> > >    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
>> > >
>> > > npm ERR! code ELIFECYCLE
>> > >
>> > > npm ERR! errno 1
>> > >
>> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
>> > > dependencies/download_dependencies.js`
>> > >
>> > > npm ERR! Exit status 1
>> > >
>> > > npm ERR!
>> > >
>> > > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
>> > postinstall
>> > > script.
>> > >
>> > > npm ERR! This is probably not a problem with npm. There is likely
>> > > additional logging output above.
>> > >
>> > >
>> > > npm ERR! A complete log of this run can be found in:
>> > >
>> > > npm ERR!
>> > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
>> > >
>> > > macbookpro:~ carlosrovira$
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
>> > > bigosmallm@gmail.com>) escribió:
>> > >
>> > >> Carlos,
>> > >>
>> > >> A nice way to test if your installation is working correctly is to
>> try
>> > it
>> > >> with the npm cli tool.
>> > >>
>> > >> You can install the cli using the command:
>> > >>
>> > >> npm i @apache-royale/cli -g
>> > >>
>> > >> Basically install the royale package, then install the cli package.
>> And
>> > >> follow the instructions here:
>> > >> https://www.npmjs.com/package/@apache-royale/cli
>> > >>
>> > >> Thanks,
>> > >> Om
>> > >>
>> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
>> carlosrovira@apache.org>
>> > >> wrote:
>> > >>
>> > >>> Hi Om,
>> > >>>
>> > >>> since I don't know too much about NPM, I want to know some few
>> things
>> > >> about
>> > >>> the Royale NPM version. Just uninstalled old version successfully.
>> > >>>
>> > >>> Now, I'm on Mac. if I install the new one, how this affects my
>> > >> environment?
>> > >>> I suppose that my installation of repos to build from source code is
>> > >>> independent, and NPM installs mxmlc in Terminal (command line
>> level).
>> > >>>
>> > >>> Then, some easy way to give a quick test that all is working ok? I
>> > >> suppose
>> > >>> that I must go to some example project like Tour de Jewel and try to
>> > >>> compile in terminal with mxmlc right? Can you provide a command
>> line to
>> > >> use
>> > >>> for test for example that particular case?
>> > >>>
>> > >>> Thanks!
>> > >>>
>> > >>>
>> > >>>
>> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
>> > >>> bigosmallm@gmail.com>) escribió:
>> > >>>
>> > >>>> Hi folks,
>> > >>>>
>> > >>>> Can you please test the beta release and report any errors you are
>> > >>> seeing?
>> > >>>>
>> > >>>> You can test it with these commands:
>> > >>>>
>> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case you already
>> > have
>> > >>> it
>> > >>>> installed)
>> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
>> > >>>>
>> > >>>> Thanks,
>> > >>>> Om
>> > >>>>
>> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
>> > >> bigosmallm@gmail.com
>> > >>>>
>> > >>>> wrote:
>> > >>>>
>> > >>>>> Just a heads up, I will be doing some test publishes of the royale
>> > >> npm
>> > >>>>> package.  I will be using the version number: 0.9.6.beta.1
>> > >>> (0.9.6.beta.2,
>> > >>>>> etc if needed)
>> > >>>>>
>> > >>>>> These fixes are related to these tickets:
>> > >>>>>
>> > >>>>> https://github.com/apache/royale-asjs/issues/428
>> > >>>>> https://github.com/apache/royale-asjs/issues/450
>> > >>>>> https://github.com/apache/royale-asjs/issues/231
>> > >>>>>
>> > >>>>> Thanks,
>> > >>>>> Om
>> > >>>>>
>> > >>>>
>> > >>>
>> > >>>
>> > >>> --
>> > >>> Carlos Rovira
>> > >>> http://about.me/carlosrovira
>> > >>>
>> > >>
>> > >
>> > >
>> > > --
>> > > Carlos Rovira
>> > > http://about.me/carlosrovira
>> >
>> >
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>

Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <bi...@gmail.com>.
We should never have to install any npm package with sudo.

I will dig deeper into this and see what I can do.

Thanks for testing!

Om


On Thu, Sep 5, 2019, 2:41 AM Carlos Rovira <ca...@apache.org> wrote:

> Thanks Harbs,
> that seems not to fix the problem:
>
> macbookpro:~ carlosrovira$ sudo npm i
> @apache-royale/royale-js-swf@0.9.6-beta0 -g
>
> Password:
>
> /usr/local/bin/asjsc ->
>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
>
> /usr/local/bin/asjscompc ->
>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
>
> /usr/local/bin/mxmlc ->
>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
>
> /usr/local/bin/asnodec ->
>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
>
> /usr/local/bin/compc ->
>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
>
> /usr/local/bin/externc ->
>
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
>
>
> > @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
>
> > node dependencies/download_dependencies.js
>
>
> internal/modules/cjs/loader.js:582
>
>     throw err;
>
>     ^
>
>
> Error: Cannot find module
>
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
>
>     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:580:15)
>
>     at Function.Module._load (internal/modules/cjs/loader.js:506:25)
>
>     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
>
>     at startup (internal/bootstrap/node.js:285:19)
>
>     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
>
> npm ERR! code ELIFECYCLE
>
> npm ERR! errno 1
>
> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
> dependencies/download_dependencies.js`
>
> npm ERR! Exit status 1
>
> npm ERR!
>
> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall
> script.
>
> npm ERR! This is probably not a problem with npm. There is likely
> additional logging output above.
>
>
> npm ERR! A complete log of this run can be found in:
>
> npm ERR!
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log
>
> macbookpro:~ carlosrovira$
>
>
>
>
>
> El jue., 5 sept. 2019 a las 11:32, Harbs (<ha...@gmail.com>)
> escribió:
>
> > Try sudo.
> >
> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <ca...@apache.org>
> > wrote:
> > >
> > > Hi Om,
> > >
> > > I tried to install now with : npm i
> > @apache-royale/royale-js-swf@0.9.6-beta0
> > > -g
> > >
> > > I get this:
> > >
> > > Last login: Fri Aug 30 00:01:50 on ttys000
> > >
> > > macbookpro:~ carlosrovira$ npm i
> @apache-royale/royale-js-swf@0.9.6-beta0
> > -g
> > >
> > > /usr/local/bin/asjsc ->
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> > >
> > > /usr/local/bin/asnodec ->
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> > >
> > > /usr/local/bin/mxmlc ->
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> > >
> > > /usr/local/bin/asjscompc ->
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> > >
> > > /usr/local/bin/compc ->
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> > >
> > > /usr/local/bin/externc ->
> > >
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> > >
> > >
> > >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> > >
> > >> node dependencies/download_dependencies.js
> > >
> > >
> > > internal/modules/cjs/loader.js:582
> > >
> > >    throw err;
> > >
> > >    ^
> > >
> > >
> > > Error: Cannot find module
> > >
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> > >
> > >    at Function.Module._resolveFilename
> > > (internal/modules/cjs/loader.js:580:15)
> > >
> > >    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
> > >
> > >    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
> > >
> > >    at startup (internal/bootstrap/node.js:285:19)
> > >
> > >    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> > >
> > > npm ERR! code ELIFECYCLE
> > >
> > > npm ERR! errno 1
> > >
> > > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
> > > dependencies/download_dependencies.js`
> > >
> > > npm ERR! Exit status 1
> > >
> > > npm ERR!
> > >
> > > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
> > postinstall
> > > script.
> > >
> > > npm ERR! This is probably not a problem with npm. There is likely
> > > additional logging output above.
> > >
> > >
> > > npm ERR! A complete log of this run can be found in:
> > >
> > > npm ERR!
> > > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> > >
> > > macbookpro:~ carlosrovira$
> > >
> > >
> > >
> > >
> > >
> > > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
> > > bigosmallm@gmail.com>) escribió:
> > >
> > >> Carlos,
> > >>
> > >> A nice way to test if your installation is working correctly is to try
> > it
> > >> with the npm cli tool.
> > >>
> > >> You can install the cli using the command:
> > >>
> > >> npm i @apache-royale/cli -g
> > >>
> > >> Basically install the royale package, then install the cli package.
> And
> > >> follow the instructions here:
> > >> https://www.npmjs.com/package/@apache-royale/cli
> > >>
> > >> Thanks,
> > >> Om
> > >>
> > >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <
> carlosrovira@apache.org>
> > >> wrote:
> > >>
> > >>> Hi Om,
> > >>>
> > >>> since I don't know too much about NPM, I want to know some few things
> > >> about
> > >>> the Royale NPM version. Just uninstalled old version successfully.
> > >>>
> > >>> Now, I'm on Mac. if I install the new one, how this affects my
> > >> environment?
> > >>> I suppose that my installation of repos to build from source code is
> > >>> independent, and NPM installs mxmlc in Terminal (command line level).
> > >>>
> > >>> Then, some easy way to give a quick test that all is working ok? I
> > >> suppose
> > >>> that I must go to some example project like Tour de Jewel and try to
> > >>> compile in terminal with mxmlc right? Can you provide a command line
> to
> > >> use
> > >>> for test for example that particular case?
> > >>>
> > >>> Thanks!
> > >>>
> > >>>
> > >>>
> > >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
> > >>> bigosmallm@gmail.com>) escribió:
> > >>>
> > >>>> Hi folks,
> > >>>>
> > >>>> Can you please test the beta release and report any errors you are
> > >>> seeing?
> > >>>>
> > >>>> You can test it with these commands:
> > >>>>
> > >>>> npm uninstall @apache-royale/royale-js-swf -g (in case you already
> > have
> > >>> it
> > >>>> installed)
> > >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > >>>>
> > >>>> Thanks,
> > >>>> Om
> > >>>>
> > >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
> > >> bigosmallm@gmail.com
> > >>>>
> > >>>> wrote:
> > >>>>
> > >>>>> Just a heads up, I will be doing some test publishes of the royale
> > >> npm
> > >>>>> package.  I will be using the version number: 0.9.6.beta.1
> > >>> (0.9.6.beta.2,
> > >>>>> etc if needed)
> > >>>>>
> > >>>>> These fixes are related to these tickets:
> > >>>>>
> > >>>>> https://github.com/apache/royale-asjs/issues/428
> > >>>>> https://github.com/apache/royale-asjs/issues/450
> > >>>>> https://github.com/apache/royale-asjs/issues/231
> > >>>>>
> > >>>>> Thanks,
> > >>>>> Om
> > >>>>>
> > >>>>
> > >>>
> > >>>
> > >>> --
> > >>> Carlos Rovira
> > >>> http://about.me/carlosrovira
> > >>>
> > >>
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Re: Testing the npm install error fixes

Posted by Carlos Rovira <ca...@apache.org>.
Thanks Harbs,
that seems not to fix the problem:

macbookpro:~ carlosrovira$ sudo npm i
@apache-royale/royale-js-swf@0.9.6-beta0 -g

Password:

/usr/local/bin/asjsc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm

/usr/local/bin/asjscompc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm

/usr/local/bin/mxmlc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm

/usr/local/bin/asnodec ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm

/usr/local/bin/compc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm

/usr/local/bin/externc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm


> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
/usr/local/lib/node_modules/@apache-royale/royale-js-swf

> node dependencies/download_dependencies.js


internal/modules/cjs/loader.js:582

    throw err;

    ^


Error: Cannot find module
'/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'

    at Function.Module._resolveFilename
(internal/modules/cjs/loader.js:580:15)

    at Function.Module._load (internal/modules/cjs/loader.js:506:25)

    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)

    at startup (internal/bootstrap/node.js:285:19)

    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
dependencies/download_dependencies.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
script.

npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.


npm ERR! A complete log of this run can be found in:

npm ERR!
/Users/carlosrovira/.npm/_logs/2019-09-05T09_39_50_359Z-debug.log

macbookpro:~ carlosrovira$





El jue., 5 sept. 2019 a las 11:32, Harbs (<ha...@gmail.com>) escribió:

> Try sudo.
>
> > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <ca...@apache.org>
> wrote:
> >
> > Hi Om,
> >
> > I tried to install now with : npm i
> @apache-royale/royale-js-swf@0.9.6-beta0
> > -g
> >
> > I get this:
> >
> > Last login: Fri Aug 30 00:01:50 on ttys000
> >
> > macbookpro:~ carlosrovira$ npm i @apache-royale/royale-js-swf@0.9.6-beta0
> -g
> >
> > /usr/local/bin/asjsc ->
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> >
> > /usr/local/bin/asnodec ->
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> >
> > /usr/local/bin/mxmlc ->
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> >
> > /usr/local/bin/asjscompc ->
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> >
> > /usr/local/bin/compc ->
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> >
> > /usr/local/bin/externc ->
> >
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> >
> >
> >> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> > /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> >
> >> node dependencies/download_dependencies.js
> >
> >
> > internal/modules/cjs/loader.js:582
> >
> >    throw err;
> >
> >    ^
> >
> >
> > Error: Cannot find module
> >
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> >
> >    at Function.Module._resolveFilename
> > (internal/modules/cjs/loader.js:580:15)
> >
> >    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
> >
> >    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
> >
> >    at startup (internal/bootstrap/node.js:285:19)
> >
> >    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> >
> > npm ERR! code ELIFECYCLE
> >
> > npm ERR! errno 1
> >
> > npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
> > dependencies/download_dependencies.js`
> >
> > npm ERR! Exit status 1
> >
> > npm ERR!
> >
> > npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0
> postinstall
> > script.
> >
> > npm ERR! This is probably not a problem with npm. There is likely
> > additional logging output above.
> >
> >
> > npm ERR! A complete log of this run can be found in:
> >
> > npm ERR!
> > /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> >
> > macbookpro:~ carlosrovira$
> >
> >
> >
> >
> >
> > El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
> > bigosmallm@gmail.com>) escribió:
> >
> >> Carlos,
> >>
> >> A nice way to test if your installation is working correctly is to try
> it
> >> with the npm cli tool.
> >>
> >> You can install the cli using the command:
> >>
> >> npm i @apache-royale/cli -g
> >>
> >> Basically install the royale package, then install the cli package.  And
> >> follow the instructions here:
> >> https://www.npmjs.com/package/@apache-royale/cli
> >>
> >> Thanks,
> >> Om
> >>
> >> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <ca...@apache.org>
> >> wrote:
> >>
> >>> Hi Om,
> >>>
> >>> since I don't know too much about NPM, I want to know some few things
> >> about
> >>> the Royale NPM version. Just uninstalled old version successfully.
> >>>
> >>> Now, I'm on Mac. if I install the new one, how this affects my
> >> environment?
> >>> I suppose that my installation of repos to build from source code is
> >>> independent, and NPM installs mxmlc in Terminal (command line level).
> >>>
> >>> Then, some easy way to give a quick test that all is working ok? I
> >> suppose
> >>> that I must go to some example project like Tour de Jewel and try to
> >>> compile in terminal with mxmlc right? Can you provide a command line to
> >> use
> >>> for test for example that particular case?
> >>>
> >>> Thanks!
> >>>
> >>>
> >>>
> >>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
> >>> bigosmallm@gmail.com>) escribió:
> >>>
> >>>> Hi folks,
> >>>>
> >>>> Can you please test the beta release and report any errors you are
> >>> seeing?
> >>>>
> >>>> You can test it with these commands:
> >>>>
> >>>> npm uninstall @apache-royale/royale-js-swf -g (in case you already
> have
> >>> it
> >>>> installed)
> >>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> >>>>
> >>>> Thanks,
> >>>> Om
> >>>>
> >>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
> >> bigosmallm@gmail.com
> >>>>
> >>>> wrote:
> >>>>
> >>>>> Just a heads up, I will be doing some test publishes of the royale
> >> npm
> >>>>> package.  I will be using the version number: 0.9.6.beta.1
> >>> (0.9.6.beta.2,
> >>>>> etc if needed)
> >>>>>
> >>>>> These fixes are related to these tickets:
> >>>>>
> >>>>> https://github.com/apache/royale-asjs/issues/428
> >>>>> https://github.com/apache/royale-asjs/issues/450
> >>>>> https://github.com/apache/royale-asjs/issues/231
> >>>>>
> >>>>> Thanks,
> >>>>> Om
> >>>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Carlos Rovira
> >>> http://about.me/carlosrovira
> >>>
> >>
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Testing the npm install error fixes

Posted by Harbs <ha...@gmail.com>.
Try sudo.

> On Sep 5, 2019, at 12:24 PM, Carlos Rovira <ca...@apache.org> wrote:
> 
> Hi Om,
> 
> I tried to install now with : npm i @apache-royale/royale-js-swf@0.9.6-beta0
> -g
> 
> I get this:
> 
> Last login: Fri Aug 30 00:01:50 on ttys000
> 
> macbookpro:~ carlosrovira$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> 
> /usr/local/bin/asjsc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm
> 
> /usr/local/bin/asnodec ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm
> 
> /usr/local/bin/mxmlc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm
> 
> /usr/local/bin/asjscompc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm
> 
> /usr/local/bin/compc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm
> 
> /usr/local/bin/externc ->
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm
> 
> 
>> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> /usr/local/lib/node_modules/@apache-royale/royale-js-swf
> 
>> node dependencies/download_dependencies.js
> 
> 
> internal/modules/cjs/loader.js:582
> 
>    throw err;
> 
>    ^
> 
> 
> Error: Cannot find module
> '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'
> 
>    at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:580:15)
> 
>    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
> 
>    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
> 
>    at startup (internal/bootstrap/node.js:285:19)
> 
>    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
> 
> npm ERR! code ELIFECYCLE
> 
> npm ERR! errno 1
> 
> npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
> dependencies/download_dependencies.js`
> 
> npm ERR! Exit status 1
> 
> npm ERR!
> 
> npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
> script.
> 
> npm ERR! This is probably not a problem with npm. There is likely
> additional logging output above.
> 
> 
> npm ERR! A complete log of this run can be found in:
> 
> npm ERR!
> /Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log
> 
> macbookpro:~ carlosrovira$
> 
> 
> 
> 
> 
> El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
> bigosmallm@gmail.com>) escribió:
> 
>> Carlos,
>> 
>> A nice way to test if your installation is working correctly is to try it
>> with the npm cli tool.
>> 
>> You can install the cli using the command:
>> 
>> npm i @apache-royale/cli -g
>> 
>> Basically install the royale package, then install the cli package.  And
>> follow the instructions here:
>> https://www.npmjs.com/package/@apache-royale/cli
>> 
>> Thanks,
>> Om
>> 
>> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <ca...@apache.org>
>> wrote:
>> 
>>> Hi Om,
>>> 
>>> since I don't know too much about NPM, I want to know some few things
>> about
>>> the Royale NPM version. Just uninstalled old version successfully.
>>> 
>>> Now, I'm on Mac. if I install the new one, how this affects my
>> environment?
>>> I suppose that my installation of repos to build from source code is
>>> independent, and NPM installs mxmlc in Terminal (command line level).
>>> 
>>> Then, some easy way to give a quick test that all is working ok? I
>> suppose
>>> that I must go to some example project like Tour de Jewel and try to
>>> compile in terminal with mxmlc right? Can you provide a command line to
>> use
>>> for test for example that particular case?
>>> 
>>> Thanks!
>>> 
>>> 
>>> 
>>> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
>>> bigosmallm@gmail.com>) escribió:
>>> 
>>>> Hi folks,
>>>> 
>>>> Can you please test the beta release and report any errors you are
>>> seeing?
>>>> 
>>>> You can test it with these commands:
>>>> 
>>>> npm uninstall @apache-royale/royale-js-swf -g (in case you already have
>>> it
>>>> installed)
>>>> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
>>>> 
>>>> Thanks,
>>>> Om
>>>> 
>>>> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
>> bigosmallm@gmail.com
>>>> 
>>>> wrote:
>>>> 
>>>>> Just a heads up, I will be doing some test publishes of the royale
>> npm
>>>>> package.  I will be using the version number: 0.9.6.beta.1
>>> (0.9.6.beta.2,
>>>>> etc if needed)
>>>>> 
>>>>> These fixes are related to these tickets:
>>>>> 
>>>>> https://github.com/apache/royale-asjs/issues/428
>>>>> https://github.com/apache/royale-asjs/issues/450
>>>>> https://github.com/apache/royale-asjs/issues/231
>>>>> 
>>>>> Thanks,
>>>>> Om
>>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>> 
>> 
> 
> 
> -- 
> Carlos Rovira
> http://about.me/carlosrovira


Re: Testing the npm install error fixes

Posted by Carlos Rovira <ca...@apache.org>.
Hi Om,

I tried to install now with : npm i @apache-royale/royale-js-swf@0.9.6-beta0
-g

I get this:

Last login: Fri Aug 30 00:01:50 on ttys000

macbookpro:~ carlosrovira$ npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g

/usr/local/bin/asjsc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscnpm

/usr/local/bin/asnodec ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asnodecnpm

/usr/local/bin/mxmlc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/mxmlcnpm

/usr/local/bin/asjscompc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/asjscompcnpm

/usr/local/bin/compc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/compcnpm

/usr/local/bin/externc ->
/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/externcnpm


> @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
/usr/local/lib/node_modules/@apache-royale/royale-js-swf

> node dependencies/download_dependencies.js


internal/modules/cjs/loader.js:582

    throw err;

    ^


Error: Cannot find module
'/usr/local/lib/node_modules/@apache-royale/royale-js-swf/dependencies/download_dependencies.js'

    at Function.Module._resolveFilename
(internal/modules/cjs/loader.js:580:15)

    at Function.Module._load (internal/modules/cjs/loader.js:506:25)

    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)

    at startup (internal/bootstrap/node.js:285:19)

    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! @apache-royale/royale-js-swf@0.9.6-beta0 postinstall: `node
dependencies/download_dependencies.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the @apache-royale/royale-js-swf@0.9.6-beta0 postinstall
script.

npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.


npm ERR! A complete log of this run can be found in:

npm ERR!
/Users/carlosrovira/.npm/_logs/2019-09-05T09_23_42_762Z-debug.log

macbookpro:~ carlosrovira$





El mar., 3 sept. 2019 a las 21:55, OmPrakash Muppirala (<
bigosmallm@gmail.com>) escribió:

> Carlos,
>
> A nice way to test if your installation is working correctly is to try it
> with the npm cli tool.
>
> You can install the cli using the command:
>
> npm i @apache-royale/cli -g
>
> Basically install the royale package, then install the cli package.  And
> follow the instructions here:
> https://www.npmjs.com/package/@apache-royale/cli
>
> Thanks,
> Om
>
> On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <ca...@apache.org>
> wrote:
>
> > Hi Om,
> >
> > since I don't know too much about NPM, I want to know some few things
> about
> > the Royale NPM version. Just uninstalled old version successfully.
> >
> > Now, I'm on Mac. if I install the new one, how this affects my
> environment?
> > I suppose that my installation of repos to build from source code is
> > independent, and NPM installs mxmlc in Terminal (command line level).
> >
> > Then, some easy way to give a quick test that all is working ok? I
> suppose
> > that I must go to some example project like Tour de Jewel and try to
> > compile in terminal with mxmlc right? Can you provide a command line to
> use
> > for test for example that particular case?
> >
> > Thanks!
> >
> >
> >
> > El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
> > bigosmallm@gmail.com>) escribió:
> >
> > > Hi folks,
> > >
> > > Can you please test the beta release and report any errors you are
> > seeing?
> > >
> > > You can test it with these commands:
> > >
> > > npm uninstall @apache-royale/royale-js-swf -g (in case you already have
> > it
> > > installed)
> > > npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> > >
> > > Thanks,
> > > Om
> > >
> > > On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <
> bigosmallm@gmail.com
> > >
> > > wrote:
> > >
> > > > Just a heads up, I will be doing some test publishes of the royale
> npm
> > > > package.  I will be using the version number: 0.9.6.beta.1
> > (0.9.6.beta.2,
> > > > etc if needed)
> > > >
> > > > These fixes are related to these tickets:
> > > >
> > > > https://github.com/apache/royale-asjs/issues/428
> > > > https://github.com/apache/royale-asjs/issues/450
> > > > https://github.com/apache/royale-asjs/issues/231
> > > >
> > > > Thanks,
> > > > Om
> > > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Carlos,

A nice way to test if your installation is working correctly is to try it
with the npm cli tool.

You can install the cli using the command:

npm i @apache-royale/cli -g

Basically install the royale package, then install the cli package.  And
follow the instructions here:
https://www.npmjs.com/package/@apache-royale/cli

Thanks,
Om

On Tue, Sep 3, 2019 at 11:11 AM Carlos Rovira <ca...@apache.org>
wrote:

> Hi Om,
>
> since I don't know too much about NPM, I want to know some few things about
> the Royale NPM version. Just uninstalled old version successfully.
>
> Now, I'm on Mac. if I install the new one, how this affects my environment?
> I suppose that my installation of repos to build from source code is
> independent, and NPM installs mxmlc in Terminal (command line level).
>
> Then, some easy way to give a quick test that all is working ok? I suppose
> that I must go to some example project like Tour de Jewel and try to
> compile in terminal with mxmlc right? Can you provide a command line to use
> for test for example that particular case?
>
> Thanks!
>
>
>
> El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
> bigosmallm@gmail.com>) escribió:
>
> > Hi folks,
> >
> > Can you please test the beta release and report any errors you are
> seeing?
> >
> > You can test it with these commands:
> >
> > npm uninstall @apache-royale/royale-js-swf -g (in case you already have
> it
> > installed)
> > npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
> >
> > Thanks,
> > Om
> >
> > On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <bigosmallm@gmail.com
> >
> > wrote:
> >
> > > Just a heads up, I will be doing some test publishes of the royale npm
> > > package.  I will be using the version number: 0.9.6.beta.1
> (0.9.6.beta.2,
> > > etc if needed)
> > >
> > > These fixes are related to these tickets:
> > >
> > > https://github.com/apache/royale-asjs/issues/428
> > > https://github.com/apache/royale-asjs/issues/450
> > > https://github.com/apache/royale-asjs/issues/231
> > >
> > > Thanks,
> > > Om
> > >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Re: Testing the npm install error fixes

Posted by Carlos Rovira <ca...@apache.org>.
Hi Om,

since I don't know too much about NPM, I want to know some few things about
the Royale NPM version. Just uninstalled old version successfully.

Now, I'm on Mac. if I install the new one, how this affects my environment?
I suppose that my installation of repos to build from source code is
independent, and NPM installs mxmlc in Terminal (command line level).

Then, some easy way to give a quick test that all is working ok? I suppose
that I must go to some example project like Tour de Jewel and try to
compile in terminal with mxmlc right? Can you provide a command line to use
for test for example that particular case?

Thanks!



El mar., 3 sept. 2019 a las 19:52, OmPrakash Muppirala (<
bigosmallm@gmail.com>) escribió:

> Hi folks,
>
> Can you please test the beta release and report any errors you are seeing?
>
> You can test it with these commands:
>
> npm uninstall @apache-royale/royale-js-swf -g (in case you already have it
> installed)
> npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g
>
> Thanks,
> Om
>
> On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <bi...@gmail.com>
> wrote:
>
> > Just a heads up, I will be doing some test publishes of the royale npm
> > package.  I will be using the version number: 0.9.6.beta.1 (0.9.6.beta.2,
> > etc if needed)
> >
> > These fixes are related to these tickets:
> >
> > https://github.com/apache/royale-asjs/issues/428
> > https://github.com/apache/royale-asjs/issues/450
> > https://github.com/apache/royale-asjs/issues/231
> >
> > Thanks,
> > Om
> >
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Testing the npm install error fixes

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Hi folks,

Can you please test the beta release and report any errors you are seeing?

You can test it with these commands:

npm uninstall @apache-royale/royale-js-swf -g (in case you already have it
installed)
npm i @apache-royale/royale-js-swf@0.9.6-beta0 -g

Thanks,
Om

On Sun, Sep 1, 2019 at 7:52 PM OmPrakash Muppirala <bi...@gmail.com>
wrote:

> Just a heads up, I will be doing some test publishes of the royale npm
> package.  I will be using the version number: 0.9.6.beta.1 (0.9.6.beta.2,
> etc if needed)
>
> These fixes are related to these tickets:
>
> https://github.com/apache/royale-asjs/issues/428
> https://github.com/apache/royale-asjs/issues/450
> https://github.com/apache/royale-asjs/issues/231
>
> Thanks,
> Om
>