Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR when using <StarlightPage /> in .astro page. #2716

Closed
1 task
sgalcheung opened this issue Dec 17, 2024 · 1 comment
Closed
1 task

ERROR when using <StarlightPage /> in .astro page. #2716

sgalcheung opened this issue Dec 17, 2024 · 1 comment

Comments

@sgalcheung
Copy link

What version of starlight are you using?

0.30.2

What version of astro are you using?

5.0.8

What package manager are you using?

pnpm

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

14:51:56 [ERROR] [vite] Internal server error: No cached compile metadata found for "/Users/sgalcheung/Documents/200 - 工作(Work)/220 - 技能(Skill)/221 - CS|计算机科学(Computer Science)/221.2 - 编程语言和编译器(Programming language and compiler)/WebFramework/Astro/starlight-squidex/node_modules/.pnpm/@astrojs[email protected]_astro@5.0.8_@types[email protected][email protected][email protected][email protected][email protected]_/node_modules/@astrojs/starlight/components/TableOfContents.astro?v=188ce671&astro&type=script&index=0&lang.ts". The main Astro module "/Users/sgalcheung/Documents/200 - 工作(Work)/220 - 技能(Skill)/221 - CS|计算机科学(Computer Science)/221.2 - 编程语言和编译器(Programming language and compiler)/WebFramework/Astro/starlight-squidex/node_modules/.pnpm/@astrojs[email protected]_astro@5.0.8_@types[email protected][email protected][email protected][email protected][email protected]_/node_modules/@astrojs/starlight/components/TableOfContents.astro" should have compiled and filled the metadata first, before its virtual modules can be requested.
at LoadPluginContext.load (file:///Users/sgalcheung/Documents/200%20-%20%E5%B7%A5%E4%BD%9C%EF%BC%88Work%EF%BC%89/220%20-%20%E6%8A%80%E8%83%BD%EF%BC%88Skill%EF%BC%89/221%20-%20CS%EF%BD%9C%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6%EF%BC%88Computer%20Science%EF%BC%89/221.2%20-%20%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80%E5%92%8C%E7%BC%96%E8%AF%91%E5%99%A8%EF%BC%88Programming%20language%20and%20compiler%EF%BC%89/WebFramework/Astro/starlight-squidex/node_modules/.pnpm/astro@5.0.8_@types[email protected][email protected][email protected][email protected][email protected]/node_modules/astro/dist/vite-plugin-astro/index.js:76:15)
at async EnvironmentPluginContainer.load (file:///Users/sgalcheung/Documents/200%20-%20%E5%B7%A5%E4%BD%9C%EF%BC%88Work%EF%BC%89/220%20-%20%E6%8A%80%E8%83%BD%EF%BC%88Skill%EF%BC%89/221%20-%20CS%EF%BD%9C%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6%EF%BC%88Computer%20Science%EF%BC%89/221.2%20-%20%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80%E5%92%8C%E7%BC%96%E8%AF%91%E5%99%A8%EF%BC%88Programming%20language%20and%20compiler%EF%BC%89/WebFramework/Astro/starlight-squidex/node_modules/.pnpm/vite@6.0.3_@types[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-yUJfKD1i.js:46973:22)
at async loadAndTransform (file:///Users/sgalcheung/Documents/200%20-%20%E5%B7%A5%E4%BD%9C%EF%BC%88Work%EF%BC%89/220%20-%20%E6%8A%80%E8%83%BD%EF%BC%88Skill%EF%BC%89/221%20-%20CS%EF%BD%9C%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6%EF%BC%88Computer%20Science%EF%BC%89/221.2%20-%20%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80%E5%92%8C%E7%BC%96%E8%AF%91%E5%99%A8%EF%BC%88Programming%20language%20and%20compiler%EF%BC%89/WebFramework/Astro/starlight-squidex/node_modules/.pnpm/vite@6.0.3_@types[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-yUJfKD1i.js:40786:22)
at async viteTransformMiddleware (file:///Users/sgalcheung/Documents/200%20-%20%E5%B7%A5%E4%BD%9C%EF%BC%88Work%EF%BC%89/220%20-%20%E6%8A%80%E8%83%BD%EF%BC%88Skill%EF%BC%89/221%20-%20CS%EF%BD%9C%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6%EF%BC%88Computer%20Science%EF%BC%89/221.2%20-%20%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80%E5%92%8C%E7%BC%96%E8%AF%91%E5%99%A8%EF%BC%88Programming%20language%20and%20compiler%EF%BC%89/WebFramework/Astro/starlight-squidex/node_modules/.pnpm/vite@6.0.3_@types[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-yUJfKD1i.js:42296:24)

Link to Minimal Reproducible Example

https://github.com/sgalcheung/starlight-squidex

Participation

  • I am willing to submit a pull request for this issue.
@delucis
Copy link
Member

delucis commented Dec 17, 2024

Thank you for the issue @sgalcheung and apologies for the inconvenience. I think this is a duplicate of the following issues:

I recommend subscribing to the Astro issue for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants