Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 无法安装Nodejs模块_Node.js_Reactjs_Npm - Fatal编程技术网

Node.js 无法安装Nodejs模块

Node.js 无法安装Nodejs模块,node.js,reactjs,npm,Node.js,Reactjs,Npm,我从节点版本10升级到了版本12 我试着运行我的react应用程序,但遇到了一些问题,所以我按照react给我的步骤来帮助解决它 但只要我决定跑步 npm安装 我得到以下错误 npm WARN deprecated eslint-loader@3.0.3: This loader has been deprecated. Please use eslint-webpack-plugin npm WARN deprecated urix@0.1.0: Please see https://gith

我从节点版本10升级到了版本12 我试着运行我的react应用程序,但遇到了一些问题,所以我按照react给我的步骤来帮助解决它 但只要我决定跑步

npm安装 我得到以下错误

npm WARN deprecated eslint-loader@3.0.3: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
npm WARN deprecated @types/testing-library__dom@7.5.0: This is a stub types definition. testing-library__dom provides its own type definitions, so you do not need this installed.
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 har-validator@5.1.5: this library is no longer supported
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm ERR! Unexpected end of JSON input while parsing near '...==","shasum":"1a713a9'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/freduah/.npm/_logs/2020-10-24T19_12_54_447Z-debug.log

npm警告已弃用的eslint-loader@3.0.3:此加载程序已被弃用。请使用eslint网页包插件
npm警告已弃用urix@0.1.0:请看https://github.com/lydell/urix#deprecated
npm警告不推荐的解决方案-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm警告已弃用chokidar@2.1.8:Chokidar 2将在节点v14+上中断。升级到chokidar 3,依赖项减少15倍。
npm警告已弃用request@2.88.2:请求已被否决,请参阅https://github.com/request/request/issues/3142
npm警告不推荐的请求承诺-native@1.0.9:request promise native已弃用,因为它扩展了现在弃用的请求包,请参阅https://github.com/request/request/issues/3142
npm警告已弃用@hapi/joi@15.1.1:joi将离开@hapi组织并返回“joi”(https://github.com/sideway/joi/issues/2411)
npm警告已弃用@类型/测试库__dom@7.5.0:这是存根类型定义。testing-library\uu dom提供了自己的类型定义,因此您不需要安装它。
npm警告已弃用fsevents@1.2.13:fsevents 1将在节点v14+上中断,并且可能使用不安全的二进制文件。升级至fsevents 2。
npm警告不推荐的har-validator@5.1.5:不再支持此库
npm警告已弃用@hapi/bourne@1.3.2:此版本已被弃用,不再受支持或维护
npm警告已弃用@hapi/hoek@8.5.1:此版本已被弃用,不再受支持或维护
npm警告已弃用@hapi/topo@3.1.6:此版本已被弃用,不再受支持或维护
npm警告已弃用@hapi/address@2.1.4:此版本已被弃用,不再受支持或维护

npm警告弃用的内核-js@2.6.11:核心-js@Have您试图将package.json更新为所有导入库的最新版本吗?此外,您还需要找到不推荐使用的库的替代品,如“har验证器”。