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
react/jsx-runtime module not found #2
Comments
A workaround that seemed to work for us was to follow this comment // next.config.js
const withTM = require('next-transpile-modules')(['@vercel/analytics'])
modules.exports = withTM(config) |
I can confirm the exact same problem. I'm using:
And Node |
timolins
added a commit
that referenced
this issue
Oct 27, 2022
chriswdmr
pushed a commit
that referenced
this issue
Oct 27, 2022
We just published |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting the following build error.
Using React: 17.
Implemented according to guide.
Any idea on how to solve it?
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/usr/folder/project/node_modules/react/jsx-runtime' imported from /Users/usr/folder/project/node_modules/@vercel/analytics/dist/react/index.js Did you mean to import react/jsx-runtime.js?
The text was updated successfully, but these errors were encountered: