gpt4 book ai didi

javascript - Cloud 9 NPM 不再工作

转载 作者:行者123 更新时间:2023-12-03 02:39:40 26 4
gpt4 key购买 nike

我正在使用 Node Express 在 Cloud 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

最佳答案

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

关于javascript - Cloud 9 NPM 不再工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48382875/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com