Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

undefined is not an object (evaluating 'CameraManager.Aspect')

Related error screen

I've been getting this error when setting and linking my react-camera with my project on React-Native. I tried all the solutions found in google but still not working, I also tried this video https://www.youtube.com/watch?v=pJseuSOC8HA and not working either. Can someone please try to help me?

this is my package.json:

"dependencies": {
    "prop-types": "^15.5.8",
    "react": "16.0.0-alpha.6",
    "react-native": "0.44.0",
    "react-native-camera": "git+https://github.com/lwansbrough/react-native-camera.git",
    "react-navigation": "^1.0.0-beta.7",
    "react-redux": "^5.0.4",
    "redux": "^3.6.0",
    "redux-promise-middleware": "^4.2.0",
    "redux-thunk": "^2.2.0"
  },
like image 353
paolacl Avatar asked May 03 '17 01:05

paolacl


3 Answers

Linked manually the libraries then try again.. We have the same issue and same version I already fixed it.

like image 190
Jayson Mandani Avatar answered Nov 07 '22 19:11

Jayson Mandani


use this command.

react-native link
like image 35
Mustafa YALNIZ Avatar answered Nov 07 '22 21:11

Mustafa YALNIZ


  • If you have cocoa pods
  • and you are trying to link package using react-native link

Than be sure that you run pod install after react-native link

like image 1
Chotala Paresh Avatar answered Nov 07 '22 20:11

Chotala Paresh