I run at (npm run build) in localhost and got me this message at the terminal:
Could not resolve entry module (resources/js/EditUser.jsx).
error during build:
Error: Could not resolve entry module (resources/js/EditUser.jsx).
at error (file:///C:/xampp/htdocs/Projects/ReactLaravelVite/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at ModuleLoader.loadEntryModule (file:///C:/xampp/htdocs/Projects/ReactLaravelVite/node_modules/rollup/dist/es/shared/rollup.js:22369:20)
at async Promise.all (index 2)
Tried a new project and it worked fine thank you
But the pictures still depend on this link (http : //127.0.0.1:8000)
I get this error in console:
Mixed Content: The page at 'https : //mydomain . com/' was loaded over HTTPS, but requested an insecure element 'http : //127.0.0.1:8000/image/user/gZHI9.png'. This request was automatically upgraded to HTTPS, For more information see https : //blog.chromium . org/2019/10/no-more-mixed-messages-about-https.html