compilation error with nextJS
See original GitHub issueWe can’t compile when using nextJS:
[ wait ] compiling ...
[ error ] /Users/user/Documents/myproject/client/node_modules/react-perfect-scrollbar/dist/css/styles.css
Global CSS cannot be imported from within node_modules.
Read more: https://err.sh/next.js/css-npm
Location: ../../@coreui/react/es/SidebarNav.js
More information about it: https://github.com/zeit/next.js/blob/master/errors/css-npm.md Can you please help how to fix this? Thanks.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
Next.js is stuck compiling · Issue #10998 - GitHub
When I start my express server, which implements next, I navigate to a page and it starts compiling it as usual. It then...
Read more >Advanced Features: Error Handling - Next.js
Handle errors in your Next.js app. ... Next.js Compiler ... React Error Boundaries is a graceful way to handle a JavaScript error on...
Read more >Next.js Compile error, property undefined - Stack Overflow
I am assuming that components does not have data before render. How to solve this problem? reactjs · next.js · Share.
Read more >5 Most Commonly error face is Next.js? | Nextjs - Medium
Global CSS. In nextjs, you do not import global files on every page. If you do that, you face a failed compile error...
Read more >Newbie getting build errors with Next.JS : r/reactjs - Reddit
Newbie getting build errors with Next.JS ... Hi, I'm getting a build error, website looks fine with npm run dev. Not sure what...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is still an issue
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions