Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6290

React Native 0.71 importing files causes syntax error

$
0
0

I started fresh React Native project. When I add a new folder to project like components folder, if I import file in that folder I got syntax error and saying that none of these file exist. I have to restart metro and it is all good unless I do not add new folder. Whenever I add a new folder, I have to restart the metro. I have never faced an issue like this before and this is happening only 0.71.

The only thing comes to my mind that I upgraded NodeJS version before 0.71 out, restored previous NodeJS, still no luck.


Viewing all articles
Browse latest Browse all 6290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>