It’s still not working for me. Without sudo, I always get errors with node.
I’m currently getting this: Harbss-MBP:~ harbs$ sudo npm i @apache-royale/[email protected] -g /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/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/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/[email protected] postinstall > /usr/local/lib/node_modules/@apache-royale/royale-js-swf > node royale-asjs/npm/js-swf/dependencies/download_dependencies.js prompt: Apache Royale includes an optional component set that uses fonts from designmodo.com. The font files are subject to and governed by the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported license: http://creativecommons.org/licenses/by-nc-nd/3.0/ This license is not compatible with the Apache v2 license. Do you want to install the designmodo fonts? This is an optional component (y/n): y Downloading FlatUI from https://github.com/designmodo/Flat-UI/archive/2.2.2.zip internal/streams/legacy.js:57 throw er; // Unhandled stream error in pipe. ^ Error: ENOENT: no such file or directory, open './downloads/2.2.2.zip' npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @apache-royale/[email protected] postinstall: `node royale-asjs/npm/js-swf/dependencies/download_dependencies.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @apache-royale/[email protected] 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/harbs/.npm/_logs/2019-10-22T14_09_57_112Z-debug.log > On Oct 22, 2019, at 5:05 PM, GitBox <[email protected]> wrote: > > carlosrovira commented on issue #450: installing Royale-js-swf via NPM: > playerglobal25_0.swc Download failed with status code: 404 > URL: https://github.com/apache/royale-asjs/issues/450#issuecomment-544979258 > > > @Harbs finaly I get this working. I was trying with a "beta" by mistake so > I did: > > 1. npm uninstall @apache-royale/royale-js-swf -g > 2. npm i @apache-royale/[email protected] -g > > (no sudo involved) > > so I get > > ``` > + @apache-royale/[email protected] > added 185 packages from 116 contributors in 321.859s > ``` > > HTH > > Carlos > > ---------------------------------------------------------------- > This is an automated message from the Apache Git Service. > To respond to the message, please log on to GitHub and use the > URL above to go to the specific comment. > > For queries about this service, please contact Infrastructure at: > [email protected] > > > With regards, > Apache Git Services
