Hello Growthbook team, :wave: I am excited to cont...
# contributing
s
Hello Growthbook team, 👋 I am excited to contribute to growthbook!! However, I am facing few issues while setting up the repo on my Mac M4 pro when I run command
yarn setup
. I am using CONTRIBUTING.md as guide. Can someone from the team, help me to solve this? PS: I have contributed to OSS before (see my recent PRs: PRs list)
My node version: 23.9.0
s
Hi there @swift-queen-7691 ! Can you try running
yarn
again in the directory?
s
tried, no changes
s
do
yarn dev
or
yarn build
work? did you get the same error?
s
For yarn build, I face the same error related to hapi__shot (also, tried intalling types for that but didn't work) For yarn dev it says:
Screenshot 2025-05-22 at 7.54.49 PM.png
s
I'm not sure what the exact error is, but it's likely that something didn't get configured correctly. I'd delete the directory and try again from scratch and see if you face the same error.
s
Okay, Trying again
After, deleting the directory and downgrading node version to 20.19.2, i was able to get localhost:3000 to be up, but I have still got installation issue with stats (poetry install):
s
I'm not an expert on python, but I know that you can run into issues pretty easily on macos with it. How do you have it installed/which version?
s
I am using poetry version 2.1.3 and python version 3.13.3
s
how was python installed? what's the output of
poetry install -vvv
s
python was installed using homebrew and for poetry install -vvv in stats package gives the error for scipy:
s
OK. There's something about your environment that the installer isn't liking, but I'm not sure exactly what's failing. maybe try
brew install gfortran
to install the compiler it's complaining about and then try again.
s
Hi @strong-mouse-55694, this worked after I downgraded to python 3.9.6. Thanks a lot for helping🙌
🙌 1