-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NextJS 10 or above Framework issue "Global CSS cannot be imported from within node_modules" #148
Comments
Here found the "codesandbox" project link for NextJs framework: https://codesandbox.io/s/nextjs-example-react-md-editor-qjhn7?file=/pages/index.js Export the project as .zip from "codesandbox" and extract to your desired location |
@Hassaan016 I am still getting the error in terminal:
This is my
And this is my
|
Is there an update to this? I'm running into the same issue |
same problem |
Same problem |
Dear All,
I created a NextJS project and installed the react-markdown-editor via npm. When I try to run my NextJS project the following error message appears:
Error
Global CSS cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-npm Location: node_modules\@uiw\react-markdown-preview\lib\esm\index.js
And the possible reason according to NextJS documentation:
https://nextjs.org/docs/messages/css-npm
It will be really great if "react-markdown-editor" can be ported for NextJS framework properly.
Note:
Regards,
MHS
The text was updated successfully, but these errors were encountered: