NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

Unable to resolve module `./fonts/Ionicons.ttf`

Open kirokuan opened this issue 9 years ago • 1 comments

I eject the project and try to build. My OS is windows 10

error: bundling failed: "Unable to resolve module ./fonts/Ionicons.ttf from D:\\git\\expo-ts-example\\node_modules\\@expo\\vector-icons\\Ionicons.js: could not resolve `D:\git\expo-ts-example\node_modules\@expo\vector-icons\fonts\Ionicons.ttf' as a folder: it did not contain a package, nor an index file"

I also check the issue #1069, but i didn't install "react-native-vector-icons"

I also tried both "2.2.1" and "@2.2.1"., it doesn't work.

here is my package.json "dependencies": { "@_expo/vector-icons": "^5.2.0", "@_types/fbemitter": "^2.0.32", "@_types/jest": "^20.0.2", "@_types/react": "^15.0.31", "@_types/react-native": "^0.44.12", "@_types/react-navigation": "^1.0.20", "@_types/react-test-renderer": "^15.5.1", "@_types/redux-promise": "^0.5.26", "config": "^1.26.2", "expo": "^18.0.9", "native-base": "^2.2.1", "react": "16.0.0-alpha.12", "react-native": "0.46.4", "react-native-router-flux": "^4.0.0-beta.21", "react-native-webrtc": "^1.58.2", "react-navigation": "^1.0.0-beta.11", "react-redux": "^5.0.6", "react-redux-typescript": "^2.3.0", "redux": "^3.7.2", "redux-api-middleware": "^2.0.0-beta.3", "redux-api-middleware-actions": "0.0.3", "redux-logger": "^3.0.6", "redux-observable": "^0.16.0", "tslib": "^1.7.1" }

I replaced @ with "@_", or it can't show here somehow.

kirokuan avatar Sep 30 '17 06:09 kirokuan

After i run react-native upgrade, and issue disppeared

kirokuan avatar Sep 30 '17 15:09 kirokuan