react-native-markdown
react-native-markdown copied to clipboard
UNMET PEER DEPENDENCY
I use the react native 0.43 version, or do we have this problem, After adding dependent on lead to error of project startup
Same here. I got the message:
└─┬ [email protected]
├── [email protected]
└── [email protected] (git://github.com/lwansbrough/simple-markdown.git#62efb54d923cae20684a58e87ab159b21edda3b1)
npm WARN [email protected] requires a peer of react-native@^0.4.0 but none was installed.
Found out that loading modules was not compatible with my react native version.
Change the first lines in ./node_modules/react-native-markdown/Markdown.js
and ./node_modules/react-native-markdown/rules.js
to:
import React, { Component } from 'react' import { View, Image, Text } from 'react-native'
https://github.com/CharlesMangwa/react-native-simple-markdown -- looks more active