Just tried to upgrade from 2026.2.20 to 2026.9.1 a...
# react
l
Just tried to upgrade from 2026.2.20 to 2026.9.1 and I get errors from the compiler that I don't know how to resolve. Seems I can resolve all the one at the beginning by adding i`mplementation(npm("@mui/x-date-pickers", "9.13.0"))` and the one for
useTheme
seems to be really standing on the way:
Copy code
export 'useRovingTabIndexItem' (imported as 'useRovingTabIndexItem') was not found in '../utils/useRovingTabIndex.mjs' (module has no exports)
Module not found: Error: Package path ./useRovingTabIndex is exported from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils, but no valid target file was found (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils/package.json)
export 'useRovingTabIndexRoot' (imported as 'useRovingTabIndexRoot') was not found in '../utils/useRovingTabIndex.mjs' (module has no exports)
export 'RovingTabIndexContext' (imported as 'RovingTabIndexContext') was not found in '../utils/useRovingTabIndex.mjs' (module has no exports)
export 'useRovingTabIndexContext' (imported as 'useRovingTabIndexContext') was not found in '../utils/useRovingTabIndex.mjs' (module has no exports)
export 'useRovingTabIndexItem' (imported as 'useRovingTabIndexItem') was not found in '../utils/useRovingTabIndex.mjs' (module has no exports)
export 'useRovingTabIndexRoot' (imported as 'useRovingTabIndexRoot') was not found in '../utils/useRovingTabIndex.mjs' (module has no exports)
export 'RovingTabIndexContext' (imported as 'RovingTabIndexContext') was not found in '../utils/useRovingTabIndex.mjs' (module has no exports)
Module not found: Error: Package path ./useValueAsRef is exported from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils, but no valid target file was found (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils/package.json)
Module not found: Error: Package path ./isEventHandler is exported from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils, but no valid target file was found (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils/package.json)
Module not found: Error: Package path ./useRovingTabIndex is exported from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils, but no valid target file was found (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils/package.json)
Module not found: Error: Package path ./isObjectEmpty is exported from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils, but no valid target file was found (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils/package.json)
Module not found: Error: Package path ./fastDeepAssign is exported from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils, but no valid target file was found (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils/package.json)
Module not found: Error: Package path ./fastDeepAssign is exported from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils, but no valid target file was found (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils/package.json)
Module not found: Error: Package path ./isObjectEmpty is exported from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils, but no valid target file was found (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils/package.json)
Module not found: Error: Package path ./fastDeepAssign is exported from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils, but no valid target file was found (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/node_modules/@mui/utils/package.json)
Module not found: Error: "./styles/useTheme" is not exported under the conditions ["import","module","webpack","production","browser"] from package /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/material (see exports field in /Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/material/package.json)
t
сс @aerialist
Do you use Kotlin
2.4.10
?
l
Yes!
t
Please file an issue
👍 1
If you have hot fix (even for generated part) please send us PR 😉
l
Here it is: github.com/JetBrains/kotlin-wrappers/issues/2894. Same issue with 2.4.20