itinance / itinance/react-native-fs
TypeError: Cannot read property 'RNFSFileTypeRegular' of null
Open
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I have followed the instructions in the " Usage (Android)" section , then I inserted in my App.js, in the App function, these two lines:
```
const App: () => Node = () => {
var RNFS = require('react-native-fs');
var path = RNFS.DocumentDirectoryPath + '/test.txt';
....
```
but when I run:
`npx react-native start`
I get
`TypeError: Cannot read property 'RNFSFileTypeRegular' of null, js engine: hermes`
I really don't know what to do, any lead ?
Thanks a lot
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.