shahen94 / react-native-video-processing

Native Video editing/trimming/compressing :movie_camera: library for React-Native
https://shahen94.github.io/react-native-video-processing/
MIT License
1.25k stars 325 forks source link

Cannot read property 'Constants' of undefined #145

Closed somonek closed 6 years ago

somonek commented 6 years ago

Current Behavior

I have a CRNA ejected app. I've followed the video for setting up the project, also including the instructions in #144 otherwise there are more issues.

screen shot 2017-12-08 at 19 48 55

and it compiles with these errors

screen shot 2017-12-08 at 19 49 58

then I replace all these imports as following

screen shot 2017-12-08 at 19 52 14

and the build succeeds.

My bridging header files is

#import <React/RCTRootView.h>
#import <React/RCTView.h>
#import "React/RCTBridgeModule.h"
#import "RNVideoProcessing.h"

and when I import { ProcessingManager } from 'react-native-video-processing'; I get this error

screen shot 2017-12-08 at 19 52 14

Expected Behavior

no error

Your Environment

software version
react-native-video-processing 1.13.0
react-native 0.50.3
node v8.9.0
xcode 9.2
swift version 3.2
amberv0 commented 6 years ago

Have you added the GPUImage.framework under Embedded Binaries ? Just to make sure :) Though it's unlikely to solve the issue anyway. Also, would you be able to test with a fresh project created with react-native init?

dioxide commented 6 years ago

i have same problem

WillyRamirez commented 6 years ago

Any update on this?

shahen94 commented 6 years ago

Duplicate https://github.com/shahen94/react-native-video-processing/issues/93

nitishkumar325 commented 4 years ago

i still face the issue cannot read property of constant undefined how to resolve it please help