docs: fix Node version requirement and misleading RPC URL placeholder in Getting Started - #5
Open
pplmaverick wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Discovered while following the Getting Started guide to deploy my own prediction market on Arc.
Two inaccuracies in the Getting Started flow that will break onboarding for anyone
following the README literally:
1. Node.js version requirement is wrong
README Prerequisites says "Node.js v18+", but
package.jsonpins"next": "16.2.0".Next.js 16.2.0's own published
package.jsondeclares"engines": {"node": ">=20.9.0"}(verified against
https://registry.npmjs.org/next/16.2.0). A developer on Node 18/19following the README will hit an unsupported-engine error or undefined behavior at
npm install/npm run dev.2. RPC URL is not actually "pre-filled" — it's a broken placeholder
README step 2 says: "The Arc Testnet RPC URL is pre-filled." In reality,
.env.examplesets
NEXT_PUBLIC_ALCHEMY_RPC_URL=https://your-alchemy-rpc-url-hereas an active,uncommented value. Both
hardhat.config.ts:45andlib/chain.ts:21-22use: