-
Notifications
You must be signed in to change notification settings - Fork 87
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
[Bug]: Cannot find module 'styled-jsx/style' #2330
Comments
Hey @skordesign. We should have fixed this issue with #2313. Let us know if it doesn't fix your issue. Thanks. |
I've installed @netlify/[email protected] and I get a Internal Server Error
|
Hi, the error I mentioned above only happens when I build and deploy on my local machine (Windows 11). After I switched to Github Action using Linux, it worked fine. |
Thanks for the fix! Was having the same issue but not locally, only on Netlify deployment, I saw this issue and it instantly fixed it. Thank you, thank you, thank you so much! It was driving me crazy trying to figure out what was going on. But thanks to your hard work @MarcL and everyone else who helped I got a food pantries service back online. Amazing work, thanks so much! |
I got this error when trying to access my new live API route. Installing @netlify/plugin-nextjs@rc fixed it. |
i upgraded to |
…ousel anchor link Runtime.ImportModuleError - Error: Cannot find module 'styled-jsx/style' upgrade Next.js to latest (v14) per https://answers.netlify.com/t/error-cannot-find-module-styled-jsx-style/104563/11 tracked here also: opennextjs/opennextjs-netlify#2330
Having same problem with
|
Summary
The issue happened when I integrated Builder.io into Nextjs and deployed it to Netlify. It works fine when I deploy to a VPS.
A link to a reproduction repository
https://github.com/skordesign/next-builder-io
Expected Result
Works fine
Actual Result
Show error Cannot find module 'styled-jsx/style'
Steps to reproduce
Next Runtime version
4.40.2
Is your issue related to the
app
directory?app
directoryMore information about your build
netlify.toml
)What OS are you using?
Windows
Your netlify.toml file
`netlify.toml`
Your public/_redirects file
`_redirects`
Your
next.config.js
file`next.config.js`
Builds logs (or link to your logs)
Build logs
Function logs
Function logs
.next JSON files
generated .next JSON files
.next/required-server-files.json
.next/routes-manifest.json
.next/prerender-manifest.json
The text was updated successfully, but these errors were encountered: