Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native cached error cannot read property getScrollableNode of undefined

While working in a React Native component yesterday (probably cowboy coding a little too much) I encountered this error:

cannot read property getScrollableNode of undefined

after removing all the code that caused this error I am still getting the error anytime I introduce an error. It seems like the error is being cached somewhere.

On the client side I've tried deleting and reinstalling node modules, watchman watch-del-all and rm -fr $TMPDIR/react-*

Any other suggestions to solve or theories on why this is happening would be greatly appreciated.

like image 460
Merrock Avatar asked Dec 01 '16 19:12

Merrock


1 Answers

I've found this to generally be a secondary-error which appears as a result of another error earlier in the rendering process. Check your error log (browser debug console, device log, etc) and you should see a more specific error describing what's going wrong.

like image 66
Mike Lambert Avatar answered Oct 16 '22 23:10

Mike Lambert