profile
viewpoint

Ask questionsError while executing command 'react-native.cmd run-android --no-packager' (error code 101)

Actual Behavior

  1. Error while executing command 'react-native.cmd run-android --no-packager' (error code 101)

Expected Behavior

  1. Start Debugging

Software versions

  • React-Native VS Code extension version: 0.9.3
  • VSCode version: 1.34.0
  • OS platform and version: Win 10
  • NodeJS version: 10.13.0
  • react-native-cli: 2.0.1
  • react-native: 0.59.8
  • Expo SDK version (include if relevant):

Outputs (Include if relevant)

  • Output of the Debug Console (View -> Toggle Debug Console):

OS: win32 x64 Adapter node: v10.2.0 x64 vscode-chrome-debug-core: 6.7.46 Could not debug. Error while executing command 'react-native.cmd run-android --no-packager': Error while executing command 'react-native.cmd run-android --no-packager' (error code 101)

PASTE OUTPUT HERE

- [Info] Starting Packager

┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│  Running Metro Bundler on port 8081.                                         │
│                                                                              │
│  Keep Metro running while developing on any JS projects. Feel free to        │
│  close this tab and run your own Metro instance if you prefer.               │
│                                                                              │
│  https://github.com/facebook/react-native                                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

Looking for JS files in
   d:\RnD\Android\React-Native\kanimenApp 

[Info] Packager started.

[Info] Prewarming bundle cache. This may take a while ...

[Info] About to get: http://localhost:8081/index.bundle?platform=android

Loading dependency graph, done.
[Warning] The Bundle Cache was prewarmed.

[Info] Building and running application.

 BUNDLE  [android, dev] ./index.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (572/572), done.

[Error] Error: Error while executing command 'react-native.cmd run-android --no-packager': Error while executing command 'react-native.cmd run-android --no-packager' (error code 101)


PASTE OUTPUT HERE

- Output of the Developer Tools console (Help -> Toggle Developer Tools -> Select Console tab):

[Extension Host] debugger listening on port 18914
workbench.main.js:238 [Extension Host] Git installation not found.
t.log @ workbench.main.js:238
workbench.main.js:238 [Extension Host] (node:14396) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ workbench.main.js:238
workbench.main.js:238 [Extension Host] (node:14396) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
t.log @ workbench.main.js:238

PASTE OUTPUT HERE

microsoft/vscode-react-native

Answer questions balagopinath

Yes. Thanks @SounD120

useful!

Related questions

Error while executing command 'react-native run-ios --simulator --no-packager' hot 2
Cannot read property 'getCurrentUserAsync' of undefined hot 1
Expo app doesn't connect to packager hot 1
Current workspace does not contain React Native projects hot 1
Could not debug - error code 604 hot 1
Current workspace does not contain React Native projects hot 1
Version 0.13 breaks running packager from VS Code from different folder hot 1
Error while executing command 'react-native.cmd run-android --no-packager': Error while executing command 'react-native.cmd run-android --no-packager' (error code 101) hot 1
Starting React packager from VSCode fails hot 1
Can't attach packager for debugging hot 1
Cannot bind listener: operation not permitted hot 1
Not all success patterns were matched. (error code 712) hot 1
Current workspace does not contain React Native projects hot 1
Cannot bind listener: operation not permitted hot 1
Could not debug - error code 604 hot 1
Github User Rank List