javascript - react native reports an error when using third-party open source plug-ins and cannot parse the module
怪我咯
怪我咯 2017-07-05 11:08:54
0
1
1152

When using the react-native-swiper plug-in, follow its usage instructions:
https://github.com/leecade/re...

Run: react-native run-android, error: "message":"Unable to resolve module react-native-swiper

I have also tried other plug-ins that also reported errors and could not be parsed. During installation: Use cnpm to install, and the distributionUrl in the gradle-wrapper.properties file in gradle uses the local path. I don’t know where the problem is. Can you please solve it?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
黄舟

As far as I know, cnpm will have problems when installing rn's dependencies. I don't know if it has been solved now. Try npm or yarn

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template