Ionic framework 无法将Ionic 5.0.0更新到更新版本
我得到的信息如下:Ionic framework 无法将Ionic 5.0.0更新到更新版本,ionic-framework,npm,Ionic Framework,Npm,我得到的信息如下: Update available 5.0.0 → 5.4.1│ Run npm i -g ionic to update. 然后我运行“npm I-g ionic”,这就是演示的内容: npm WARN deprecated superagent@4.1.0: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add i
Update available 5.0.0 → 5.4.1│
Run npm i -g ionic to update.
然后我运行“npm I-g ionic”,这就是演示的内容:
npm WARN deprecated superagent@4.1.0: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
/usr/local/lib/node_modules/node/bin/ionic -> /usr/local/lib/node_modules/node/lib/node_modules/ionic/bin/ionic
+ ionic@5.4.2
updated 1 package in 7.726s
但该版本保持在5.0.0
我做错了什么?如果您在mac上,请尝试使用:sudo npm install-g ionic如果您在mac上,请尝试使用:sudo npm install-g ionic