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

404 on a dist/81c145986683c200.js file #728

Open
landryb opened this issue Jan 23, 2025 · 1 comment
Open

404 on a dist/81c145986683c200.js file #728

landryb opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels
bug Something isn't working estimate needed

Comments

@landryb
Copy link
Member

landryb commented Jan 23, 2025

From #724 (comment)

Describe the bug

@tdipisa the error about a 404 on dist/81c145986683c200.js should be investigated, because that ends up in the generated dist/index.html and is reproducible here, with various self-builds on the same 'js file path'.

<style>@font-face{font-family:'Noto Sans';src:local('Noto Sans'),local('NotoSans-Regular'),url(assets/fonts/NotoSans.ttf) format('truetype')}</style><script src="dist/81c145986683c200.js"></script><script src="https://unpkg.com/bowser@2.7.0/es5.js"

i guess the source of that file is https://github.com/georchestra/mapstore2-georchestra/blob/master/index.html#L123

so we don't know what missing js isnt packed in the archive, but dist/ subdir doesnt contain such js file. It contains a minified version of what i suppose being another copy of proj4js in dist/7b12663e64a4e47a.js (after comparing with assets/js/proj4.js) , which doesnt seem loaded by any html file, so that means that proj4.js isnt properly included ?

i have to admit i dont understand this error since index.html wasnt modified much in the 2024.02 update, but i'm pretty confident this error wasnt present in 2023.02.

To Reproduce
Steps to reproduce the behavior:

  1. Load the page
  2. Look at the browser console

Expected behavior
There should be no 404.

@landryb landryb changed the title 404 on a js file 404 on a dist/81c145986683c200.js file Jan 23, 2025
@tdipisa tdipisa assigned dsuren1 and unassigned tdipisa Feb 20, 2025
@tdipisa tdipisa added bug Something isn't working estimate needed labels Feb 20, 2025
@dsuren1
Copy link
Collaborator

dsuren1 commented Feb 21, 2025

@landryb
Kindly confirm if you are still facing any issue and need any support. As I don't see this particular issue happening on the site provided. No such [bundle-name].js found on /dist

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working estimate needed
Projects
None yet
Development

No branches or pull requests

3 participants