在Mac系统上安装`@ angular / cli`时出错(getting error on installing `@angular/cli` on mac system)

编程入门 行业动态 更新时间:2024-10-22 23:08:13
在Mac系统上安装`@ angular / cli`时出错(getting error on installing `@angular/cli` on mac system)

我正在尝试将angular5或更高版本安装到我的Mac机器上。 但得到错误(s)如何解决这个问题? 这里是错误的详细信息:

03:56:57 {master} ~/arif/ng/mean-angular5$ node -v v6.11.1 03:57:00 {master} ~/arif/ng/mean-angular5$ clear 03:57:35 {master} ~/arif/ng/mean-angular5$ npm install -g @angular/cli npm ERR! Darwin 16.6.0 npm ERR! argv "/Users/jinugeorge/Downloads/node-v6.11.1-darwin-x64/bin/node" "/Users/jinugeorge/Downloads/node-v6.11.1-darwin-x64/bin/npm" "install" "-g" "@angular/cli" npm ERR! node v6.11.1 npm ERR! npm v3.10.10 npm ERR! code ETARGET npm ERR! notarget No compatible version found: require-from-string@^1.1.0 npm ERR! notarget Valid install targets: npm ERR! notarget 2.0.2 npm ERR! notarget npm ERR! notarget This is most likely not a problem with npm itself. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! notarget npm ERR! notarget It was specified as a dependency of 'cosmiconfig' npm ERR! notarget npm ERR! Please include the following file with any support request: npm ERR! /Users/jinugeorge/arif/ng/mean-angular5/npm-debug.log 03:58:05 {master} ~/arif/ng/mean-angular5$

I am trying to install the angular5 or later to my mac machine. but getting error(s) how to solve this? here is the error details:

03:56:57 {master} ~/arif/ng/mean-angular5$ node -v v6.11.1 03:57:00 {master} ~/arif/ng/mean-angular5$ clear 03:57:35 {master} ~/arif/ng/mean-angular5$ npm install -g @angular/cli npm ERR! Darwin 16.6.0 npm ERR! argv "/Users/jinugeorge/Downloads/node-v6.11.1-darwin-x64/bin/node" "/Users/jinugeorge/Downloads/node-v6.11.1-darwin-x64/bin/npm" "install" "-g" "@angular/cli" npm ERR! node v6.11.1 npm ERR! npm v3.10.10 npm ERR! code ETARGET npm ERR! notarget No compatible version found: require-from-string@^1.1.0 npm ERR! notarget Valid install targets: npm ERR! notarget 2.0.2 npm ERR! notarget npm ERR! notarget This is most likely not a problem with npm itself. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! notarget npm ERR! notarget It was specified as a dependency of 'cosmiconfig' npm ERR! notarget npm ERR! Please include the following file with any support request: npm ERR! /Users/jinugeorge/arif/ng/mean-angular5/npm-debug.log 03:58:05 {master} ~/arif/ng/mean-angular5$

最满意答案

npm在过去几天有问题: https : //status.npmjs.org/incidents/41zfb8qpvrdj

不幸的是,这个问题似乎仍然是一些用户的问题。

npm had an issue over the last few days: https://status.npmjs.org/incidents/41zfb8qpvrdj

Unfortunately, this problem seems to still be an issue for some users.

更多推荐

本文发布于:2023-04-29 10:20:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1336311.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:系统   cli   angular   Mac   mac

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!