NativeBase: Update to 2.1.5 breaks my project.

When we upgrade to 2.1.5 and above from an older version of native-base, there are multiple build errors. This is happening because we have removed the unused fonts from the package #900.

If you’ve not many any changes to native code: Deleting the android/ios directories and running react-native upgrade fixes it.

Otherwise

Unlinking vector-icons and cleaning the build should fix it. Steps screen shot 2017-06-10 at 2 38 40 pm

screen shot 2017-06-10 at 2 38 27 pm

react-native link

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 40
  • Comments: 17 (7 by maintainers)

Most upvoted comments

你好, 我在执行过 react-native upgrade npm install react-native link 之后,在模拟器上运行app时, 我得到了这样一个错误, Bundling index.android.js 100.0% (989/989), done. Opening /xxxxxxx/node_modules/native-base/dist/src/index.js with code spawn code ENOENT 有什么解决思路吗?

I just removed the references from the project but now I have a different issue … seems like everytime I upgrade there is a problem in native-base :\

Closing this as the above solution works. Let us know if you still face this