e7d / speedtest

A self-hosted, lightweight HTML5 speed test implemented in JavaScript, based on Web Workers and XMLHttpRequest.
https://hub.docker.com/r/e7db/speedtest
MIT License
213 stars 58 forks source link

error speedtest@ setup: `npm ci && lerna bootstrap` #50

Open barto95100 opened 3 years ago

barto95100 commented 3 years ago

When I test to run npm run setup I receive the error :

> npm ci && lerna bootstrap

Usage: npm <command>

where <command> is one of:
    access, add-user, adduser, apihelp, author, bin, bugs, c,
    cache, completion, config, ddp, dedupe, deprecate, dist-tag,
    dist-tags, docs, edit, explore, faq, find, find-dupes, get,
    help, help-search, home, i, info, init, install,
    install-test, issues, it, la, link, list, ll, ln, login,
    logout, ls, outdated, owner, pack, ping, prefix, prune,
    publish, r, rb, rebuild, remove, repo, restart, rm, root,
    run-script, s, se, search, set, show, shrinkwrap, star,
    stars, start, stop, t, tag, team, test, tst, un, uninstall,
    unlink, unpublish, unstar, up, update, upgrade, v, verison,
    version, view, whoami

npm <cmd> -h     quick help on <cmd>
npm -l           display full usage info
npm faq          commonly asked questions
npm help <term>  search for help on <term>
npm help npm     involved overview

Specify configs in the ini-formatted file:
    /root/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

npm@3.5.2 /usr/share/npm

npm ERR! Linux 4.15.0-147-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "setup"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! speedtest@ setup: `npm ci && lerna bootstrap`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the speedtest@ setup script 'npm ci && lerna bootstrap'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the speedtest package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm ci && lerna bootstrap
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speedtest
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls speedtest
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/sct/speedtest/npm-debug.log

I don't know why...

Atharv-Pathak-14 commented 2 years ago

@barto95100 update your npm and node.js you are using a very outdated version

Use:- Npm - v7.x.x Node.js - v12.x.x