laravel - 如何解决这个问题,盯着我的 laravel 项目安装 npm
问题描述
在项目上运行后npm install
,我遇到了这个问题
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm ERR! Unexpected end of JSON input while parsing near '...3ec2605d1fc435f4d8651'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Najmun_Nafiz\AppData\Roaming\npm-cache\_logs\2020-06-04T01_36_41_794Z-debug.log
请帮我解决这个问题。
解决方案
通过将我的 Nodejs 版本升级到 14.x 解决了我的问题。
推荐阅读
- python-3.x - Apache Beam Jupyter Notebook:ImportError:无法从“google.cloud”(未知位置)导入名称“storage”
- android - 重构活动仅在提供的数据上有所不同
- python - googleapi python如何获取/刷新访问令牌
- reactjs - 有没有类似electron-vue 的react 插件?
- javascript - 我正在使用 html 并有两个按钮。我希望这些按钮具有不同的 typeWriter() 函数输出
- angular - 我希望 Angular 访问 URL 并获取 STL 文件,该文件可用于进一步处理
- android - 如何从广播接收器类调用片段类的处理程序来更新主线程?
- python - 为什么`for _ in 1,1`会迭代两次?
- c - 在 C 中传递指向数组的指针的正确方法是什么?
- magento - magento 1.9 + 脑树