uiwjs / react-md-editor

A simple markdown editor with preview, implemented with React.js and TypeScript.
https://uiwjs.github.io/react-md-editor
MIT License
2.15k stars 155 forks source link

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

Open akash-mahmud opened 1 year ago

akash-mahmud commented 1 year ago

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 (Usenode --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

jaywcjlove commented 1 year ago

@akash-mahmud

akash-mahmud commented 1 year ago

@akash-mahmud

I have already followed every step from here and still the issue is the same.

jaywcjlove commented 1 year ago

@akash-mahmud You need to give me a reproducible example, otherwise I can't help you.

https://github.com/uiwjs/react-md-editor/tree/master/example/nextjs

jaywcjlove commented 1 year ago

https://github.com/uiwjs/react-md-editor/blob/d7ba73b15de9faf8811fa9a3ea0f7c69b80531cb/example/nextjs/app/page.tsx#L1

fridolinf commented 1 year ago

any update on this ?

rlogank commented 1 year ago

@akash-mahmud You need to give me a reproducible example, otherwise I can't help you.

The reproducible example is that it doesn't work with Next.js