
Matthew K. answered 08/13/23
Math and CS Tutor who works on problem solving and thinking critically
Hi Caleb A.,
Would you please share the code that is driving the error "TypeError: Cannot read property 'RNFSFileTypeRegular' of null, js engine: hermes"?
Also, I did some reading on the TypeError (https://stackoverflow.com/questions/6550795/uncaught-typeerror-cannot-read-property-value-of-undefined) and react-native-fs (https://github.com/itinance/react-native-fs#readme) mentioned in the original post. I think some things we want to be clear on are:
- What platform is being used (iOS, Android, Windows)?
- What version of react is being used?
- Is react-native-fs properly linked to your project (Automatically, Manually)?
- Is there a variable definition of RNFSFileTypeRegular?
- for example:
- var RNFS = require('react-native-fs');
Matt