profile
viewpoint

Ask questionsError while executing command 'react-native run-ios --simulator --no-packager'

Actual Behavior

  1. When I run the Debug iOS, the console outputs the following 'Could not debug. Error while executing command react-native run-ios --simulator --no-packager: Error while executing command react-native run- Ios --simulator --no-packager

Expected Behavior

  1. Running Debug iOS successfully

Software versions

  • React-Native VS Code extension version: 0.6.18
  • VSCode version: 1.28.2
  • OS platform and version: macOS High Sierra 10.13.2 (17C88)
  • NodeJS version: v11.0.0
  • React Native version: 0.56.0
  • Expo SDK version (include if relevant): iOS 11.2

Outputs (Include if relevant)

  • Output of the Debug Console (View -> Toggle Debug Console):
OS: darwin x64
Adapter node: v8.9.3 x64
vscode-chrome-debug-core: 3.17.3
Could not debug. Error while executing command 'react-native run-ios --simulator --no-packager': Error while executing command 'react-native run-ios --simulator --no-packager'
  • Output of the React-Native output channel (View -> Toggle Output -> Select React-Native in ListBox):
[Error] Error: Error while executing command 'react-native run-ios --simulator --no-packager': Error while executing command 'react-native run-ios --simulator --no-packager'
  • Output of the Developer Tools console (Help -> Toggle Developer Tools -> Select Console tab):
microsoft/vscode-react-native

Answer questions codingplayboy

Hi, please Help, I had this error too. 屏幕快照 2019-06-08 下午10 16 51

How can I change the adapter node version ? It's ok when run this command in terminal with node v10.9.0.

useful!
source:https://uonfu.com/
Github User Rank List