question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'ViewPropTypes' is not exported from 'react-native-web/dist/index

See original GitHub issue

Issue Description

/node_modules/react-native-gifted-chat/lib/MessageImage.js Attempted import error: 'ViewPropTypes' is not exported from 'react-native-web/dist/index'.

Steps to Reproduce / Code Snippets

Upgrade react-native-web to 0.12.2

Expected Results

Everything works fine

Additional Information

Due to new release of RNW: https://github.com/necolas/react-native-web/issues/1537

  • Nodejs version: 10.15.3
  • React version: 16.13.0
  • React Native version: 0.12.2
  • react-native-gifted-chat version: 0.13.0
  • Platform(s) (iOS, Android, or both?): both
  • TypeScript version: 3.8.3

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

4reactions
stale[bot]commented, May 11, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

2reactions
jackphuongvucommented, Dec 8, 2020

Same issue here guys

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't resolve 'react-native-web/dist/exports/ViewPropTypes ...
js Attempted import error: 'ViewPropTypes' is not exported from 'react-native-web' (imported as 'RNViewPropTypes'). I created the react app ...
Read more >
How I solved the >>'ViewPropTypes' is ... - DEV Community ‍ ‍
How I solved the >>'ViewPropTypes' is not exported from 'react-native-web/dist/index'<< error in 'react-native-snap-carousel'. #reactnative ...
Read more >
How I solved the >>'ViewPropTypes' is not exported from ...
How I solved the >>'ViewPropTypes' is not exported from 'react-native-web/dist/index'<< error ... Delete the ViewPropTypes named import from 'react-native' ...
Read more >
ViewPropTypes will be removed from React ... - Stack Overflow
I am getting this warning in log : ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported ...
Read more >
ViewPropTypes has been removed from React Native.
ERROR Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found