Closed ooker777 closed 5 months ago
Code:
const a = 1
Error:
Cannot start inspector server: Os { code: 10048, kind: AddrInUse, message: "Only one usage of each socket address (protocol/network address/port) is normally permitted." } ============================================================ Deno has panicked. This is a bug in Deno. Please report this at https://github.com/denoland/deno/issues/new. If you can reliably reproduce this panic, include the reproduction steps and re-run with the RUST_BACKTRACE=1 env var set and include the backtrace in your report. Platform: windows x86_64 Version: 1.42.1 Args: ["C:\\Users\\ganuo\\AppData\\Local\\Microsoft\\WinGet\\Links\\deno.EXE", "run", "--inspect-wait", "--allow-all", "--unstable-kv", ".\\test.ts"] thread 'main' panicked at runtime\inspector_server.rs:88:53: called `Result::unwrap()` on an `Err` value: TrySendError { kind: Disconnected } stack backtrace: 0: 0x7ff77135b5a2 - napi_release_threadsafe_function 1: 0x7ff76fd7873d - napi_release_threadsafe_function 2: 0x7ff771339581 - napi_release_threadsafe_function 3: 0x7ff77135ef5a - napi_release_threadsafe_function 4: 0x7ff77135e89f - napi_release_threadsafe_function 5: 0x7ff77135e3fb - napi_release_threadsafe_function 6: 0x7ff76fb320ac - napi_fatal_error 7: 0x7ff77135f2c3 - napi_release_threadsafe_function 8: 0x7ff77135f179 - napi_release_threadsafe_function 9: 0x7ff77135f0b9 - napi_release_threadsafe_function 10: 0x7ff77135f0a2 - napi_release_threadsafe_function 11: 0x7ff772a4aff7 - CrashForExceptionInNonABICompliantCodeRange 12: 0x7ff772a4b5e3 - CrashForExceptionInNonABICompliantCodeRange 13: 0x7ff770794a36 - napi_release_threadsafe_function 14: 0x7ff770b9f651 - napi_release_threadsafe_function 15: 0x7ff76fafbc69 - napi_fatal_error 16: 0x7ff76fafa982 - napi_fatal_error 17: 0x7ff76fa909c9 - napi_fatal_error 18: 0x7ff76fb0a922 - napi_fatal_error 19: 0x7ff76f597b09 - <unknown> 20: 0x7ff76fc0fca5 - napi_release_threadsafe_function 21: 0x7ff76f6a61c0 - napi_cancel_async_work 22: 0x7ff76fb344d7 - napi_fatal_error 23: 0x7ff76f57707d - <unknown> 24: 0x7ff76fc0fdc9 - napi_release_threadsafe_function 25: 0x7ff7729eeccc - CrashForExceptionInNonABICompliantCodeRange 26: 0x7ffaead6257d - BaseThreadInitThunk 27: 0x7ffaeb62aa48 - RtlUserThreadStart Process exited with code 1
launch.json:
launch.json
{ "version": "0.2.0", "configurations": [ { "request": "launch", "name": "Launch Program", "type": "node", "program": "${file}", "cwd": "${workspaceFolder}", "runtimeExecutable": "C:\\Users\\ganuo\\AppData\\Local\\Microsoft\\WinGet\\Links\\deno.EXE", "runtimeArgs": [ "run", "--inspect-wait", "--allow-all", "--unstable-kv" ], "attachSimplePort": 9229, "env": { "RUST_BACKTRACE": "full" } } ] }
Please update to the newer version of Deno, it is no longer panicking now, but gives a regular error.
Code:
Error:
launch.json
: