Problem
At this moment, if you are trying to init a new Astro project, you will experience some technical problems and the Astro project does not run properly as expected.
GitHub issue: #5637.
Workaround
Dependency modules was not installed.
- cd into project root folder.
- Create an empty
yarn.lock. - Run
yarn install. - Run
yarn dev.
Astro page displays an error.
Add this line into
.yarnrc.yml.yamlnodeLinker: node-modulesRun
yarn install.Run
yarn devRefresh the Astro page.



