espressif / esp-thread-br

Espressif Thread Border Router SDK
Apache License 2.0
115 stars 25 forks source link

Web GUI jQuery not loaded (TZ-1187) #103

Closed pierreyves258 closed 36 minutes ago

pierreyves258 commented 2 months ago

Checklist

How often does this bug occurs?

always

Expected behavior

When reaching the Web GUI via http://ip/index.html the page should display status & allow scan and join

Actual behavior (suspected bug)

On the index page, nothing see to work properly The status is "unknown" on all properties The scan & join does nothing and the Form network does nothing

However API seem to work fine (see attached) Screenshot 2024-09-28 190604 Screenshot 2024-09-28 190329

Error logs or terminal output

Uncaught ReferenceError: $ is not defined
    <anonymous> http://192.168.1.141/static/restful.js:74
restful.js:74:1
    <anonymous> http://192.168.1.141/static/restful.js:74

Steps to reproduce the behavior

Install esp-thread-br\examples\basic_thread_border_router with following sdkconfig

sdkconfig.txt

Project release version

master

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

Windows 11

Shell

PowerShell

Additional context

No response

chshu commented 2 months ago

It seems some issue in the frontend. There is a recent change to jQuery: https://github.com/espressif/esp-thread-br/pull/101, could you revert the change, and try again?