当前位置:网站首页>Handling of NPM I installation problems

Handling of NPM I installation problems

2022-06-25 10:48:00 Nanxiang old friend DL

When installed npm i To achieve web Some of the project jar Package installation , At this time, it is easy to fail to download , The solution is as follows :
One 、 Installation problems from npm The emergence of the solution

  1. npm install --legacy-peer-deps

Two 、 The existing method is to replace the generation npm use cnpm The specific steps are as follows :

  1. npm install -g cnpm --registry=https://registry.npm.taobao.org
  2. cnpm i Problem solvable
原网站

版权声明
本文为[Nanxiang old friend DL]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202200542470187.html