You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An update of rollup-build-plugin has just been launched and I had to update it manually because some methods are not supported by esbuild anymore and the version that comes in the preset does not work.
I had my app running with vite 1 with an old preset of vite-electron-quick and when I reinstalled the node_modules there were all kinds of problems, but I solved it by installing and adapting my code with a new npx create-vite-electron, up to this point everything is fine, dev mode works and when I build everything seems fine... but actually the app does not load some assets and components even when they exist in the unpacked directory.
These are the files that my app is triying to load in:
These are the failed and successful requests:
I have realized that the routes that fail are all relative and those that load are absolute:
An update of rollup-build-plugin has just been launched and I had to update it manually because some methods are not supported by esbuild anymore and the version that comes in the preset does not work.
I had my app running with vite 1 with an old preset of vite-electron-quick and when I reinstalled the node_modules there were all kinds of problems, but I solved it by installing and adapting my code with a new npx create-vite-electron, up to this point everything is fine, dev mode works and when I build everything seems fine... but actually the app does not load some assets and components even when they exist in the unpacked directory.
These are the files that my app is triying to load in:
These are the failed and successful requests:
I have realized that the routes that fail are all relative and those that load are absolute:
Failing:
file:///assets/duration.c3d062a9.js
Loading:
file:///C:/Users/denyncrawford/Documents/proyectos/guillotine/dist/win-unpacked/resources/app/dist/render/assets/Auth.9a0064a5.js
Finally, here are some of my built assets and they are not even half, which are not being loaded in the view:
This is wat I get when I try to push a route that is not being loaded:
I think it has something to do with esbuild or @vue/compiler-rfc but I don't think it is this last one because I was using the same version before.
Versions:
rollup-plugin-esbuild: 3.0.0
vite: latest
@vue/compiler-sfc: 3.0.7
vue: 3.0.7
electron: ^11.0.0
The text was updated successfully, but these errors were encountered: