Closed lukeTheWizard closed 1 year ago
👋 @lukeTheWizard Thanks for opening your issue here! If you find this package useful hit the star🌟!
@lukeTheWizard can you add this line into build.gradle
> allprojects
> repositories
and test again.
maven { url 'https://jitpack.io' }
@nomi9995 that fixes the compilation issues. However Im now getting a runtime error:
error: bundling failed: SyntaxError: /REDACTED/node_modules/react-native-compressor/src/Audio/index.tsx: Unexpected token, expected ")" (62:18)
60 | }); 61 | }
62 | } catch (error: any) { | ^ 63 | throw error.message; 64 | } 65 | },
@lukeTheWizard are you trying to compress audio?
No just a regular image. The error pops up from just importing. Could this be a node version or something? My project isn't typescript either
@lukeTheWizard which version of node, you are using?
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
I cant build the app after npm install react-native-compressor@rnlessthan65. I have done a gradelw clean, removed node_modules and reinstalled.
Current behavior
When running app with npx react-native run-android I get a build error of: Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
React Native Version
0.60.4
React Native Compressor Version
Reproducible Steps And Demo