Skip to content

Broken imports across incubators #3723

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

Closed
2 of 9 tasks
Sunhat opened this issue May 11, 2025 · 1 comment
Closed
2 of 9 tasks

Broken imports across incubators #3723

Sunhat opened this issue May 11, 2025 · 1 comment
Labels
bug a bug in one of the components

Comments

@Sunhat
Copy link

Sunhat commented May 11, 2025

Description

imports such as those for Dialog, Slider, Calendar, are all using lower case.

This package doesn't work since at least 7.35.1, possibly 7.35.0 (untested)

Related to

  • Components
  • Demo
  • Docs
  • Incubators
  • Typings

Steps to reproduce

  • Install react-native-ui-lib 7.35.1 or above on a case-sensitive OS, such as macOS...
  • Run app / start server

Expected behavior

  • Imports are named correctly, app boots, no errors

Actual behavior

  • JS doesn't boot, Red screen error
  • See babel import errors in terminal e.g.

Error: Unable to resolve module ./dialog from ../node_modules/react-native-ui-lib/src/incubator/index.js:

More Info

N/A

Code snippet

N/A

Screenshots/Video

Image Image

Environment

  • React Native version: 0.76.9
  • React Native UI Lib version: 7.35.1

Affected platforms

  • Android
  • iOS
  • Web
  • All
@Sunhat Sunhat added the bug a bug in one of the components label May 11, 2025
@Sunhat
Copy link
Author

Sunhat commented May 13, 2025

Closing this issue -- It was resolved by deleting node_modules and re-installing -- Presumably folders that have been renamed (only capitalisation changes) are not properly updated when upgrading versions via npm/yarn

@Sunhat Sunhat closed this as completed May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in one of the components
Projects
None yet
Development

No branches or pull requests

1 participant