【问题标题】:How to I can solve this problem to staring in my laravel project to install npm如何解决这个问题,盯着我的 laravel 项目安装 npm
【发布时间】:2020-09-22 21:40:00
【问题描述】:

在项目上运行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

请帮我解决这个问题。

【问题讨论】:

    标签: laravel npm npm-install laravel-7 npm-request


    【解决方案1】:

    当正在使用的软件包已过时/不推荐使用且不再受支持时,此警告非常常见。

    在您的情况下 popper.js@1.16.1 查看此链接 https://stackoverflow.com/a/60747896/5326191

    欲了解更多信息,请转至npm packages。输入您的软件包名称以检查最新版本并开始更新您的软件包。完成后,这些错误就会消失。

    【讨论】:

      【解决方案2】:

      通过将我的 Nodejs 版本升级到 14.x 解决了我的问题。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2020-06-29
        • 2011-02-27
        • 2019-11-16
        • 2021-10-11
        • 2021-06-10
        • 2016-08-03
        • 2019-09-10
        • 1970-01-01
        相关资源
        最近更新 更多