-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
RN: Unable to resolve module AccessibilityInfo
#1503
Comments
Current Workaround: use
|
@D1no nice workaround 😭 . I'm sure the storybook packager is out of date, and I'm not even sure if any of the core maintainers are RN-savvy enough to get it upgraded. @mnmtanish ? |
Sudo works. Doesn't feel to nice though |
@RWOverdijk yes it's definitely a workaround and not a solution. We'll get on this, or feel free to contribute a fix if you're motivated! |
@shilman If I manage to free up some time I'll definitely give it a go. |
The new packanger implementation #1568 solves this issue and is not a problem anymore with the current storybook release [v3.2.9 as of this writing]. Therefore I close this. |
I am facing the same issue . I have used this You have to create your project like this by this version for now ---> react-native init ProjectName --version 0.55.4 Just wait for next version of React Native to let them fix that problem. |
I solved: "react-native init ProjectName --version 0.55.4". Thanks @thegreate |
I stuck in the issue of module Accessibility and searched solution for this issue in GitHub lot of members says downgrade the react-native version i try that too still i got the issue. when i try to upgrade the version i got the issues in my project files are missed. it says the Unable to resolve ../screens/hub.js(my project file) me some solution to fix this. This are my dependencies. |
I would love to implement storybooks into an open source project (https://github.com/shoplinksys/react-native-scandit/tree/storybook). The project runs fine with the default packanger, but the storybook packanger errors out with an
Unable to resolve module AccessibilityInfo
.Current Reproduction-Commit with Files & Set-Up:
https://github.com/shoplinksys/react-native-scandit/tree/c16e2b9d82008f0a3a825ffde6387676d18ad1da
package.json
Console Error
I already tried to reset all caches (npm, yarn, watchman, packanger, build) but it did not make a difference to the storybook packager. Incl. uninstalling and re-installing storybook.
Is there some storybook cache directory that could be a problem?
The text was updated successfully, but these errors were encountered: