node -v
If you have installed Node.js 16.10 or later, you can directly enable Yarn with the following command:
corepack enable
If you have installed a Node.js version earlier than 16.10, you need to install Corepack first and then enable Yarn with the following command:
npm i -g corepack enable
yarn add global lerna
yarn bootstrap
cp .env.example packages/agora-classroom-sdk/.env
# If .env contains `REACT_APP_AGORA_APP_ID` and `REACT_APP_AGORA_APP_CERTIFICATE` configurations, the client will automatically generate an RTM Token for you
REACT_APP_AGORA_APP_ID=
REACT_APP_AGORA_APP_CERTIFICATE=
yarn dev