Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manifest: Line: 1, column: 1, Syntax error. #820

Closed
Ebrahim-Ramadan opened this issue Feb 4, 2025 · 4 comments
Closed

Manifest: Line: 1, column: 1, Syntax error. #820

Ebrahim-Ramadan opened this issue Feb 4, 2025 · 4 comments

Comments

@Ebrahim-Ramadan
Copy link

Ebrahim-Ramadan commented Feb 4, 2025

I followed the steps here to create a new vite react pwa app, then tried to run bun dev with no more than the initial project structure, I can see Manifest: Line: 1, column: 1, Syntax error. logged in the console at manifest.webmanifest:1, which redirects to this

Image

to reproduce this and see for yourself, clone this issuing repo and try to build and run as mentioned in the docs here, and please kindly once figured out the source of the issue, report to me at [email protected] or just create a PR or issue or anything, I will notice

@userquin
Copy link
Member

userquin commented Feb 4, 2025

using react without typescript?

@Ebrahim-Ramadan
Copy link
Author

Ebrahim-Ramadan commented Feb 4, 2025

using react without typescript?

yes, this is the repo with the issue

but somehow it works fine with ts on this repo

@alexanderdomrachev
Copy link

I followed the steps here to create a new vite react pwa app, then tried to run bun dev with no more than the initial project structure, I can see Manifest: Line: 1, column: 1, Syntax error. logged in the console at manifest.webmanifest:1, which redirects to this

Image

to reproduce this and see for yourself, clone this issuing repo and try to build and run as mentioned in the docs here, and please kindly once figured out the source of the issue, report to me at [email protected] or just create a PR or issue or anything, I will notice

You should configure your web server for example NGINX. Web server can't find manifest.webmanifest in root dir.

@Ebrahim-Ramadan
Copy link
Author

you were right tho, did some icons, tried bunch of stuff in config and thank god worked just fine in here
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants