【发布时间】:2022-07-02 00:49:19
【问题描述】:
我在尝试安装 React 时遇到了这个问题,谁能帮帮我?
C:\Users\MyName>npm install react --save
npm WARN npm npm does not support Node.js v16.13.1
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 4, 6, 7, 8.
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\mikok\AppData\Roaming\npm-cache\_logs\2022-01-08T13_47_27_192Z-debug.log
【问题讨论】:
-
你使用的是什么版本的 npm?应该是过时的吧?您最好使用 v7。
标签: reactjs