[vite]: Rollup failed to resolve import “@components/Header.astro” from “/opt/build/repo/src/layouts/MainLayout.astro”.
9:03:53 AM: This is most likely unintended because it can break your application at runtime.
9:03:53 AM: If you do want to externalize this module explicitly add it to
9:03:53 AM: build.rollupOptions.external
9:03:54 AM: Failed during stage “building site”: Build script returned non-zero exit code: 2
9:03:54 AM: error [vite]: Rollup failed to resolve import “@components/Header.astro” from “/opt/build/repo/src/layouts/MainLayout.astro”.
9:03:54 AM: This is most likely unintended because it can break your application at runtime.
9:03:54 AM: If you do want to externalize this module explicitly add it to
9:03:54 AM: build.rollupOptions.external
hi, can you please provide more information such as the site name and the full link to your failed deploy
Sorry, Sam. I forgot to put link in my support request.
[
Home
leafy-lebkuchen-3b750f.netlify.app
](https://leafy-lebkuchen-3b750f.netlify.app/)
I think this is the link you want?
[
](Netlify App)