我刚刚改变了我正在使用的mac。所以我从 Git 导入了我的项目(节点模块当然在 git.ignore 文件中)。该项目在旧 Mac 上运行良好,但在新 Mac 上运行时出现此错误。
_reactNative.TouchableNativeFeedback.SelectableBackground is not a function. (In '_reactNative.TouchableNativeFeedback.SelectableBackground()', '_reactNative.TouchableNativeFeedback.SelectableBackground' is undefined)]