运行npm install时found 9351 high se
2019-08-16 本文已影响0人
咖A喱
运行npm audit fix
再运行npm install
后会出现如下提示

接着需要指定repository
于是在文件目录中找到
package.json
文件添加如下代码即可
"repository": { "type": "git", "url": "https://gitlab.com/xxxx/xxxx.git"(仓库地址) }
运行npm audit fix
再运行npm install
后会出现如下提示
package.json
文件"repository": { "type": "git", "url": "https://gitlab.com/xxxx/xxxx.git"(仓库地址) }