doodlezucc / dungeonclub

A cool little website for playing Dungeons & Dragons together!
https://dungeonclub.net
MIT License
71 stars 12 forks source link

[BUG] Dev script not working #17

Closed saluzafa closed 1 year ago

saluzafa commented 1 year ago

Hello @doodlezucc !

I found Dungeon Club and I already love it! It's the easiest and most working dungeon map manager that I've found :), thanks for making it open source! You're the boss!

I wanted to play a bit with the source code but I'm facing a problem when running the dev script, everything is booting normally, the server is properly listening requests BUT the page does not load because it misses the main.dart.js script (404 error / see attached screenshot).

Screenshot 2023-09-02 at 16 36 28

Do you have a solution by any chance please? 😄

Cheers!

dart bin/dev.dart output

➜  dungeonclub git:(master) dart bin/dev.dart
[Dev: Web] Starting webdev server...
[Dev: Web]
[INFO] Reading cached asset graph completed, took 131ms
[INFO] Checking for updates since last build completed, took 449ms
[INFO] Serving `web` on http://127.0.0.1:8080
[INFO] Running build completed, took 883ms
[INFO] Caching finalized dependency graph completed, took 114ms
[INFO] Succeeded after 1.0s with 15 outputs (9 actions)
[Dev: Web]
[Dev: Web] Website serving at http://localhost:8080
[Dev: CSS] Watching for stylesheet changes
[Dev: Backend] Spawning backend server isolate

Starting server...
Mailing system not enabled (run "dart bin/server.dart mail" to walk through the activation process)
Loaded 0 game meta entries
Loaded 0 accounts
Updating ambience meta...
Unable to refresh playlists because "yt-dlp" is not installed or outdated.
Loaded music playlists

Dungeon Club is ready!
  - Local:   http://localhost:7070
  - Network: http://192.168.1.37:7070

[Dev: Backend] Press R to restart the backend server
saluzafa commented 1 year ago

Nevermind, it was a problem on my side, it's working now! Sorry ^^'