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-544967520 Hi Harbs, I think NPM is actually failing. This is my log: ``` /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js + [email protected] added 1 package from 1 contributor, removed 1 package and updated 11 packages in 4.275s macbookpro:royale-compiler carlosrovira$ npm uninstall @apache-royale/royale-js-swf -g up to date in 0.03s macbookpro:royale-compiler carlosrovira$ npm i @apache-royale/[email protected] -g /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/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/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/[email protected] postinstall /usr/local/lib/node_modules/@apache-royale/royale-js-swf > node dependencies/download_dependencies.js internal/modules/cjs/loader.js:783 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:780:15) at Function.Module._load (internal/modules/cjs/loader.js:685:27) at Function.Module.runMain (internal/modules/cjs/loader.js:1014: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/[email protected] postinstall: `node 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/carlosrovira/.npm/_logs/2019-10-22T13_39_41_131Z-debug.log ```
---------------------------------------------------------------- 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
