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

Local build instructions fail due to yarn pre-flight check #2366

Open
bilalq opened this issue Sep 5, 2022 · 2 comments
Open

Local build instructions fail due to yarn pre-flight check #2366

bilalq opened this issue Sep 5, 2022 · 2 comments
Labels
type: bug Something isn't working

Comments

@bilalq
Copy link

bilalq commented Sep 5, 2022

Description
According to the docs, having a global yarn installation should be fine. However, if you just clone the repo and run make, you'll get errors.

Expected Behavior
The app should build.

Actual Behavior

$ make
/Users/bilalq/code/clutch
Running pre-flight checks...
yarn is not installed or cannot be found in the current PATH, this is a required dependency.

Please refer to the development requirements https://clutch.sh/docs/getting-started/local-build/#requirementsmake: *** [preflight-checks] Error 1

Version
f9eb6f7

Other Context
Running make yarn-install before running make fixes the issue. But the docs don't suggest that this would expect or enforce a local yarn installation.

@bilalq bilalq added the type: bug Something isn't working label Sep 5, 2022
@tdeheurles
Copy link

tdeheurles commented Dec 23, 2023

Hey guys, for your information, the issue still there ...
Just lost time too due to this :-/
May a word in the documentation ? 🥲

@tuxillo
Copy link

tuxillo commented Jun 17, 2024

Same here, just hit this issue. Maybe adapt the yarn-install target to be called when required? i.e. when calling all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants