-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 script does not work with Yarn Berry #435
Comments
When I use |
package root can be read-only when install strategies like PnP are used, so the tempDir needs to be outside the vitepress package itself close vuejs#435
This happens because Yarn PnP installs packages as read-only, so packages can't write into their install directory. Unfortunately vitepress' current A quick fix without having to switch over to The real fix is to change the |
Thank you very much! You are right. I also thought it is because of the read-only zip files, but wasn't sure. Thanks for PR. Looking forward to use your fix. You are quick! 🥳 |
package root can be read-only when install strategies like PnP are used, so the tempDir needs to be outside the vitepress package itself close #435
Describe the bug
I created a new project by following the instructions here. I only added
yarn set version berry
. Also, there is a small undocumented issue that I had to manually add Vue 3 dependency.When I run
yarn docs:build
, it does not work.Reproduction
Expected behavior
It should build the docs.
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: