Electron无法安装任何库

时间:2018-10-22 09:59:51

标签: node.js npm electron

我想在Electron中安装一个库,并且在所有库下面出现错误。有人能帮我吗?

还请注意,npm audit fix对我不起作用。

PS C:\Users\...\Desktop\Crossplattform\Cockpit> npm install fast-csv
npm WARN cockpit@1.0.0 No description
npm WARN cockpit@1.0.0 No repository field.

fast-csv@2.4.1
updated 1 package and audited 626 packages in 3.274s
found 2 vulnerabilities (1 low, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
PS C:\Users\...\Desktop\Crossplattform\Cockpit> npm audit



                       === npm audit security report ===


                                 Manual Review
             Some vulnerabilities require your attention to resolve

          Visit https://go.npm.me/audit-guide for additional guidance


    Critical        Command Injection

    Package         growl

    Patched in      >=1.10.2

    Dependency of   electron-titlebar-windows

    Path            electron-titlebar-windows > mocha > growl

    More info       https://nodesecurity.io/advisories/146


    Low             Regular Expression Denial of Service

    Package         debug

    Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

    Dependency of   electron-titlebar-windows

    Path            electron-titlebar-windows > mocha > debug

    More info       https://nodesecurity.io/advisories/534

0 个答案:

没有答案