For local development consider using docker with below command:
docker run --rm -it \
-p 8000:8000 \
-p 8001:8001 \
-v "$PWD":/app \
-v pythonpizza_node_modules:/app/node_modules \
-w /app \
node:16-bullseye \
bash -lc "corepack enable && yarn install && yarn develop -H 0.0.0.0 -p 8000"