Node.js报错如下:
C:\Users\32008>npm install
npm WARN npm npm does not support Node.js v14.15.4
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! cb.apply is not a function
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\32008\AppData\Roaming\npm-cache\_logs\2021-05-24T15_29_16_950Z-debug.log
解决方法:
进入目录
C:\Users\32008\AppData\Roaming
删除该目录下的npm 文件夹与 npm-cache文件夹