jk121960 wrote:Hi and thanks, I am using Mageia 6 KDE new install, I installed npm but the system can't find it.
[doktor5000@Mageia6]─[23:48:51]─[~] which npm
/bin/npm
[doktor5000@Mageia6]─[23:50:36]─[~] ls -al /bin/npm
lrwxrwxrwx 1 root root 38 Mai 5 2017 /bin/npm -> ../lib/node_modules/npm/bin/npm-cli.js*
[doktor5000@Mageia6]─[23:50:46]─[~]
[doktor5000@Mageia6]─[23:50:46]─[~] npm --help
Usage: npm <command>
where <command> is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
help, help-search, i, init, install, install-test, it, link,
list, ln, login, logout, ls, outdated, owner, pack, ping,
prefix, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, tag, team, test, tst, un, uninstall,
unpublish, unstar, up, update, v, version, view, whoami
npm <cmd> -h quick help on <cmd>
npm -l display full usage info
npm help <term> search for help on <term>
npm help npm involved overview
Specify configs in the ini-formatted file:
/home/doktor5000/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@3.10.10 /usr/lib/node_modules/npm
[✗]─[doktor5000@Mageia6]─[23:51:25]─[~]
urpmi --replacepkgs --replacefiles npm nodejs
Users browsing this forum: Google [Bot] and 1 guest