[英]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.