We found potential security vulnerabilities in your dependencies. Only the owner of this reposito...

编程知识 更新时间:2023-05-01 23:40:00

删除package-lock.json并同步到git

定义的依赖项./package-lock.json具有已知的安全漏洞

找到一个叫做.gitignore,把package-lock.json贴在这个文件里
[外链图片转存失败(img-V8oNIMvg-1563449856873)(https://upload-images.jianshu.io/upload_images/11158618-bbf13db2abeca79b.png?imageMogr2/auto-orient/strip|imageView2/2/w/1240)]

[外链图片转存失败(img-4rieKxDf-1563449856875)(https://upload-images.jianshu.io/upload_images/11158618-270a327c58988248.png?imageMogr2/auto-orient/strip|imageView2/2/w/1240)]

npm install webpack-dev-server --save --dev

install Usage of the --dev option is deprecated. Use --only=dev instead.

npm install webpack-dev-server --save --only=dev

[外链图片转存失败(img-aTQNCOSU-1563449856877)(https://upload-images.jianshu.io/upload_images/11158618-11e011d1fccdcfaf.png?imageMogr2/auto-orient/strip|imageView2/2/w/1240)]

[外链图片转存失败(img-CiAchZuF-1563449856878)(https://upload-images.jianshu.io/upload_images/11158618-7d0d2d9f4a968537.png?imageMogr2/auto-orient/strip|imageView2/2/w/1240)]


请点赞!因为你们的赞同/鼓励是我写作的最大动力!

欢迎关注达叔小生的简书!

这是一个有质量,有态度的博客

[外链图片转存失败(img-NYrLj4jh-1563449856883)(https://upload-images.jianshu.io/upload_images/11158618-9ab0d3fef85d80ce?imageMogr2/auto-orient/strip|imageView2/2/w/1240)]

更多推荐

We found potential security vulnerabilities in your dependencies. Only the owner

本文发布于:2023-04-24 14:25:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/6401cf40e95a540c6f841a869ffb9764.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:vulnerabilities   security   potential   reposito   owner

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 100731文章数
  • 26065阅读数
  • 0评论数