Created
January 29, 2023 10:56
-
-
Save levic/b8a31b70163329617f0338c6af0a975b to your computer and use it in GitHub Desktop.
astro with yarn berry doesn't set vite allow directory correctly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn set version berry | |
yarn config set enableGlobalCache true | |
yarn create astro@latest | |
# (astro v2.0.2) | |
# choose defaults for everything except project name: | |
# - project name: myproject | |
# - a few best practices | |
# - install yarn dependencies: yes | |
# - initialize a new git repository: yes | |
# - typescript: strict | |
cd myproject | |
# these two commands are a workaround for issue #5637 | |
touch yarn.lock | |
yarn install | |
yarn dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment