primefaces / primefaces/primereact

Contributing: Unable to develop locally using instructions from `DEVELOPMENT.md`

Open
#5,919 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Documentation Resolution: Workaround
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

I followed all instructions from DEVELOPMENT.md but when I'm using the local library in my test project I get module-not-found errors:

image

Reproducer

https://github.com/primefaces/primereact/blob/master/DEVELOPMENT.md

PrimeReact version

10.5.0

React version

18.x

Language

TypeScript

Build / Runtime

Next.js

Browser(s)

all

Steps to reproduce the behavior

Follow all steps from DEVELOPMENT.md

Expected behavior

Test app is able to work with local version of primereact when using npm link and npm run dev:link

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with DEVELOPMENT.md and reproduce the local-library setup using npm link and npm run dev:link in a Next.js test app. Trace the reported module-not-found errors, then verify that the test app can run against the local PrimeReact version without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.