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

bug: Homebrew error No such file or directory #445

Open
2 tasks done
jlarmstrongiv opened this issue Dec 10, 2023 · 1 comment
Open
2 tasks done

bug: Homebrew error No such file or directory #445

jlarmstrongiv opened this issue Dec 10, 2023 · 1 comment

Comments

@jlarmstrongiv
Copy link

jlarmstrongiv commented Dec 10, 2023

Please confirm the following:

Full steps to reproduce the issue:

  1. brew install gyb
  2. gyb --action create-project --email [email protected]
  3. See the error
    • [Errno 2] No such file or directory: '/opt/homebrew/etc/gyb/client_secrets.json'
    • ERROR: [Errno 2] No such file or directory: '/usr/local/etc/gyb/oauth2service.json'

Expected outcome (what are you trying to do?):

No errors

Actual outcome (what errors or bad behavior do you see instead?):

  • [Errno 2] No such file or directory: '/opt/homebrew/etc/gyb/client_secrets.json'
  • ERROR: [Errno 2] No such file or directory: '/usr/local/etc/gyb/oauth2service.json'

Fixes:

Ensure the directory exists on the correct architecture (probably easier to do in the python script)

  • x86_64 mkdir -p /usr/local/etc/gyb
  • arm64 mkdir -p /opt/homebrew/etc/gyb

Once those folders exist, the scripts run without any issues

@iMonZ
Copy link

iMonZ commented Sep 16, 2024

Same issue...

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