error on nativebase 2.13.12 and expo 36.0.0 (REACT-NATIVE)
Unable to resolve "@expo/vector-icons/Fontisto" from "node_modules/native-base/dist/src/basic/IconNB.js"
EDIT Downgrading 2.13.8 is an alternative solution:
npm i --save-exact [email protected]
I have the same error, what solution is there?
node_modules/native-base/dist/src/basic/IconNB.js
Module not found: Can't resolve '@expo/vector-icons/Fontisto' in 'node_modules\native-base\dist\src\basic'
Same issue here
I did not find a solution for 2.13.12 but just downgraded version to 2.13.8 and its fine
npm i --save-exact [email protected] Expo should release a version with that version
npm i --save-exact [email protected]Expo should release a version with that version
I can't solve it with this
@juandav try rm -rf node_modules && npm i
@juandav try rm -rf node_modules && npm i
TypeError: _utils.ViewPropTypes is undefined on this version
@juandav try rm -rf node_modules && npm i
@onurcskun, it is not working on the web:
expo start --web
but, if you install [email protected], this works. require [email protected]
I am also facing this issues. Downgraded the nativebase version as adivised by @onurcskun , removed node_modules and ran watchmen watch-de-all but the issue is still persisting. I am using Expo SDK 36
I can confirm this too.
I did not find a solution for 2.13.12 but just downgraded version to 2.13.8 and its fine
It worked for me too, I downgraded it to 2.13.8. Thanks for the tip @Gregoirevda
https://github.com/expo/vector-icons/issues/112
https://github.com/expo/vector-icons/pull/126
Same here, using a tab example app generated by expo and latest version of React Native.
I managed to solve it with the following steps:
npm uninstall react-native --save- Delete
node_modulesfolder npm i [email protected] --savenpm i
Restart Android emulator, restart expo (npm start), and it works! Thanks @onurcskun!
npm i --save-exact [email protected]Expo should release a version with that version
It's work for me, thank
Actually i have solved this issue on my forked repo of expo vector icons
I did not find a solution for 2.13.12 but just downgraded version to 2.13.8 and its fine
it didn't work for me
npm i --save-exact [email protected]Expo should release a version with that versionWorked for me
what version of expo do you have?
I had to edit IconNB.js and block comment on the importation of the icons from this module.
NB: The error I was getting and note also it is a temporary fix:
bundling failed: Error: Unable to resolve module @expo/vector-icons/Fontisto from node_modules/native-base/dist/src/basic/IconNB.js (file to edit): @expo/vector-icons/Fontisto could not be found within the project.
Cons:
- You might have to edit this file at every
npm install. - You might not be able to use this module, IconNB.js
