gpt4 book ai didi

reactjs - YN0000 : Resolution step error on React JS

转载 作者:行者123 更新时间:2023-12-04 10:39:52 28 4
gpt4 key购买 nike

我是全新的 react ,我希望你们能帮助我解决这个问题。我安装了最新的节点版本。输入 npx create-react-app 后。在终端上发生这种情况:

YN0000: ┌ Resolution step
➤ YN0032: │ fsevents@npm:2.1.2: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ fsevents@npm:2.1.2: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ nan@npm:2.14.0: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ evp_bytestokey@npm:1.0.3: Implicit dependencies on node-gyp are discouraged
➤ YN0000: └ Completed in 1.49m
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 18.74s
➤ YN0000: ┌ Link step
➤ YN0007: │ fsevents@patch:fsevents@npm%3A1.2.9#builtin<compat/fsevents>::version=1.2.9&hash=e8cd9e must be built because it never did before or the last one failed
➤ YN0007: │ core-js@npm:3.6.4 must be built because it never did before or
the last one failed
➤ YN0007: │ core-js-pure@npm:3.4.7 must be built because it never did before or the last one failed
➤ YN0007: │ core-js@npm:2.6.10 must be built because it never did before or the last one failed
➤ YN0000: └ Completed in 22.8s
➤ YN0000: Done with warnings in 2.19m

Installing template dependencies using yarnpkg...
➤ YN0000: ┌ Resolution step
➤ YN0002: │ play@workspace:. doesn't provide @testing-library/dom@>=5 requested by @testing-library/user-event@npm:7.2.1
➤ YN0000: └ Completed in 2.63s
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 2.68s
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 12.76s
➤ YN0000: Done with warnings in 18.18s
Removing template package using yarnpkg...

➤ YN0000: ┌ Resolution step
➤ YN0002: │ play@workspace:. doesn't provide @testing-library/dom@>=5 requested by @testing-library/user-event@npm:7.2.1
➤ YN0000: └ Completed in 1.16s
➤ YN0000: ┌ Fetch step
➤ YN0019: │ cra-template-npm-1.0.0-e8d1aa4189-1.zip appears to be unused -
removing
➤ YN0000: └ Completed in 1.93s
➤ YN0000: ┌ Link step

节点模块甚至不在文件夹中。帮助?谢谢!

最佳答案

我遇到了同样的问题并通过将节点版本降级到类似 v8.11.1 来解决它。

您可以引用this question关于如何降级节点版本。

关于reactjs - YN0000 : Resolution step error on React JS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59982445/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com