File not found errors in the console

0
Dear community, I am updating a native app to 10.12.2 version (from 9) of the modeller and from atlas 2 to atlas 3. When I run the app locally I get errors in the console (each one a few times repeated):   404 - file not found for file: custom%2Fprism.css 404 - file not found for file: custom%2Fprism.js 404 - file not found for file: custom%2Fapp.js   When I search the project the only place that has links to these files is the theme/web/index.html:   <link href="custom/prism.css?{{cachebust}}" rel="stylesheet"> <script src="custom/prism.js?{{cachebust}}"></script> <script src="custom/app.js?{{cachebust}}"></script>   Does anyone have a clue what is wrong here? Maybe the '%2F' instead of '/' is the problem?   Kind regards, Giel
asked
2 answers
0

Hey Austin,

Yes these files are in the 'custom' folder of theme (not in web by the way):

afbeelding.png

 

Do you think they belong in the 'web' folder of theme?

 

Kind regards,

Giel

 

answered
0

I have a simular problem in Mendix 10.12.3.

 

I'm also getting 404 errors for missing files. but only after deployment of the application to a server. When I run the application from Studio Pro everything is working fine.

I unzipped the generated deployment package and it looks like the files are missing there. There's no "/web/widgets" directory in it,

When I try the same with a  deployment package for a previous release of our application that was on Mendix 10.6.10, then I see a "web/widgets" folder in the deployment package.

 

So it looks like something is broken in 10.12.x I'll open a support ticket.

 

001759-20240821-103606.png

answered