-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
UnableToResolveError: Unable to resolve module AccessibilityInfo
#14209
Comments
Same issue here. A project I created 2 days ago still works. A new project I created today with |
Same issue suddenly after runing init... :-( |
Same issue here |
Does this still occur after deleting |
@hramos |
@hramos Thanks your team work! Yesterday, I use react-native-git-upgrade my project 0.44.0 to 0.44.1, it ok, perfect. but now, i use react-native-git-upgrade my project 0.44.1 to 0.44.2, same issue here. I think issue in the react-native 0.44.1 upgrade to 0.44.2 |
same here. but after downgrading from 0.44.2 to 0.44.1 the issue vanished and everything is back to normal. |
same here. |
same error on android |
same on android, removing node_modules and reinstalling and it does not work |
Same here. Almost entire team stuck by this error. |
Same here |
same here, any solutions? |
same here |
I've downgraded to v 0.44.0 and everything it's working well. |
@sirgalleto I'm not sure if downgrading to |
@RohanVB, @sirgalleto moving to 0.44.1 is ok, if you have trouble with 0.44.0. |
@valinaga I don't think it's an issue with the react-native package version, it's with react. |
Having same issue with "http" module. I'm on v0.44.0 |
Please refrain from adding "me too" comments unless you're providing additional details to aid with a repro. I suggest that instead you subscribe to the issue and add a reaction to the original post. Thanks! |
same here. But disappear when I use |
@hramos I think people are just trying to express their sense of panic about issues like this :) |
I just hit this upgrading from |
This just happened to me and it was because I had a hung 'node' process on port 8081, preventing a new instance of react packager from starting. I did killall -9 node and then was fine. |
change it to "react-native": "0.44.0", Thakns @ne0fite |
@skrajath that's weird 😶😶 |
@abinax That's weird, yes. The assets folder was missing |
i solved the error as per @ws7one comment. After that i installed native-base and react-navigation.Simply it shows blank screen.Then changed native-base version to 2.3.5 but react-navigation is not working. Please someone post the solution |
Work @abinax, thanks
|
I have found out the solution Follow the links |
Just downgrade react-native version to |
@Hemant-Synerzip downgrading the react native version only is not a solution 😑. Did you read the replays above?? |
Esto funciono para mi : |
I solved this issue easily by following the below steps,
It will downgrade all the necessary dependencies including "react-native". :) |
I'd like to say that I solved this issue by switching to yarn. I didn't encounter this issue since the switch (1 year ago, you can see one of my post in the beginning of this thread) Even today If I save a dependency using npm by mistake it will delete some dependency and the project will now longer build due to X module being not here |
how have this not been fixed now at react-native 0.56.0 and this issue is very much present |
I abandoned RN for Xamarin Forms 3 weeks ago, this was the final straw for me |
I am really about to move a project I've being working on for months, form RN to Flutter. This is a waste of time. Such an incompetent language. |
@williamdarkocode the language is not incompetent ... maintainers are ... either incompetent or they really do not give a ... maybe they have already moved to native or flutter and do not care anymore :) ... and when it comes to communication ... they really lack any skill |
Anyone here tried Native Script for Vue..? I'm thinking to convert my projects to Native Script - Vue because React Native is throwing all kinds of errors that I've never seen before. Any suggestion would be very much appriciated. |
I have tried to downgrade react native and installed the matching versions of native-base and react-navigation.It will accept only react-native pure components.Even it does not support react-native-twitter-signin package.It throws next error regarding SDK version.Each and every time it throws different errors..Even i can't delete my project folder.If i try to delete the folder it throws "the source file name(s) are larger than is supported by the file system.." someone post the accurate solution for all kinds of error. |
|
is there any advance on this? I don't know what to do because if I downgrade react-native to |
Why is still closed this issue? No one resolved it yet, all are complaining about this problem. How we resolve it?! I already lost a day of work... I dont understand why its closed. |
@gluons thx, they didnt make it work, but at least we know now that they cant in this version and it will be fixed in 0.57. Thx. |
Ok. What worked for me was a little crude but I guess it works so why not. Instead of doing react-native init, make use create react app, and before installing any dependencies or transferring project directories and files, npm run eject. Don't choose expo eject method. When done ejecting, install all dependencies in your projects package.json, and don't run npm audit fix, no matter the amount of peer dependency errors you see. The reason is when you run npm eject, the core dependencies' versions are to best fit your project. When done with dependencies, simply copy and paste project files, and resolve any errors such as 'Cannot find file/ dir' errors. |
"dependencies": { the below cmds helped me resolve |
Description
I basically just cloned an existing project with a minimal setup, did
yarn install
andnode node_modules/react-native/local-cli/cli.js run-ios
. It started but the packer failed with:I found
get AccessibilityInfo() { return require('AccessibilityInfo'); },
in the/Users/phillipp/Work/***/***/node_modules/react-native/Libraries/react-native/react-native-implementation.js
file but I have no clue where it wants to require that from. It seems to be a RN core thing.Here is the
package.json
for those who are curious:I already tried everything I found on the internet (reinstalling node modules, cleaning npm, yarn and watchman caches, deleting react files from temp dir, etc.)
Additional Information
^0.44.0
ios
The text was updated successfully, but these errors were encountered: