Brandon Presley
b7f1c2192e
ERROR TypeError: Cannot read property 'getItem' of undefined This error is located at: in FlatList (created by SetList) in RCTView (created by View) in View (created by Page) in Page (created by SetList) in SetList (created by SceneView) ... I found an open issue on the react-native github which seems related https://github.com/facebook/react-native/issues/31523 but after following all of their suggestions I still have the same error. I tried: - Removing @babel/plugin-proposal-class-properties & @babel/plugin-transform-flow-strip-types - Adding @babel/plugin-transform-flow-strip-types
28 lines
644 B
JSON
28 lines
644 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"lib": ["es2019"],
|
|
"jsx": "react-native",
|
|
"module": "CommonJS",
|
|
"moduleResolution": "node",
|
|
"types": ["react-native", "jest"],
|
|
"resolveJsonModule": true,
|
|
"allowJs": true,
|
|
"noEmit": true,
|
|
"isolatedModules": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": false,
|
|
"skipLibCheck": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"babel.config.js",
|
|
"metro.config.js",
|
|
"jest.config.js"
|
|
]
|
|
}
|