error: no frontend assets found to upload

I can't seem to deploy new changes from our Shopify app. When i deploy the app, i get an error stating 'no frontend assets found to upload'. It used to work before, since the app has already deployed to production before. But now it doesn't for some reason. Can someone help me with this? Thanks! trace: d71877e51479b1ee6fe2e9595425665f app: nathalie-vleeschouwer.gadget.app
3 Replies
Smelvin
Smelvin4w ago
Hi Ruuben, we will investigate The build error is because there are 2 vite.config files. Currently there is vite.config.mjs and vite.config.js Its suggested you use the .mjs in Gadget. The two files seem to be identical so removing the .js will fix the issue. vite.config.mjs is setup correctly and includes the gadget() plugin needed to properly build and deploy apps in our environment. The vite.config.js file does not contain this.
RWBN
RWBNOP4w ago
ok thanks, i did not create the mjs or js files though... so maybe this happened when updating the gadget api? @[Gadget] Mark
Smelvin
Smelvin4w ago
We will investigate, just to be sure

Did you find this page helpful?