Periods in content titles are not generated #17

Closed
opened 2023-05-27 11:13:24 -04:00 by eggy · 2 comments
Owner

They appear in previews, but any link to them 404s. Notably, my favourite Unstagnation story, https://eggworld.me/stories/unstagnation/2020/java.lang.nullpointerexception does not load.

They appear in previews, but any link to them 404s. Notably, my favourite Unstagnation story, https://eggworld.me/stories/unstagnation/2020/java.lang.nullpointerexception does not load.
eggy added the
bug
infra
labels 2023-05-27 11:13:24 -04:00
Author
Owner

Oddly, exclamation marks and spaces render fine.

Oddly, exclamation marks and spaces render fine.
Author
Owner

Notes:

The title doesn’t matter, just the file path. It appears that Nuxt thinks that a .xxx.md file isn’t actually a .md file for some reason. It loads in a server environment, but statically generating it results in the following error:

[11:09:37 PM]  ERROR  [nuxt] [request error] [unhandled] [500] Cannot read properties of undefined (reading 'options')
  at ./.nuxt/prerender/chunks/nitro/nitro-prerenderer.mjs:927:52  
  at Object.handler (./node_modules/h3/dist/index.mjs:1440:12)  
  at Object.handler (./node_modules/h3/dist/index.mjs:1255:31)  
  at async toNodeHandle (./node_modules/h3/dist/index.mjs:1330:7)  
  at async ufetch (./node_modules/unenv/runtime/fetch/index.mjs:9:17)  
  at async generateRoute (./node_modules/nitropack/dist/shared/nitro.8f17c3ea.mjs:95:17)  
  at async prerender (./node_modules/nitropack/dist/shared/nitro.8f17c3ea.mjs:153:22)  
  at async ./node_modules/nuxt/dist/index.mjs:2509:7  
  at async build (./node_modules/nuxt/dist/index.mjs:3415:5)  
  at async Object.invoke (./node_modules/nuxi/dist/chunks/build.mjs:56:5)

Workaround: Do not have any periods in filenames until this is fixed.

Notes: The title doesn't matter, just the file path. It appears that Nuxt thinks that a `.xxx.md` file isn't actually a `.md` file for some reason. It loads in a server environment, but statically generating it results in the following error: ``` [11:09:37 PM] ERROR [nuxt] [request error] [unhandled] [500] Cannot read properties of undefined (reading 'options') at ./.nuxt/prerender/chunks/nitro/nitro-prerenderer.mjs:927:52 at Object.handler (./node_modules/h3/dist/index.mjs:1440:12) at Object.handler (./node_modules/h3/dist/index.mjs:1255:31) at async toNodeHandle (./node_modules/h3/dist/index.mjs:1330:7) at async ufetch (./node_modules/unenv/runtime/fetch/index.mjs:9:17) at async generateRoute (./node_modules/nitropack/dist/shared/nitro.8f17c3ea.mjs:95:17) at async prerender (./node_modules/nitropack/dist/shared/nitro.8f17c3ea.mjs:153:22) at async ./node_modules/nuxt/dist/index.mjs:2509:7 at async build (./node_modules/nuxt/dist/index.mjs:3415:5) at async Object.invoke (./node_modules/nuxi/dist/chunks/build.mjs:56:5) ``` Workaround: Do not have any periods in filenames until this is fixed.
eggy closed this issue 2023-05-31 23:11:19 -04:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: eggy/public#17
No description provided.