-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Build fails when using local custom theme. #405
Comments
Okay, I temporary resolved this... So I changed build command to |
And sadly, the above solution caused a new problem by creating multiple node_modules ( vuejs/core#4344 ). In the end, I decided to separate the custom theme for each repository in my project and |
Maybe you can use something like pnpm workspace to manage your monorepo at the root level? |
I think you might want to either
I believe this is more like a Node.js dependency management question rather than a bug of Slidev. |
Describe the bug
When deploy some project using custom theme (in monorepo) to Netlify, I found an error like this:
Changing to not use shiki did not change the error that
@slidev/types
was not found.And local build is works fine at all time.
To Reproduce
An reproducable repository is here: https://github.com/Kurogoma4D/slidev_custom_theme_test,
and here is build log that attempting to deploy it: https://app.netlify.com/sites/adoring-shaw-a7e05b/deploys/618f5c505f1fa67294f98703
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: