HuolalaTech / page-spy-web

Debug remotely and easily like chrome devtools.
https://www.pagespy.org
MIT License
4.55k stars 271 forks source link

接入sdk之后页面有小图标,房间列表为空控制台报错 #114

Closed bibibala closed 10 months ago

bibibala commented 10 months ago

Describe the bug

通过node安装

运行之后 html页面可以访问

但是房间列表无法加载出设备

Steps to reproduce

No response

System Info

Uncaught SyntaxError: Unexpected token '<' (at source-map.min.js:1:1)
room-list:36 Uncaught TypeError: Cannot read properties of undefined (reading 'SourceMapConsumer')
    at room-list:36:26
    at script.onload (room-list:27:17)
index.jsdelivr.iife.js:1 Uncaught SyntaxError: Unexpected token '<' (at index.jsdelivr.iife.js:1:1)
room-list:45 Uncaught TypeError: Cannot read properties of undefined (reading 'setCDN')
    at room-list:45:22
    at script.onload (room-list:27:17)
index-65e51724.js:419 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getHighlighter')
    at vW.init (index-65e51724.js:419:32868)
    at new vW (index-65e51724.js:419:32812)
    at index-65e51724.js:419:33313

Logs

1704249022629

Validations

bibibala commented 10 months ago

控制台log windows10 Chrome/120.0.0.0

time="2024-01-03T10:34:42+08:00" level=info msg="| 200 | 95.1015ms | ::1 | GET | /room-list | -" _module=middleware _request_id=ddd850e1-2436-418f-ba10-02898b4968a4 time="2024-01-03T10:34:42+08:00" level=info msg="| 200 | 0s | ::1 | GET | /room-list/api/v1/room/list | -" _module=middleware _request_id=1aacdc7f-9188-41c9-9e2e-c5a85954e175 time="2024-01-03T10:34:47+08:00" level=info msg="| 200 | 0s | ::1 | GET | /room-list/api/v1/room/list | -" _module=middleware _request_id=11914855-704b-47dd-9447-b33a9594a1b7 time="2024-01-03T10:34:51+08:00" level=info msg="创建local房间" room=bc904d60-7fd4-4e0e-8eae-c4ffa2361312.local time="2024-01-03T10:34:51+08:00" level=info msg="start 房间" room=bc904d60-7fd4-4e0e-8eae-c4ffa2361312.local time="2024-01-03T10:34:51+08:00" level=info msg="create group default room" module=join time="2024-01-03T10:34:51+08:00" level=info msg="| 200 | 1.5712ms | ::1 | POST | /api/v1/room/create?name=Windows%2F10.0+Chrome%2F120.0.0.0&group=default&title= | -" _module=middleware _request_id=0ff1dc8b-df0e-45a6-97c0-99d78a1d9dd7 time="2024-01-03T10:34:51+08:00" level=info msg="创建remote房间 bc904d60-7fd4-4e0e-8eae-c4ffa2361312.local" local_room=bc904d60-7fd4-4e0e-8eae-c4ffa2361312.local remote_room=b11d7144-8354-4643-806b-62a5140d82a6.local time="2024-01-03T10:34:51+08:00" level=info msg="start remote房间 bc904d60-7fd4-4e0e-8eae-c4ffa2361312.local" local_room=bc904d60-7fd4-4e0e-8eae-c4ffa2361312.local remote_room=b11d7144-8354-4643-806b-62a5140d82a6.local time="2024-01-03T10:34:51+08:00" level=info msg="connection b11d7144-8354-4643-806b-62a5140d82a6.local join 房间" room=bc904d60-7fd4-4e0e-8eae-c4ffa2361312.local time="2024-01-03T10:34:54+08:00" level=info msg="| 200 | 997.2µs | ::1 | GET | /room-list/api/v1/room/list | -" _module=middleware _request_id=e9df6951-3ce0-4643-b293-6548435342db time="2024-01-03T10:34:56+08:00" level=info msg="| 200 | 0s | ::1 | GET | /devtools?version=Windows/10.0%20Chrome/120.0.0.0&address=bc904d60-7fd4-4e0e-8eae-c4ffa2361312.local | -" _module=middleware _request_id=a1251ddf-f772-442e-9d26-23348fd1aa62 time="2024-01-03T10:34:58+08:00" level=info msg="| 200 | 368.8µs | ::1 | GET | /devtools/api/v1/room/list | -" _module=middleware _request_id=137e13f5-176a-4ffb-8718-e3f14e027aba time="2024-01-03T10:34:59+08:00" level=info msg="| 200 | 0s | ::1 | GET | /devtools/api/v1/room/list | -" _module=middleware _request_id=cb48967a-72fb-43aa-8d1a-c20af1c946f9 time="2024-01-03T10:35:04+08:00" level=info msg="| 200 | 985.2µs | ::1 | GET | /devtools/api/v1/room/list | -" _module=middleware _request_id=15179bf3-81a6-470a-a70f-4294c7733ac0

wqcstrong commented 10 months ago

https://github.com/HuolalaTech/page-spy-web/issues/107 同样的问题,更新到最新版本即可。