简体   繁体   English

当我在 Ubuntu 20.04 中创建 React App 时,为什么它会在我的终端中显示一些警告? 它显示了一些模块不兼容

[英]When I am creating React App in Ubuntu 20.04, Why does it show some warnings in my terminal? It shows some module incompatibilities

Creating React App in Ubuntu 20.04, in my terminal:在我的终端中,在 Ubuntu 20.04 中创建 React App:

[1/4] Resolving packages... [1/4] 解决包...

[2/4] Fetching packages... [2/4] 正在取包...

info fsevents@2.3.2: The platform "linux" is incompatible with this module. info fsevents@2.3.2:平台“linux”与此模块不兼容。

info "fsevents@2.3.2" is an optional dependency and failed compatibility check. info "fsevents@2.3.2" 是一个可选的依赖项和失败的兼容性检查。 Excluding it from installation.从安装中排除它。

info fsevents@1.2.13: The platform "linux" is incompatible with this module. info fsevents@1.2.13:平台“linux”与此模块不兼容。

info "fsevents@1.2.13" is an optional dependency and failed compatibility check. info "fsevents@1.2.13" 是一个可选的依赖项和失败的兼容性检查。 Excluding it from installation.从安装中排除它。 [3/4] Linking dependencies... [3/4] 链接依赖...

Warnings in terminal:终端警告:

warning "react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.20.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".警告“react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.20.0”具有未满足的对等依赖性“typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-开发 || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta”。

warning " > @testing-library/user-event@12.8.3" has unmet peer dependency "@testing-library/dom@>=7.21.4".警告“ > @testing-library/user-event@12.8.3”具有未满足的对等依赖关系“@testing-library/dom@>=7.21.4”。

It is an optional dependency and is only needed in MacOS environments.它是一个可选依赖项,仅在 MacOS 环境中需要。 Linux and Windows both provide native ways to do what this dependency is needed for on MacOS. Linux 和 Windows 都提供了在 MacOS 上执行此依赖项所需的本地方法。 Just ignore it.忽略它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么我在运行一些 npm react 命令时会收到这些警告? - Why do I get these warnings when I run some npm react commands? 当我尝试启动 React 应用程序时会显示一些错误 - when ever i tried to start react app is shows me some error 当我只更改状态而不使用任何 CSS 时,为什么我的 React 应用程序菜单会打开? - Why does my React app menu open when I am only changing the state and am not using any CSS? 我无法在我的反应应用程序中获得给定的字体 - 只为某些文本获得它 - I am unable to get the given font in my react app - only getting it for some text 创建我的第一个反应应用程序时出现一些错误? - There is an some errors come during creating my first react app? 为什么我的 React Web App 在某些移动设备上看起来完全不同? - Why does my React Web App look way different on some mobile devices? REACT给出了一些我不确定为什么的错误 - REACT gives some errors that I am not sure why 为什么 React 会多次调用我的应用程序的某些函数? - Why is React calling some of my App's functions multiple times? 为什么在我的 react 应用程序中使用 console.log 时出现“找不到模块”? - Why am I getting a "module not found" when using console.log in my react application? 将Button添加到我的React Native App时出现了一些错误? - I have Some Error when add Button to my React Native App?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM