pd4d10 / git-touch

An open-source app for GitHub, GitLab, Bitbucket, Gitea, and Gitee(码云), built with Flutter
Apache License 2.0
1.53k stars 130 forks source link

main.dart.js file not found #216

Closed luni-moon closed 3 years ago

luni-moon commented 3 years ago

When working on a remodel of the web version, I came across this error right away in the js console. I do not know if it causes this, but it shows a blank page instead of what shows on the live site. Here are a few screenshots for reference...


Screenshot 2021-03-19 19 11 41 Screenshot 2021-03-19 19 11 32

These first two show the js console logs for the live site, which they all generally complain about the main.dart.js file missing.


Screenshot 2021-03-19 19 11 15 Screenshot 2021-03-19 19 10 35

The next two above are the same error on the web server shown in two different forms... a notification and in the console.


Screenshot 2021-03-19 19 09 32

The next one above shows the blank page which may be the outcome of the error.


Screenshot 2021-03-19 19 09 22

This last one shows why the thesis from the previous image and caption is not logical, as it is working on the live site. I still do think it is the outcome though...


Anyways, thanks for taking the time to read this!

shreyas1599 commented 3 years ago

@Lukas-Batema which version of flutter are you using?

luni-moon commented 3 years ago

@Lukas-Batema which version of flutter are you using?

I do not know, which probably means I am not using it :/

EDIT: I cannot download flutter since my school administration block Linux (Beta) on the Chromebooks. I will email the IT Department for permission to have it unblocked for programming purposes. I will let you know once I get a response and what it is.

shreyas1599 commented 3 years ago

Right. How did you run it in the browser without flutter?

luni-moon commented 3 years ago

Right. How did you run it in the browser without flutter?

I used an IDE with a web server, other than that, I am not really sure.

shreyas1599 commented 3 years ago

Oh. You're supposed to run it using flutter. flutter run -d chrome

Can you close this then? Doesn't seem like a problem with the repo

luni-moon commented 3 years ago

Oh. You're supposed to run it using flutter. flutter run -d chrome

Yeah, I realize that now. Sorry, my bad... Wait, what about the live site complaining about the missing file?

shreyas1599 commented 3 years ago

Wait, what about the live site complaining about the missing file?

It's generated by flutter when you run flutter run -d chrome

luni-moon commented 3 years ago

Wait, what about the live site complaining about the missing file?

It's generated by flutter when you run flutter run -d chrome

Ah, okay. Understandable now.