首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >云9 NPM不再工作

云9 NPM不再工作
EN

Stack Overflow用户
提问于 2018-01-22 13:36:48
回答 1查看 200关注 0票数 0

我正在使用节点表达式测试云9中的web应用程序。npm app.js在突然停止工作之前就开始工作了。当我运行npm时,app.js将返回以下命令行:

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-01-22 14:22:48

npm是包装经理。你是想运行node app.js吗?

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48382875

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档