-
Notifications
You must be signed in to change notification settings - Fork 429
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
Module not found: Error: Can't resolve 'react/jsx-runtime' in 'node_modules/react-share/dist' #517
Comments
Hello! Are you on React 18? |
Hey! I'm react 17.0.2 |
Hello, we have the same issue. On 17.0.2 as well. It seems to only happen when running on Windows, not on Mac or Ubuntu. |
For others, fyi. We use webpack and we'd solved the issue by adding the following rule: {
test: /\.js$/,
include: /node_modules\/react-share/,
resolve: {
fullySpecified: false,
},
}, This matches On windows, the include regex wasn't working as it includes a "/". Instead using: include: path.resolve('node_modules', 'react-share'), does match the windows formatting for path and the build succeeds. |
Hello is there any workaround or fix for this? |
So sad :( Moving to other library until this is solved... |
same happening for us |
bummer |
Hey the following is the error
The text was updated successfully, but these errors were encountered: