0
我不斷收到錯誤Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE?
。我一路走完我的環境進行全新安裝(按照下圖),但仍然出現錯誤。React-native:類RCTCxxModule未導出。你忘了使用RCT_EXPORT_MODULE嗎?
$ react-native init test
$ cd coms
$ react-native run-ios
生成上面的錯誤。作爲參考:
$ react-native -v
react-native-cli: 2.0.1
react-native: 0.48.4