ethereum-optimism / stack-docs

OP Stack documentation
13 stars 32 forks source link

added pnpm install command to build optimism monorepo #43

Open yasindce1998 opened 9 months ago

yasindce1998 commented 9 months ago

Added pnpm install command for building the optimism repo

Description When I was trying to build optimism monorepo using pnpm build command right after this command make op-node op-batcher op-proposer . First it was confusing after then I found out I have to use pnpm install command first after then we have to use pnpm build command. Ref: https://stack.optimism.io/docs/build/getting-started/#build-the-optimism-monorepo

Tests

Since it's documentation changes test cases are not needed.

Additional context

Adding pnpm install command before pnpm build would make installation easier otherwise it'll throw NX not found error also people confuse with yarn/npm install. So this would help beginners to understand these commands properly.

netlify[bot] commented 9 months ago

Deploy request for opstack-docs pending review.

Visit the deploys page to approve it

Name Link
Latest commit ccd04979a2c2413c053111832dfef5a7fe752283