Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
455 views
in Technique[技术] by (71.8m points)

node.js - 无法在ionic 3.2.0上成功运行命令npm install --save-dev --save-exact @ ionic / cli-plugin-angular @ latest(Can't successfully run the command npm install --save-dev --save-exact @ionic/cli-plugin-angular@latest on ionic 3.2.0)

I'm trying to set up a project using

(我正在尝试使用建立一个项目)

  • ionic version 3.2.0

    (离子版本3.2.0)

  • Cordova CLI: 8.0.0

    (科尔多瓦CLI:8.0.0)

  • Node 12.13.1 (lts)

    (节点12.13.1(lts))

  • Using Windows 10 (If it helps)

    (使用Windows 10(如果有帮助))

When I try to run the command ionic cordova platform add [email protected] the terminal prompts me ? Looks like this is an angular project, would you like to install @ionic/cli-p lugin-angular and continue? (Y/n)

(当我尝试运行命令ionic cordova platform add [email protected] ,终端提示我? Looks like this is an angular project, would you like to install @ionic/cli-p lugin-angular and continue? (Y/n)) ? Looks like this is an angular project, would you like to install @ionic/cli-p lugin-angular and continue? (Y/n) ? Looks like this is an angular project, would you like to install @ionic/cli-p lugin-angular and continue? (Y/n) and then when I press y and ENTER key the error message comes out.

(? Looks like this is an angular project, would you like to install @ionic/cli-p lugin-angular and continue? (Y/n) ,然后当我按y和ENTER键时,将出现错误消息。)

Image of the Error Message

(错误消息的图像)

Tried to run this command npm install --save-dev --save-exact @ionic/cli-plugin-angular@latest individually but the same error shows.

(试图单独运行此命令npm install --save-dev --save-exact @ionic/cli-plugin-angular@latest但显示相同的错误。)

Looked for and tried a lot of solutions but it doesn't work.

(寻找并尝试了许多解决方案,但没有用。)

This is getting very frustrating.

(这变得非常令人沮丧。)

Can Any of you guys help me?

(你们可以帮我吗?)

Some solutions that I tried previously which had not effect on the error.

(我之前尝试过的一些解决方案对错误没有影响。)

It keeps on coming.

(它一直在继续。)

  1. npm install -g @angular/angular-cli (Still prompts me to run ? Looks like this is an angular project, would you like to install @ionic/cli-p lugin-angular and continue? (Y/n) Then comes the Error)

    (npm install -g @angular/angular-cli (仍然提示我运行? Looks like this is an angular project, would you like to install @ionic/cli-p lugin-angular and continue? (Y/n)然后出现错误))

  2. npm set registry https://registry.npmjs.org/ (No change on the Error message)

    (npm set registry https://registry.npmjs.org/ (错误消息未更改))

  3. npm install @ionic/cli-plugin-cordova npm uninstall -g ionic npm install -g [email protected] (Same Error Pops up)

    (npm install @ionic/cli-plugin-cordova npm uninstall -g ionic npm install -g [email protected]npm install @ionic/cli-plugin-cordova npm uninstall -g ionic npm install -g [email protected]相同错误))

*New to Ionic & Cordova.

(* Ionic&Cordova的新手。)

Can Anyone help?

(有人可以帮忙吗?)

  ask by Raisul Islam Ratul translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...