profile
viewpoint

Ask questionsNot all success patterns were matched. (error code 712)

Actual Behavior

I'm trying to debug a RN project but it gives error on below. I'm using my pc on Turkish language so package installed on TR as by default. But it found same error output on EN and I will post on below.

I checked this issue but I'm not using any package runner at same time. I just open project folder on VS Code and hit the debug button. By the way my launch.json file:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug Android",
            "cwd": "${workspaceFolder}",
            "type": "reactnative",
            "request": "launch",
            "platform": "android",
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/.vscode/.react"
        },
    ]
}

Expected Behavior

  1. Proper debug session.

Software versions

  • React-Native VS Code extension version: 0.11.0
  • VSCode version: 1.38.1
  • OS platform and version: Windows_NT x64 10.0.18362
  • NodeJS version: 10.11.0
  • React Native version: 0.60.4
  • 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.11.0 x64
vscode-chrome-debug-core: 6.7.46
Hata ayıklanamadı. Bilinmeyen hata: Başarı desenlerinin tümü eşleşmedi. 
 Bu durum, "react-native run-android" komutunun başarısız olduğu anlamına gelir. 
 Lütfen, Görünüm -> Çıkışı Aç/Kapat -> React Native, 
 Görünüm -> Çıkışı Aç/Kapat -> React Native: android Çalıştır çıkış pencerelerini gözden geçirin. (error code 712)
  • Output of the React-Native output channel (View -> Toggle Output -> Select React-Native in ListBox):
[Info] Paketleyici başlatılıyor

┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│  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
   c:\Users\ezran\Desktop\SADELABS\testPRO 

[Info] Paketleyici başlatıldı.

[Info] Toplu paket önbelleği önceden hazırlanıyor. Bu işlem biraz zaman alabilir...

[Info] Şu alınmak üzere: http://localhost:8081/index.bundle?platform=android

Loading dependency graph, done.
[Warning] Toplu Paket Önbelleği önceden hazırlandı.

[Info] Uygulama oluşturuluyor ve çalıştırılıyor.

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

[Error] Error: Bilinmeyen hata: Başarı desenlerinin tümü eşleşmedi. 
 Bu durum, "react-native run-android" komutunun başarısız olduğu anlamına gelir. 
 Lütfen, Görünüm -> Çıkışı Aç/Kapat -> React Native, 
 Görünüm -> Çıkışı Aç/Kapat -> React Native: android Çalıştır çıkış pencerelerini gözden geçirin. (error code 712)
 BUNDLE  [android, dev] ./index.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (1/1), done.
(ENGLISH:)
[Error] Error: Unknown error: not all success patterns were matched. It means that "react-native run-android" command failed. Please, check the View -> Toggle Output -> React Native, View -> Toggle Output -> React Native: Run android output windows. (error code 712)
  • Output of the Developer Tools console (Help -> Toggle Developer Tools -> Select Console tab):
statusbar.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
workbench.desktop.main.js:sourcemap:3579 [Extension Host] debugger listening on port 61172
workbench.desktop.main.js:sourcemap:230 [Extension Host] vscode-customcss is active!
workbench.desktop.main.js:sourcemap:230 [Extension Host] (node:19356) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
t.log @ workbench.desktop.main.js:sourcemap:230
workbench.desktop.main.js:sourcemap:230 [Extension Host] (node:19356) [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.desktop.main.js:sourcemap:230
2workbench.desktop.main.js:sourcemap:1504   ERR Tree element not found: [object Object]: Error: Tree element not found: [object Object]
    at s.getElementLocation (file:///C:/Users/ezran/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:124:791)
    at s.isCollapsed (file:///C:/Users/ezran/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:124:65)
    at q.isCollapsed (file:///C:/Users/ezran/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1009:19)
    at W.revealMarkersForCurrentActiveEditor (file:///C:/Users/ezran/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:5714:628)
    at W.autoReveal (file:///C:/Users/ezran/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:5714:485)
    at W.onActiveEditorChanged (file:///C:/Users/ezran/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:5711:775)
    at W._register.e (file:///C:/Users/ezran/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:5710:789)
    at d.fire (file:///C:/Users/ezran/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:107:488)
    at setTimeout (file:///C:/Users/ezran/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:103:913)
microsoft/vscode-react-native

Answer questions ezranbayantemur

I add configuration on "Attach to packager" and tried but it gives that error on Debug Console

OS: win32 x64
Adapter node: v10.11.0 x64
vscode-chrome-debug-core: 6.7.46
Hata ayıklayıcısı uygulama çalışanı başlatılıyor.
Ara sunucuyla (Paketleyici) React Native uygulaması arasında bağlantı kuruldu
Ara sunucunun (Paketleyici) React Native uygulamasıyla olan bağlantısı kesildi. Birazdan yeniden bağlanmaya çalışılacak...
Hata ayıklanamadı. Paketleyiciye başka bir hata ayıklayıcısı zaten bağlı. Lütfen VS Code ile hata ayıklamayı denemeden önce diğer hata ayıklayıcısını kapatın. (error code 505)

It's kind a say there are already debug packager connected.

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