我使用"react-native-vector-icons": "^4.5.0"
并将其导入为import EvilIcons from 'react-native-vector-icons/EvilIcons'
。但是如下所示,捆绑失败并出现错误。
error: bundling failed: Error: While resolving module `react-native-vector-icons/EvilIcons`, the Haste package `react-native-vector-icons` was found. However the module `EvilIcons` could not be found within the package. Indeed, none of these files exist:
.....crm/node_modules/react-native/local-cli/core/__fixtures__/files/EvilIcons(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json)`
你有解决这类问题的经验,请帮助我。谢谢