【问题标题】:Error installing Ionic using npm使用 npm 安装 Ionic 时出错
【发布时间】:2017-09-12 17:24:50
【问题描述】:

我是 Ionic 框架的新手。作为初学者,我使用 npm 作为npm install -g cordova 安装了cordova,它成功安装了 6.2.0。将 ionic 安装为 npm install -g ionic 时出现以下错误。

npm:3.10.5 节点:6.10.2

我也重新安装了节点,但这对我有帮助。 当我在 cmd 中编写 ionic 时,出现以下错误:

我不知道 npm 或其他什么问题。 任何帮助将不胜感激!

【问题讨论】:

    标签: node.js cordova ionic-framework npm npm-install


    【解决方案1】:

    你应该做的步骤:

    npm cache clean
    npm set registry https://registry.npmjs.org/
    npm set registry http://registry.npmjs.org/
    npm install -g ionic
    

    【讨论】:

      猜你喜欢
      • 2017-06-01
      • 2017-11-11
      • 1970-01-01
      • 2018-10-29
      • 2017-02-18
      • 1970-01-01
      • 1970-01-01
      • 2020-10-20
      • 2014-02-17
      相关资源
      最近更新 更多