windows 下命令npx react-native init demo时报错
来源:2-3 创建项目

慕妹6709182
2022-06-07
windows 下命令npx react-native init demo时报错
RuntimeError: abort(Error: Command failed: yarn add -D @babel/core @babel/runtime @react-native-community/eslint-config eslint jest babel-jest metro-react-native-babel-preset react-test-renderer@17.0.2). Build with -s ASSERTIONS=1 for more info. at process.abort (D:\test\rn\Demo\node_modules\metro-hermes-compiler\src\emhermesc.js:402:15)
写回答
1回答
-
今朝
2025-01-18
你的node版本是多少,如果你之前全局安装过旧的react-native-cli命令行工具,请使用npm uninstall -g react-native-cli卸载掉它以避免一些冲突
00
相似问题