https://www.growthbook.io/ logo
#contributing
Title
# contributing
s

salmon-midnight-44452

05/10/2023, 8:47 PM
Hey everyone, I am trying to contribute to the GrowthBook SDKs. I installed Yarn at 1.22.19 and Node at 16.20.0. I ran yarn install without issues, and tried to go to the sdk-react package and run
yarn build
. However, it errors with this:
Copy code
error TS2307: Cannot find module '@growthbook/growthbook' or its corresponding type declarations.

11 } from "@growthbook/growthbook";
          ~~~~~~~~~~~~~~~~~~~~~~~~
This error appears several times with different files. How do I navigate around this? In node_modules I see
@growthbook/growthbook
, so it should be installed properly.
f

fresh-football-47124

05/10/2023, 8:48 PM
did you run yarn setup?
s

salmon-midnight-44452

05/10/2023, 8:53 PM
... my mistake, I overlooked that part of the process 😅. Ran it and it built successfully now. I did not figure initially that it was part of the process for building the SDKs. Thank you! Will leave this for posterity.
14 Views