React Native cached error cannot read getScrollableNode undefined property

While working in the React Native component yesterday (probably there was too much cowboy coding) I ran into this error:

cannot read property getScrollableNode of undefined 

after deleting all the code that caused this error, I still get an error message when I enter the error. It seems that the error is caching somewhere.

On the client side, I tried to remove and reinstall node modules , watchman watch-del-all and rm -fr $TMPDIR/react-*

Any other suggestions on a solution or theory on why this is happening are welcome.

+5
source share
1 answer

I found that this is usually a secondary error, which appears as a result of another error earlier in the rendering process. Check the error log (browser debugging console, device log, etc.), and you will see a more specific error describing what is going wrong.

+5
source

Source: https://habr.com/ru/post/1260665/


All Articles