404 error when trying to run page containing custom widget using a react module.

0
I am attempting to create a custom widget with some functionality from another react package that needs to import react/jsx-runtime and whenever I try to open the page in mendix, I get this error: “404 - file not found for file: mxclientsystem/react/jsx-runtime.js” I have been googling for hours and have no clue what this error means or how to resolve it. Am I trying to do something that I shouldn’t be able to do? Thanks for any help.
asked
3 answers
0

Samuel,

Perhaps you could include a clearer description of what you are trying to achieve and the code you are using to do that?

Is there anything else in your browser console?

Joe

answered
0

Hi Samuel,

Looking at the error it seems that Mendix is trying to find the file jsx-runtime.js in your project directory. Can you tell (or show) us how you tried to import it?

answered
0

Please take also a look at https://forum.mendix.com/link/questions/112296 

(There is currently no solution. But maybe it’s helpful anyway.)

answered