Reputation: 41
I am trying to host a Flutter web application on Vercel. While accessing the hosted app, I encounter the following errors:
GET https://demo-services-iota.vercel.app/trenTech/flutter_bootstrap.js net::ERR_ABORTED 404 (Not Found)
GET https://demo-services-iota.vercel.app/trenTech/manifest.json 404 (Not Found)
manifest.json: Line: 1, column: 1, Syntax error.
It seems like the flutter_bootstrap.js
and manifest.json
files are either missing or incorrectly referenced.
Observations:
/trenTech/
path, but this folder structure does exist in the build output.Questions:
vercel.json
or routing)?
(I HAVE DEPLOYED DIRECTLY FROM THE GITHUB REPOSITORY)Steps Taken So Far:
flutter build web --output-dir=build/trenTech --base-href=/trenTech/ --release
.build/trenTech
folder to Vercel using from the vercel website directly.build/trenTech
directory.Upvotes: 0
Views: 87