Replies: 1 comment
-
I have the same problem... This might be related to the glob warnings in the other question? BTW. when I try to build astro-paper out of the box, I get the output below. The <> might be related to the following? 11:42:46 [WARN] [glob-loader] Skipped 19 files that matched **/*.md. It's a warning, but it also skips all the files...
11:42:46 [content] Syncing content If this is a Svelte or Vue component, it might have a syntax error that makes it impossible to parse. 89 <> src/layouts/Layout.astro:117:38 - warning ts(6133): 'rel' is declared but its value is never read. 117 onload="this.onload=null; this.rel='stylesheet';" 117 onload="this.onload=null; this.rel='stylesheet';" See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing. Add the 106 type="application/ld+json" src/layouts/PostDetails.astro:171:15 - error ts(2604): Component '< >' is not a valid component. If this is a Svelte or Vue component, it might have a syntax error that makes it impossible to parse. 171 <> If this is a Svelte or Vue component, it might have a syntax error that makes it impossible to parse. 137 <> Result (50 files):
|
Beta Was this translation helpful? Give feedback.
-
I have three errors when running 'pnpm run build' they all relate to the component <> being invalid.
Am I missing a dependency or something?
`src/layouts/PostDetails.astro:137:15 - error ts(2604): Component '< >' is not a valid component.
If this is a Svelte or Vue component, it might have a syntax error that makes it impossible to parse.
137 <>`
Beta Was this translation helpful? Give feedback.
All reactions