Closed EvEggelen closed 8 months ago
I'll try to reproduce this bug as soon as I'm in front of a dev board.
I've tried to reproduce this behaviour on a ESP32 board and an ESP32-S3 board. Both refresh the login page as expected. I'm unable to reproduce this bug.
Can you give me some more details on how it is failing? What does the log exactly show when the server is not refreshing?
I tried to reproduce today. But I do not get consistent results. I will investigate further. Let you know.
I do get warning during build. Is that "normal", or is that a build problem on my side ?
Verbose mode can be enabled via -v, --verbose
option
['upload']
Building interface with npm
npm install
up to date, audited 294 packages in 987ms
67 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities npm run build
ESP32-Sveltekit Template@0.2.0 build vite build
vite v4.4.8 building SSR bundle for production...
transforming...
9:12:31 PM [vite-plugin-svelte] /src/routes/+page.svelte:3:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data
1:
5:
9:12:31 PM [vite-plugin-svelte] /src/routes/system/update/+page.svelte:6:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data
4: import { user } from "$lib/stores/user";
5: import { page } from "$app/stores";
6: export let data;
^
7:
8:
9:12:31 PM [vite-plugin-svelte] /src/routes/wifi/+page.svelte:3:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data
1:
5:
9:12:31 PM [vite-plugin-svelte] /src/routes/demo/+page.svelte:2:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data
1:
4:
9:12:31 PM [vite-plugin-svelte] /src/routes/user/+page.svelte:20:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data
18: import Cancel from "~icons/tabler/x";
19: import Check from "~icons/tabler/check";
20: export let data;
^
21: let securitySettings;
22: async function getSecuritySettings() {
9:12:31 PM [vite-plugin-svelte] /src/routes/connections/mqtt/+page.svelte:3:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data
1:
5:
9:12:31 PM [vite-plugin-svelte] /src/routes/connections/ntp/+page.svelte:2:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data
1:
4:
9:12:31 PM [vite-plugin-svelte] /src/routes/system/status/+page.svelte:4:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data
2: import { user } from "$lib/stores/user";
3: import { page } from "$app/stores";
4: export let data;
^
5:
6:
9:12:31 PM [vite-plugin-svelte] /src/routes/+layout.svelte:133:1 A11y:
export const data
11: import Statusbar from "./statusbar.svelte";
12: import Login from "./login.svelte";
13: export let data;
^
14: onMount(() => {
15: if ($user.bearer_token !== "") {
9:12:32 PM [vite-plugin-svelte] /src/routes/menu.svelte:173:3 A11y:
To reproduce
ESP32-sveltekit: https://github.com/theelims/ESP32-sveltekit/releases/tag/v0.2.1
Added to platformio.ini [env:nodemcu-32s] board = nodemcu-32s board_build.partitions = min_spiffs.csv
Hardware: https://www.aliexpress.com/item/1005001636295529.html
[features] build_flags = -D FT_SECURITY=1 -D FT_MQTT=1 -D FT_NTP=1 -D FT_OTA=0 ; Not recommended, will be deprectiated in an upcomming release -D FT_UPLOAD_FIRMWARE=1 -D FT_DOWNLOAD_FIRMWARE=1 ; requires FT_NTP=1 -D FT_SLEEP=1 -D FT_BATTERY=0
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:184 load:0x40078000,len:12732 ␛[33m=> 0x40078000: ?? ??:0␛[0m ho 0 tail 12 room 4 load:0x40080400,len:2908 ␛[33m=> 0x40080400: _init at ??:?␛[0m entry 0x400805c4 ␛[33m=> 0x400805c4: ?? ??:0␛[0m [ 33][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz [ 90][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 0 - WIFI_READY [ 189][V][WiFiGeneric.cpp:340] _arduino_event_cb(): STA Started [ 190][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: [ - 191_ST][W iG[neri92][E:34iF Gendrico_even042]()event Sloppck( : esp_wifi_set_ps failed [ 199][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 3 - STA_STOP Running Firmware Version: 0.2.1 Starting software access point [ 439][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 0 - WIFI_READY [ 447][V][WiFiGeneric.cpp:392] _arduino_event_cb(): AP Started [ 448][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 10 - AP_START [ 455][V][WiFiGeneric.cpp:97] set_esp_interface_ip(): Configuring SoftAP static IP: 192.168.4.1, MASK: 255.255.255.0, GW: 192.168.4.1 [ 462][V][WiFiGeneric.cpp:143] set_esp_interface_ip(): SoftAP: 192.168.4.1 | Gateway: 192.168.4.1 | DHCP Start: 0.0.0.0 | Netmask: 255.255.255.0 [ 474][V][WiFiGeneric.cpp:190] set_esp_interface_ip(): DHCP Server Range: 192.168.4.2 to 192.168.4.12 [ 1138][V][WiFiGeneric.cpp:395] _arduino_event_cb(): AP Stopped [ 1138][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 11 - AP_STO 1139][V][WiFiGeneric.cpp:392] _arduino_event_cb(): AP Started [ 1145][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 10 - AP_START Starting captive portal on 192.168.4.1 [ 14808][V][WiFiGeneric.cpp:407] _arduino_event_cb(): AP Station Connected: MAC: 44:78:3e:f6:b0:21, AID: 1 [ 14808][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 12 - AP_STACONNECTED [ 15063][V][WiFiGeneric.cpp:421] _arduino_event_cb(): AP Station IP Assigned:192.168.4.2 [ 15064][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 14 - AP_STAIPASSIGNED [ 32654][W][AsyncTCP.cpp:976] _poll(): pcb is NULL New client connected to Event Source: 1 Clients connected [ 38216][W][AsyncTCP.cpp:976] _poll(): pcb is NULL