如何解决React Native项目中的``漏洞''?

时间:2018-07-16 15:47:32

标签: reactjs react-native command-line

我安装了一个npmjs插件,它完全弄乱了我的节点模块,无论我如何尝试修复它们,我的存储库都被破坏了。因此,我从干净状态重新关闭了我们的应用,现在我处于一个全新的文件夹中,但仍然遇到这些“漏洞”错误。我已经删除了几次应用程序并将其重新克隆到不同的位置,这让我感到震惊,尽管这些更改从未被推送或合并,但这些错误一直困扰着我。我尝试运行“ npm auditx fix -force”,而当该方法不起作用时,我尝试了“ npm auditx fix --force”,但都无法解决问题。我已经删除了package-lock.json文件,node_modules文件夹等,并再次运行了“ npm install”,但是没有任何反应!有人可以建议可以解决或消除这些“漏洞”的命令吗?

C:\projects\mobile (master -> origin)
λ npm install

    > react-native-elements@0.19.1 postinstall C:\projects\mobile\node_modules\react-native-elements
    > opencollective postinstall


         *** Thank you for using react-native-elements! ***

    Please consider donating to our open collective
         to help us maintain this package.

      https://opencollective.com/react-native-elements/donate

                        ***


    > react-native-router-flux@4.0.0-beta.28 postinstall C:\projects\mobile\node_modules\react-native-router-flux
    > opencollective postinstall


         *** Thank you for using react-native-router-flux! ***

    Please consider donating to our open collective
         to help us maintain this package.

      https://opencollective.com/react-native-router-flux/donate

                        ***

    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

    added 1403 packages from 1139 contributors and audited 21924 packages in 91.44s
    found 811 vulnerabilities (693 low, 95 moderate, 23 high)
      run `npm audit fix` to fix them, or `npm audit` for details

0 个答案:

没有答案