search

Home  >  Q&A  >  body text

javascript - react native reports an error when using third-party open source plug-ins and cannot parse the module

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?

怪我咯怪我咯2775 days ago1169

reply all(1)I'll reply

  • 黄舟

    黄舟2017-07-05 11:10:54

    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

    reply
    0
  • Cancelreply