uiwjs / uiwjs/react-md-editor

I have followed all of the instructions but still it is not working.

Open
#555 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.9k
Forks
201
Avg merge
12m
Merged PRs (30d)
1

Description

I am using https://github.com/uiwjs for my Nextjs project. I have followed all of the steps from npm. But it is not working and still getting the same isssue.
event - compiled client and server successfully in 11.9s (16476 modules) wait - compiling / (client and server)... (node:10139) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API (Use node --trace-deprecation ... to show where the warning was created) error - ./node_modules/.pnpm/@uiw+react-markdown-preview@4.1.13_@types+react@18.0.28_react-dom@18.2.0_react@18.2.0/node_modules/@uiw/react-markdown-preview/esm/styles/markdown.css Global CSS cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-npm Location: node_modules/.pnpm/@uiw+react-markdown-preview@4.1.13_@types+react@18.0.28_react-dom@18.2.0_react@18.2.0/node_modules/@uiw/react-markdown-preview/esm/index.js

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 by reproducing the reported Next.js build failure with @uiw/react-markdown-preview@4.1.13 and inspect the referenced esm/index.js and markdown.css paths. Read the linked Next.js css-npm guidance; done means the project builds without the reported Global CSS error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.