Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expo build error - ENOENT: no such file or directory, scandir '\src\screens\node_modules\native-base\Fonts'

I'm getting this error after upgrading the Expo SDK version to 33:

ENOENT: no such file or directory, scandir '.\node_modules\native-base\Fonts'
Failed building JavaScript bundle.
like image 872
Sanjaya Dassanayake Avatar asked Sep 16 '25 09:09

Sanjaya Dassanayake


1 Answers

Updating the Expo may have caused a conflict with the updated @expo/vector-icons. If the native-base module is deleted and is not reinstalled or the problem is not resolved,

rm -rf node_modules && yarn install && expo start
like image 145
hong developer Avatar answered Sep 18 '25 08:09

hong developer