Closed trudeaua21 closed 1 year ago
I've created a fresh clone both on MacOS, zsh, volta as well as on Windows 11, Powershell latest, Volta. Both times yarn
ran fine to install and yarn dev
also ran fine to run the dev server.
We also test integrity of the repository in CI.
Therefor I believe this might be an issue with your local system or network. Could you try checking if you're not behind a VPN or reinstall node/volta?
You're right, definitely seems like an issue with my machine specifically. I'll try reinstalling the version of node I'm using and doing some more googling to try to figure out the problem sometime in the next couple days π
Looks like my usage of Git Bash was the issue - switched over to Powershell and it built and ran properly! Thanks for triaging π
Leaving this open only because I'm not sure whether you'd want to update the project to support Git Bash/document that it's not supported. My problem has been solved, so feel free to close if you'd like.
Bug description
On a fresh clone of the repository, I ran into a couple of different failures:
yarn
ran into a timeout issue, which I was able to work around by passing a higher network timeout flag toyarn install
.yarn start
failed, resulting in the built app crashing instead of running successfully.yarn build
failed as well.Steps to reproduce
For reference, here's some key system information: Node Version:
v16.20.0
(recommended version is v16.X) Yarn Version:1.22.19
(recommended version is v1.22.4+) Operating System & Version: Windows 10 Home Version 10.0.19045 Build 19045First, I forked the repo.
Specific reproduction steps after that are a little tricky, as I've tried re-cloning the project a couple of times to get around the errors. Here's what happened on one of my first two clones:
main
branch, I ranyarn
, which failed due to network timeout.yarn install --network-timeout 1000000000
, which successfully went through.yarn start
andyarn build
(don't have logs from these runs, but they were pretty much the same as can be seen below).After that, I decided to re-clone to capture the logs for reproduction. Here's what happened on that clone:
Created a new branch off of main called
package-testing-documentation
Ran
yarn
in repository root, which didn't experience the network timeout issue, and gave the following output:Ran
yarn start
in repository root, which gave the following output (uploaded in file form to due GitHub Issue body length limit):YarnStartOutput.txt
Additionally, the browser shows the following error:
yarn build
in repository root, which gave the following output (uploaded in file form to due GitHub Issue body length limit):YarnBuildOutput.txt
I haven't really tried to solve it past the re-cloning and checking that my node and yarn version match what's in
CONTRIBUTING.md
.Expected behavior
Expected behavior would be a fresh clone of the project installing/starting/building without error without any additional setup past what's already documented.
Additional details N/A