Cloud 9 NPM无法再次运行

时间:2018-01-22 13:36:49

标签: javascript node.js express cloud9

我使用node express在云端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

1 个答案:

答案 0 :(得分:1)

npm是包管理器。您的意思是运行node app.js吗?