flutter / flutter/devtools

Failed to open DevTools in the browser

Đang mở
#9,281 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug dart2wasm P2
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

```
main.dart.mjs:999 Uncaught (in promise) LinkError: WebAssembly.instantiate(): Import #770 "skwasm" "paint_setDither": function import requires a callable
at CompiledApp.instantiate (main.dart.mjs:999:38)
at v._loadWasmEntrypoint (flutter_bootstrap.js:1:2886)
```

This was when clicking Open DevTools in the browser from Android Studio. The wasm setting for DevTools was already enabled before trying to open DevTools in the browser. The DevTools URL looked like:
http://127.0.0.1:9102/home?ide=Android-Studio&ideFeature=runConsole&uri=http://127.0.0.1:55705/LjlaMLGWxb4=&wasm=true

Upon refreshing the page, everything loaded fine.

CC @mdebbar

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Reproduce opening DevTools in the browser from Android Studio with the wasm setting enabled, using the URL details and startup error in the report. Start by examining the WebAssembly loading path shown in main.dart.mjs and flutter_bootstrap.js; done means DevTools loads successfully on the first attempt without requiring a refresh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, wasm
Lĩnh vực
devtools
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.