primefaces / primefaces/primereact-examples

nextjs-quickstart-nextgen: Can't resolve '@primereact/core/config'

Open
#43 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
142
Forks
107
PR merge metrics
No merged PRs in 30d

Description

 ⨯ ./providers/prime-provider.tsx:5:1
Module not found: Can't resolve '@primereact/core/config'
  3 | import * as React from "react";
  4 | import Noir from "@/themes/noir";
> 5 | import { PrimeReactProvider } from '@primereact/core/config';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  6 |
  7 | const styledStyleSheet = new PrimeReactStyleSheet();
  8 |



https://nextjs.org/docs/messages/module-not-found

Contributor guide

No contributing guide indexed for this repository

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 in providers/prime-provider.tsx at the failing @primereact/core/config import and reproduce the Next.js module-not-found error. Check how the quickstart resolves this dependency and verify that the example builds without the reported error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.