NextHub
NextHub
NNuxt
Created by NextHub on 3/8/2025 in #❓・help
Deployment failed on cloudflare
I got this error when deploying to cloudflare 15:50:51.219 [error] [ nuxi ] Nuxt Build Error: [vite]: Rollup failed to resolve import "unenv/runtime/mock/noop" from "/opt/buildhome/repo/node_modules/@nuxt/scripts/dist/runtime/validation/mock.js". 15:50:51.219 This is most likely unintended because it can break your application at runtime. 15:50:51.219 If you do want to externalize this module explicitly add it to 15:50:51.220 build.rollupOptions.external 15:50:51.220 This is most likely unintended because it can break your application at runtime. 15:50:51.220 If you do want to externalize this module explicitly add it to 15:50:51.220 build.rollupOptions.external 15:50:51.220 at viteLog (node_modules/vite/dist/node/chunks/dep-glQox-ep.js:51589:15) 15:50:51.220 at onRollupLog (node_modules/vite/dist/node/chunks/dep-glQox-ep.js:51639:5) 15:50:51.220 at onLog (node_modules/vite/dist/node/chunks/dep-glQox-ep.js:51287:7) 15:50:51.221 at node_modules/rollup/dist/es/shared/node-entry.js:20543:32 15:50:51.221 at Object.logger [as onLog] (node_modules/rollup/dist/es/shared/node-entry.js:22286:9) 15:50:51.221 at ModuleLoader.handleInvalidResolvedId (node_modules/rollup/dist/es/shared/node-entry.js:21169:26) 15:50:51.221 at node_modules/rollup/dist/es/shared/node-entry.js:21127:26 15:50:51.276 Failed: Error while executing user command. Exited with error code: 1 15:50:51.287 Failed: build command exited with code: 1 15:50:51.977 Failed: error occurred while running build command
7 replies
NNuxt
Created by NextHub on 3/6/2025 in #❓・help
Nuxt has an error reloading the page when clicking on a link
My Nuxt project in development when clicking on links wrapped in <NuxtLink> tags all reload the page, my ui components are not displayed, devtool is also hidden. In production it works fine. Has anyone encountered this problem, please support me.
5 replies