futurepress / react-native-visible-scrollview

2 stars 0 forks source link

Unable to resolve module react-native/Libraries/Renderer/src/renderers/native/ReactNativeComponentTree #2

Open Verurteilt opened 7 years ago

Verurteilt commented 7 years ago

"Unable to resolve module react-native/Libraries/Renderer/src/renderers/native/ReactNativeComponentTree from /Users/xxxxxxx/Applications/xxxxx/node_modules/epubjs-rn/node_modules/react-native-visible-scrollview/visible-scrollview/VisibleScrollResponder.js

As of react-native 0.45.0 the folder src inside Render doesn't longer exist.

fchasen commented 7 years ago

I haven't updated to .45yet, I'll give it a go next week

DaleLaw commented 6 years ago

for .46.1, the path is

import ReactNativeComponentTree from 'react-native/Libraries/Renderer/shims/ReactNativeComponentTree'
connorpmullins commented 6 years ago

@DaleLaw How can I change the path? I have different module path I'm trying to resolve, but I think I can fix it manually.