\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\n\r\n\r\nDeploying an extended Nuxt project on Vercel that contains a component, causes Rollup to fail:\r\n\r\n`[error] [vite]: Rollup failed to resolve import \"vue/server-renderer\" from \"/vercel/path0/base/components/Counter.vue\"`\r\n\r\n### Additional context\r\n\r\nShould also be noted if any modules e.g. VueUse are used in the component, they will fail to import as well.\r\n\r\n### Logs\r\n\r\nVercel:\r\n```shell-script\r\n[info] ✓ built in 14.11s\r\n[success] Client built in 14122ms\r\n[info] Building server...\r\n[info] vite v4.3.9 building SSR bundle for production...\r\n[info] transforming...\r\n[info] ✓ 264 modules transformed.\r\n[info] ✓ built in 4.33s\r\n[error] [vite]: Rollup failed to resolve import \"vue/server-renderer\" from \"/vercel/path0/base/components/Counter.vue\".\r\nThis is most likely unintended because it can break your application at runtime.\r\nIf you do want to externalize this module explicitly add it to\r\n`build.rollupOptions.external`\r\n[error] [vite]: Rollup failed to resolve import \"vue/server-renderer\" from \"/vercel/path0/base/components/Counter.vue\".\r\nThis is most likely unintended because it can break your application at runtime.\r\nIf you do want to externalize this module explicitly add it to\r\n`build.rollupOptions.external`\r\n This is most likely unintended because it can break your application at runtime.\r\n If you do want to externalize this module explicitly add it to\r\n `build.rollupOptions.external`\r\n at viteWarn (node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46597:23)\r\n at onwarn (node_modules/@nuxt/vite-builder/dist/shared/vite-builder-edge.9774705b.mjs:724:11)\r\n at onRollupWarning (node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46618:9)\r\n at onwarn (node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46368:13)\r\n at node_modules/rollup/dist/es/shared/node-entry.js:24070:13\r\n at Object.logger [as onLog] (node_modules/rollup/dist/es/shared/node-entry.js:25742:9)\r\n at ModuleLoader.handleInvalidResolvedId (node_modules/rollup/dist/es/shared/node-entry.js:24656:26)\r\n at node_modules/rollup/dist/es/shared/node-entry.js:24616:26\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\nError: Command \"yarn run build\" exited with 1\r\n```\r\n",[2101,2102,2103,2106],{"name":2030,"color":2031},{"name":1991,"color":1992},{"name":2104,"color":2105},"❗ p4-important","D93F0B",{"name":2037,"color":2038},22234,"Layer extends fails to deploy on Vercel and Netlify","2023-10-04T21:36:42Z","https://github.com/nuxt/nuxt/issues/22234",0.6450219,["Reactive",2113],{},["Set"],["ShallowReactive",2116],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"hnXLcldld3KDFEOf1CkDOrwcW0Fvr-a5Hnbs0dybyI4":-1},"/nuxt/nuxt/18448"]