Rn出现undefined is not an object (evaluating 'ReactInternals.ReactCurrentOwner')错误

undefined is not an object (evaluating 'ReactInternals.ReactCurrentOwner')

github传送门

https://github.com/facebook/react-native/issues/13874

stackoverflow也出现了这个问题

https://stackoverflow.com/questions/44489330/undefined-is-not-an-objectecaluating-reactinternals-reactcurrentowner

解决方案
在项目根目录
执行下面命令


yarn add [email protected]

你可能感兴趣的:(Rn出现undefined is not an object (evaluating 'ReactInternals.ReactCurrentOwner')错误)