【问题标题】:IONIC error with NPM (deprecated warning)NPM 的 IONIC 错误(不推荐使用的警告)
【发布时间】:2019-03-20 22:44:14
【问题描述】:

在我的旧 ionic 版本中,我能够正确运行和安装 ionic。 但是在 ionic 中创建一个新项目时,我收到了这个错误 请帮帮我。

C:\>ionic start

Every great app needs a name!

Please enter the full name of your app. You can change this at any time. To bypass this prompt next time, supply name,
the first argument to ionic start.

? Project name: sumith

Let's pick the perfect starter template!

Starter templates are ready-to-go Ionic apps that come packed with everything you need to build your app. To bypass this
prompt next time, supply template, the second argument to ionic start.

? Starter template: blank
√ Preparing directory .\sumith - done!
√ Downloading and extracting blank starter - done!

Installing dependencies may take several minutes.

     *   IONIC  DEVAPP   *

 Speed up development with the Ionic DevApp, our fast, on-device testing mobile app


    > npm i
    npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance 
    only, flatted is its successor.
    [    ..............] / fetchMetadata: sill resolveWithNewModule 
    punycode@2.1.1 checking installable status

【问题讨论】:

  • 您收到错误 npm WARN?没有Ionic4项目吗?文件夹中没有文件?请进一步解释...

标签: ionic-framework ionic4


【解决方案1】:

在运行 ionic start 之前设置 NODE_TLS_REJECT_UNAUTHORIZED=0。

【讨论】:

  • 请在回答问题时说明您在做什么以及为什么
  • 没问题,添加一些参考,并进行一些解释,不搜索其他答案的人会被一些宽泛的答案弄糊涂
猜你喜欢
  • 2017-03-01
  • 1970-01-01
  • 1970-01-01
  • 2020-01-31
  • 2020-05-14
  • 1970-01-01
  • 2016-09-19
  • 2015-02-26
  • 1970-01-01
相关资源
最近更新 更多