【发布时间】:2018-10-25 01:13:34
【问题描述】:
我是网络开发的新手。运行命令后我收到此错误消息:npm install。
希望有人可以帮助我。
消息:
PS C:\Users\Giu\node_modules\npm> npm install
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
> npm@6.4.1 prepare C:\Users\Giu\node_modules\npm
> node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc
up to date in 4.661s
Der Befehl "rimraf" ist entweder falsch geschrieben oder
konnte nicht gefunden werden. English: The command "rimraf" is either wrong written or it cant be find.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! npm@6.4.1 prepare: `node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the npm@6.4.1 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Giu\AppData\Roaming\npm-cache\_logs\2018-10-16T06_40_26_185Z-debug.log
留言结束
谢谢!
【问题讨论】:
-
你要安装什么?
-
我不确定。我得到了描述。 1. 安装 node.js 和 npm 2. 运行 npm install -g @angular/cli@latest“ 3. npm install 4. ng serve