当前位置:网站首页>After sharing the clone remote project, NPM install reports an error - CB () never called! This is an error with npm itself.

After sharing the clone remote project, NPM install reports an error - CB () never called! This is an error with npm itself.

2022-07-06 06:49:00 That's a simple man

clon After remote project ,npm install Report errors ——cb() never called!This is an error with npm itself. Please report this error at: npm ERR!

Error message

     # Share the actual operation of private items #clon After remote project ,npm install Report errors ——cb() never called!This is an error with npm itself. _npm

scene

        The scene of this error report is clon End jetlinks-ui-antd after , Error report when downloading dependency

        This machine is window 10,vue project

solve

  1. Delete ​​nodel_module​​ file
  2. If there is ​​package.lock.json​​ The file was also deleted
  3. upgrade npm :​​npm install npm -g​
  4. Use cnpm Installation
  5. If it is not installed, it should be installed first :​​npm install -g cnpm --registry=https://registry.npm.taobao.org​
  6. install :​​cnpm install​

result

# Share the actual operation of private items #clon After remote project ,npm install Report errors ——cb() never called!This is an error with npm itself. _npm_02

        Although there is a report of red , But at the end of the day, there's a little check mark , Finally, start your project and see if you can !

        My project is input ​​npm start​

       # Share the actual operation of private items #clon After remote project ,npm install Report errors ——cb() never called!This is an error with npm itself. _npm_03

        Successful launch !

原网站

版权声明
本文为[That's a simple man]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131957371906.html