Cannot read property 'setJSMaterials' of undefined
See original GitHub issueHi,
I keep getting this error in my ios app, not really sure how to resolve it:
Cannot read property 'setJSMaterials' of undefined
Function.createMaterials
ViroMaterials.js:71:20
<unknown>
HelloWorldSceneAR.js:68:14
loadModuleImplementation
require.js:214:4
guardedLoadModule
require.js:148:11
_require
require.js:132:2
<unknown>
App.js:33:21
loadModuleImplementation
require.js:214:4
guardedLoadModule
require.js:148:11
_require
require.js:132:2
<unknown>
index.js:2
Any help would be appreciated.
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
Cannot read property 'setTitle' of null, js engine: hermes
We have to restart with the command react-native run-android .It worked for me,there is no need to removing node modules or cache.
Read more >Can Not Read Properties of Undefined Reading Map in React ...
If you are looking at can not read properties of undefined reading map in react js error or map function is not displaying...
Read more >can not read properties of undefined | app showing blank page
Your browser can't play this video. ... can not read properties of undefined | reading render error in react | app showing blank...
Read more >Troubleshooting - React Navigation
I'm getting an error "TypeError: Cannot read property 'bind' of undefined" or "TypeError: propListener.apply is not a function".
Read more >Cannot read property of undefined? Weird : r/reactjs - Reddit
So, when calling an API, I'm getting an error that it can't read property "en" of undefined. Here is the code: function Coin()...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you still get some build errors after following the guide, make sure you open the xcworkspace instead of xcodeproj as viro react is using coca pods.
Hi @faisal3413,
Thanks!