npm下载不了模块,版本太低

npm下载不了模块,版本太低,更新不了,输入命令显示报错,该怎么搞,麻烦帮帮忙

npm ERR! cb.apply is not a function

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Lenovo\AppData\Roaming\npm-cache_logs\2022-07-22T05_13_51_274Z-debug.log

img

命令能这么写吗
https://blog.csdn.net/weixin_44222492/article/details/99637027

你这样试试:

npm install npm@latest -g

望采纳。

简单粗暴
卸载重装
https://blog.csdn.net/csdn122325735/article/details/125225533