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://www.npmjs.com/package/@apache-royale/cli
>> 
>> 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://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

Reply via email to