React-native, “Native module cannot be null”

前端 未结 12 1130
星月不相逢
星月不相逢 2020-12-09 14:42

I just upgrade React-native from 0.28 to 0.30, and get this error:

\"Native module cannot be null\".

The problem seem to be with the line/package:

12条回答
  •  遥遥无期
    2020-12-09 14:58

    Sometimes it can be an issue of when you install different libraries through npm. All need to do is: go to the project's ios folder, and run pod install. This will help to avoid this error, this is one of the reasons also.

提交回复
热议问题