-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 '@fluentui/react-jsx-runtime/jsx-runtime' from 'node_modules/@fluentui/react-provider/lib-commonjs/components/FluentProvider/renderFluentProvider.js' #29075
Comments
@NataliaKravcheniaTR This is only happening in a testing environment? What framework do you use for testing? Without a repro example, it will be hard for us to investigate the issue. If codesandbox isn't ideal, if you could set up a minimal reproduction of the error you're getting in your own repo that we can clone that would be helpful. |
@TristanWatanabe I noticed this yesterday but haven't been able to 100% repro it. It seems like the issue was introduced in 9.30.3 I just created a new sandbox using our v9 template and pinned the I think this is the same issue as #29086 |
@spmonahan Not totally sure if it's related to @NataliaKravcheniaTR's issue but in the codesandbox case, we'll need to update our template dependencies to get it working again. In #28959, it explicitly states that react dependencies will now have to be version
https://codesandbox.io/s/react-components-9-30-3-forked-54cqcw?file=/package.json |
@NataliaKravcheniaTR can you try adding |
@TristanWatanabe It's only reproducing in a testing environment. Jest 28. |
Thanks! I've updated the template. |
@NataliaKravcheniaTR Thanks for the update! Can we close this issue now? |
@TristanWatanabe, I have used your code above and run it locally, but this issue still happens to me.
|
No problem, fixed by updating to v9.31 |
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
None
Reproduction
I don't know how to add tests in sandboxes
Bug Description
Started to reproduce today.
Actual Behavior
Test suite failed to run
Expected Behavior
Previously run successfully
Logs
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: