darenju / react-flip-page

A React.js implementation of the Flipboard page swipe.
MIT License
173 stars 31 forks source link

Could not find declaration for Module 'react-flip-page' #121

Closed LuthfanM closed 4 years ago

LuthfanM commented 4 years ago

Hallo.

I feel like my question is really basic. But already try every solution from google but nothing works. I am using expo and when i 'npm install react-flip-page', node_modules folder is not updated. Thats why when i import package, it not detected. Using require similar output. Nothing works.

I am using react-native-cli: 2.0.1 react-native: 0.59.10

what the cause of the problem actually? i install other package such as react-native-map and its working just fine. Please help.

LuthfanM commented 4 years ago

Ok. Turn out this issue is produced by react cannot manage to find Variable 'Document'. What cause of this actually?

darenju commented 4 years ago

react-flip-page is for Web. You need to use react-native-flip-page, which basically works the same.

You can find it on my profile.