Cla*_*aus 2 warnings npm firebase reactjs
我正在尝试使用更新我的React/Firebase项目
npm install --save firebase-functions@latest
Run Code Online (Sandbox Code Playgroud)
我收到很多警告:
npm WARN google-maps-react@2.0.0 requires a peer of react@~0.14.8 || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN google-maps-react@2.0.0 requires a peer of react-dom@~0.14.8 || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN firebase-functions@1.0.1 requires a peer of firebase-admin@~5.12.0 but none is installed. You must install peer dependencies yourself.
Run Code Online (Sandbox Code Playgroud)
我是新手,所以不确定我应该运行哪个命令来修复警告.
4nd*_*t3s 11
手动安装:
npm install react@^16.0.0
npm install react-dom@^16.0.0
npm install firebase-admin@~5.12.0
npm install firebase-functions@latest
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
8573 次 |
| 最近记录: |