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


react-native link
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 40
- Comments: 17 (7 by maintainers)
你好, 我在执行过
react-native upgradenpm installreact-native link之后,在模拟器上运行app时, 我得到了这样一个错误,Bundlingindex.android.js100.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