我正在使用节点表达式测试云9中的web应用程序。npm app.js在突然停止工作之前就开始工作了。当我运行npm时,app.js将返回以下命令行:
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/ubuntu/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@3.10.10 /home/ubuntu/.nvm/versions/node/v6.11.3/lib/node_modules/npm发布于 2018-01-22 14:22:48
npm是包装经理。你是想运行node app.js吗?
https://stackoverflow.com/questions/48382875
复制相似问题