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

how to use shiki with nextjs 13 and app dir? #426

Closed
hyoban opened this issue Jan 31, 2023 · 1 comment
Closed

how to use shiki with nextjs 13 and app dir? #426

hyoban opened this issue Jan 31, 2023 · 1 comment

Comments

@hyoban
Copy link

hyoban commented Jan 31, 2023

I have already set serverComponentsExternalPackages: ['shiki']

2023-01-31T02:30:42.688Z	5b0f868d-7751-44f0-9edb-9778752e6ce6	ERROR	[Error: ENOENT: no such file or directory, open '/var/task/node_modules/.pnpm/[email protected]/node_modules/shiki/themes/github-light.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/var/task/node_modules/.pnpm/[email protected]/node_modules/shiki/themes/github-light.json',
  page: '/post/[slug]'
}
RequestId: 5b0f868d-7751-44f0-9edb-9778752e6ce6 Error: Runtime exited with error: exit status 1
Runtime.ExitError
@hyoban
Copy link
Author

hyoban commented Jan 31, 2023

find solution in #138

@hyoban hyoban closed this as completed Jan 31, 2023
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

1 participant