简体   繁体   English

无法使用“npx react-native init SampleApp”创建反应原生项目

[英]Not able to create react native project with “npx react-native init SampleApp”

I'm trying to create a React Native project by running the below command but getting error message missing ) after argument list我正在尝试通过运行以下命令来创建一个 React Native 项目,但在参数列表之后出现错误消息丢失)

******:ReactNative admin$ npx react-native init SampleApp
**missing ) after argument list**

I'm following the steps mentioned here: https://facebook.github.io/react-native/docs/getting-started我正在按照此处提到的步骤进行操作: https://facebook.github.io/react-native/docs/getting-started

Please provide any solution.请提供任何解决方案。

Finally, I found the solution.最后,我找到了解决方案。 I was using the older version for Node.js(Version 8.xx) and now I updated it with 12.13.0 which resolved the problem.我使用的是旧版本的 Node.js(版本 8.xx),现在我用 12.13.0 更新它解决了这个问题。

暂无
暂无

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

相关问题 无法在 react native CLI 中运行 npx react-native init MyApp - can not run npx react-native init MyApp in react native CLI 当我使用命令“npx react-native init Sarfaraz”在我们的文件夹中安装本机应用程序时 - When I install react native app in our folder by using comand "npx react-native init Sarfaraz" react-native init 与 Expo 用于新的 React Native 项目? - react-native init versus Expo for new React Native project? React-Native和Expo:create-react-native-app和react-native init之间的任何区别 - React-Native and Expo: Any different between create-react-native-app and react-native init npx react-native 启动和 npx react-native run-android 太慢了 - npx react-native start AND npx react-native run-android ARE TOO SLOW “npx react-native init client”在执行时在 Android 上失败。 找不到工具。jar。 反应原生 0.62.2 - “npx react-native init client” fails on Android while executing. Could not find tools.jar. React Native 0.62.2 运行命令时遇到这些错误(npx react-native init AwesomeProject) - I'm facing these errors when I run command (npx react-native init AwesomeProject) 使用init命令创建React Native项目 - Create react native project with init command 使用react-native init将Native SDK集成到react native中 - Integrate Native sdk in react native using react-native init 在项目“:app”中找不到任务“installDebug”(npx react-native run-android 问题) - Task 'installDebug' not found in project ':app'(npx react-native run-android issue)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM