Skip to content
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

Document how to create the ~/.carton/static directory when using unreleased versions. #234

Open
deatondg opened this issue May 2, 2021 · 1 comment

Comments

@deatondg
Copy link

deatondg commented May 2, 2021

I built carton by simply git cloneing and running swift build, but carton dev kept complaining about the SHA256’s of the static archive it was downloading. It took me awhile to figure out what I was supposed to

npm install
npm run build

and then copy the resulting static directory into the right place. The start-up experience would be nicer if users were warned about this in advance, in case they need to run an unreleased version.

@disc0infern0
Copy link

Thankyou so much for this issue - and solution. I too had built carton from source, and after getting it to build, I wasn't sure where to put the binaries, since some clash with those from swift. I put the carton executable in $HOME/bin, and then had the same trouble as you with unmatching SHA256's. I would never have guessed that npm had to be installed. thankyou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants