我一直面临一个问题,‘react本机运行-ios’不能启动,不管我添加到-模拟器参数的模拟器。XCode有“命令行工具”的正确位置
我总是收到错误:找不到iPhone X模拟器
Error: Could not find iPhone X simulator
at resolve (/Users/eric/.../swim/node_modules/react-native/local-cli/runIOS/runIOS.js:149:13)
at new Promise (<anonymous>)
at runOnSimulator (/Users/eri
我在安装我的反应本机项目时遇到了这个错误-
/Users/username/.rvm/scripts/rvm: line 12: uname: command not found
/Users/username/.rvm/scripts/rvm: line 29: ps: command not found
/Users/username/Desktop/Applications/SegmentTestApp/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs
在使用react-native init AwesomeProject初始化我的项目之后,我尝试通过react-native run-android在模拟器中运行它,但是我得到了以下错误: ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
error Faile
我有一个使用RN64.0的新的,当我运行npx pod install时,它会失败,返回以下内容:
npx: installed 1 in 27.036s
Scanning for pods...
1.10.1
> pod install
Auto-linking React Native modules for target `MyMALnew`: RNCAsyncStorage, RNCMaskedView, RNGestureHandler, RNReanimated, RNScreens, and react-native-safe-area-context
Analyzing
当我给react-native link react-native-gesture-handler发短信时,它向我展示:
rnpm-安装错误!没有找到包裹。你确定这是一个反应本土项目吗?
在D:\egame_android\egame\android\app\src\debug\AndroidManifest.xml中找不到包名
错误:在D:\egame_android\egame\android\app\src\debug\AndroidManifest.xml at Object.projectConfigAndroid at Object.keys.forEach.key
我刚开始与反应本机项目,并试图建立一个演示项目,以学习反应-本机。但是,我无法通过命令行创建一个项目。
在安装了先决条件库之后,我使用以下命令创建了react本机项目:
react-native init AwesomeProj
我得到以下错误:
This will walk you through creating a new React Native project in /Users/ketanmalhotra/Documents/Freelance/demo-react/AwesomeProject
Installing react-native...
Consider install
当我尝试创建一个新的react原生项目时,我一直遇到"command not found“错误。我看过过去关于这个话题的问题,他们都说要改变路径,这似乎对我不起作用。
我尝试安装和卸载react-native-cli。我已经检查并更改了路径。毫无办法。
Davids-MBP-2:~ David$ brew -v
Homebrew >=1.7.1 (shallow or no git repository)
Homebrew/homebrew-core (no git repository)
Davids-MBP-2:~ David$ watchman -v
4.9.0
David
问题:当我运行远程调试器时,服务器说它找不到这个文件。
Error: ENOENT: no such file or directory, open '/home/hery/Workspace/NyTiona/http:/localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.nytiona&modulesOnly=false&runModule=true'
at Object.openSync (fs.js:498:3)
at
我正在使用react-native构建一个应用程序,并且我使用android默认仿真器,没有任何问题。我唯一的问题是模拟器真的很慢。
我想尝试一下genymotion并安装了它。然而,当我运行react-native run-android时,它找不到Genymotion Emulator。这是我在控制台中看到的错误。
BUILD SUCCESSFUL
Total time: 8.329 secs
This build could be faster, please consider using the Gradle Daemon: http://gradle.org/docs/2.4/u
我想远程执行.bash_profile别名,但找不到合适的命令。
我试过:
ssh user@host "bash -ic myalias"
但这不管用
我得到:
bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell
bash: myalias: command not found
我正在尝试使用react-native run-android运行react-native应用程序,但收到错误消息“Failed to connect to development server using 'adb reverse':spawnSync adb ENOENT” 另外,当我尝试运行adb设备时,-bash: adb: command not found