当我在终端上运行“ npm install npm@latest -g ”脚本时
它显示这样的错误
PS C:\xampp\htdocs\laravelecommerce3> npm install npm@latest -g
npm WARN npm npm does not support Node.js v16.10.0
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\Dell\AppData\Roaming\npm-cache\_logs\2021-09-24T19_58_30_197Z-debug.log
Run Code Online (Sandbox Code Playgroud)
我的节点版本是
v16.10.0
Run Code Online (Sandbox Code Playgroud)
我的 npm 版本是
6.9.2
Run Code Online (Sandbox Code Playgroud)
请建议和帮助
| 归档时间: |
|
| 查看次数: |
36608 次 |
| 最近记录: |