robots
robots copied to clipboard
`v3.0.0-1`: page could not be found
When I simply enable the '@nuxtjs/robots' module using Nuxt bridge v3.0.0-27639120.e7a7f9b, I get the following error:
...
✔ Generated public .output/public nitro 22:46:27
ℹ Initializing prerenderer nitro 22:46:27
ℹ Prerendering 1 routes nitro 22:46:41
ERROR [h3] [unhandled] This page could not be found 22:46:42
at createError (node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:191:15)
at nodeHandler (node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:381:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ufetch (node_modules/.pnpm/[email protected]/node_modules/unenv/runtime/fetch/index.mjs:9:17)
at async generateRoute (node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/nitropack/dist/chunks/prerender.mjs:2535:17)
at async prerender (node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/nitropack/dist/chunks/prerender.mjs:2565:22)
at async node_modules/.pnpm/@[email protected]_sz4l2dz37qxtrukeof3aez25wu/node_modules/@nuxt/bridge-edge/dist/chunks/module.mjs:361:7
at async Nuxt.callHook (node_modules/.pnpm/[email protected]/node_modules/hable/dist/hable.js:1:959)
at async Builder.build (node_modules/.pnpm/@[email protected]_m56akxypyp7f72pxuiucyg54wm/node_modules/@nuxt/builder-edge/dist/builder.js:264:5)
at async Object.invoke (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/build.mjs:41:5)
at async _main (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/cli.mjs:46:20)
├─ /robots.txt (802ms) (Error: [404] Internal Server Error) nitro 22:46:42
start Building server... nitro 22:46:42
...
Accessing /robots.txt when running the built output results in a 404 as well. I tried using options and a config file too, but that yields no change. If that issue is not already on the radar and not reproducible for someone else, I can set up a codesandbox of course.
possible problem with the bridge, I will analyze
~I have the same issue with nuxt 3~ nvm, I got confused