https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
l

lively-doctor-66209

01/27/2022, 11:42 AM
👋 Hello, team! I am quite new to open source and would like to contribute to some project. While trying to clone the code of https://github.com/growthbook/growthbook/, I am facing some issue. Even after installing node_modules, it shows this error while running yarn dev:
| error - ./components/ProtectedPage.tsx:13:0
 |
*Module not found*: Can't resolve '@growthbook/growthbook-react'
 |   11 | import track from "../services/track";  |   12 | import { OrganizationSettings } from "back-end/types/organization";  |
*>* 13 | import { useGrowthBook } from "@growthbook/growthbook-react";
 |   14 | import { useRouter } from "next/router";  |   15 | import { isCloud } from "../services/env" Can anyone help me out, and guide me too?
f

future-teacher-7046

01/27/2022, 1:16 PM
Hi Nitesh! That's awesome you want to help contribute. You'll need to run a few commands to finish getting set up:
Copy code
yarn workspace @growthbook/growthbook build
yarn workspace @growthbook/growthbook-react build
l

lively-doctor-66209

01/28/2022, 9:15 AM
Thank you @future-teacher-7046 🙂
13 Views