NotionX / NotionX/react-notion-x
The Minimal Example has Errors
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
Description
Some errors with the minimal example due to it assuming it runs within the main repo
@next/bundle-analyzerisn't in thepackage.json, so delete fromnext.config.jsall references to it.- yarn dev now errors because
yarn.lockrefers to deps that are only installed in the context of the main repo. I'm only stealing a slice of the main repo.
the yarn.lock is invalid now, so remove it and yarn again.
yarn dev works now
Notion Test Page ID
not-relevant
How to solve
create a separate repo for the examples so the examples don't make any assumptions about what deps it has available.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the minimal example, package.json, next.config.js, and yarn.lock, then run yarn dev to reproduce the dependency assumptions. The work is done when the examples live in a separate repository and run without relying on dependencies from the main repo.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100