Closed dan-sra closed 4 years ago
Thanks for reporting this issue, and for all of the detailed information. I've managed to recreate it (looks like @vue/cli-service
no longer works for older versions of npm
- https://github.com/vuejs/vue-cli/issues/5800).
As a work around until I push a proper fix, can you try the following (you might need to run it more than once):
docker exec -it awspx sh -c 'cd /opt/awspx/www && rm -rf node_modules && npm install -g npm@latest && npm install' && docker restart awspx
I've just tested it and it seems to have done the trick, if it doesn't please let me know
Unfortunately that did not work:
/opt/awspx > docker exec -it awspx sh -c 'cd /opt/awspx/www && rm -rf node_modules && npm install -g npm@latest && npm install' && docker restart awspx
npm WARN npm npm does not support Node.js v10.21.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.14.8
added 434 packages from 885 contributors in 8.146s
npm WARN npm npm does not support Node.js v10.21.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:": npm:vue-loader@^16.0.0-beta.3
npm WARN deprecated @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-08-28T13_12_01_708Z-debug.log
Did you run the command more than once? It also failed for me the first time but completed successfully after the second attempt
I ran it again and the dependencies installed without issue
Awesome! Thanks for letting me know. I'll leave this issue open for others to see until I push a proper fix. Thanks again for logging it.
i got the same issue and i tried the command 3 times but it does not work
Hi @zohrasaida,
Since this issue was originally opened, awspx has been added to dockerhub. There is now no longer the need to perform this step yourself. Please make sure your repo is up to date and run ./INSTALL
, which will pull and run the latest working copy. If this doesn't work, please let me know
same issue is there
I just pulled awspx today and ran it for the first time. Unfortunately the NPM dependencies don't install correctly and the web server is not running.
Console output:
Log file: