인터넷에서 연구 한 후에도 아직 내 문제를 해결하지 못했습니다. 나는 반응 네이티브-SVG를 사용하고 내가 같은 문제를 겪고 : 또한불변의 위반 : "RNSVGSvgView"의 기본 구성 요소가 존재하지 않습니다.
react-native unlink react-native-svg
npm uninstall react-native-svg
npm install react-native-svg
react-native link react-native-svg
react-native run-ios
을 : I 포함한 많은 것들을 시도 Invariant Violation: Native component for "RNSVGSvgView" does not exist
: No component found for view with the name "RNSVGPath"
또는이 하나를 :
pod 'RNSVG', :path => '../node_modules/react-native-svg'
rm -rf node_modules
npm install
react-native run-ios
아직 아무것도 ... 여기 있습니다 내가 사용하고있는 버전 :
"dependencies": {
"react": "16.1.1",
"react-native": "0.50.3",
"react-native-svg": "^6.0.1-rc.1"
}
내가 직접 아직도 아무것도 ... 당신의 도움들에 대한
감사 엑스 코드에서 구축하려고 노력! 다른에 그런
npm install react-native-svg --save //(again)
react-native link react-native-svg //(again)
watchman watch-del-all
rm -rf node_modules/ && yarn cache clean && yarn install
:
대단히 감사합니다! – Mephilia