我尝试创建新项目,但发生了这种情况,我按照他们所说的那样更新了核心How to update core-js to core-js@3 dependency? 但也没有任何帮助我使用 Windows 10,我该怎么办?
c:\Users\alothman\Desktop>npx react-native init travelApp
This will walk you through creating a new React Native project in c:\Users\alothman\Desktop\travelApp
Using yarn v1.21.1
Installing react-native...
yarn add v1.21.1
info No lockfile found.
[1/4] Resolving packages...
warning react-native > fbjs > 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.
warning react-native > create-react-class > …Run Code Online (Sandbox Code Playgroud)