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 (<
bigosma...@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 <aha...@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" <bigosma...@gmail.com> wrote:
> >
> >     And oh, what is your node version?
> >
> >     On Thu, Sep 5, 2019, 7:27 AM OmPrakash Muppirala <
> bigosma...@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 <
> carlosrov...@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.li...@gmail.com
> >)
> >     >> escribió:
> >     >>
> >     >> > Try sudo.
> >     >> >
> >     >> > > On Sep 5, 2019, at 12:24 PM, Carlos Rovira <
> > carlosrov...@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 (<
> >     >> > > bigosma...@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 <
> >     >> carlosrov...@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 (<
> >     >> > >>> bigosma...@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 <
> >     >> > >> bigosma...@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

Reply via email to