NPM的IONIC错误(不建议使用的警告)

时间:2019-03-20 01:41:55

标签: ionic-framework ionic4

在旧的离子版本中,我能够正常运行和安装离子。 但是在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

1 个答案:

答案 0 :(得分:-1)

在运行离子启动之前设置NODE_TLS_REJECT_UNAUTHORIZED = 0。