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
[9.5.3] Next/_error.jsx style from modules.scss not working #16931
Comments
Hi, the same for me. |
In trying to debug this locally I can see that none of the paths provided to next.js/packages/next/pages/_document.tsx Line 160 in b2d1d87
Tracing back I can see this line in next.js/packages/next/pages/_document.tsx Line 59 in b2d1d87
but that line was changed 2 months ago in 9fcf39a. Tracing back further we reach next.js/packages/next/next-server/server/render.tsx Lines 685 to 701 in 3597978
Link here to the diff where the above was introduced in commit 3597978 |
There is a workaround here: #16784 (comment) |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
since 9.5.3 ( in 9.5.2 works fine), the custom error page has broken styles
To Reproduce
using sass to styling
create custom error page _error.jsx (tsx in my case)
need to build to see the actual error page, and try to create an error
(yarn build && yarn start)
in the error page the global style works fine
but every module.scss is broken even for the main error page or for imported components
System information
The text was updated successfully, but these errors were encountered: