maitrungduc1410 / react-native-video-trim

Video trimmer for React Native App
MIT License
37 stars 14 forks source link

Package is breaking Pod file #4

Closed itsfaraaz closed 3 months ago

itsfaraaz commented 8 months ago

I am attempting to install this package into my react native app (non-expo). After installing and attempting to install pods, I get this strange error:

fkv@fkvs-MBP react % npm install react-native-video-trim  

added 1 package, and audited 1786 packages in 2s

134 packages are looking for funding
  run `npm fund` for details

13 vulnerabilities (12 moderate, 1 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
fkv@fkvs-MBP react % npx pod-install ios
Scanning for pods...
1.11.3
> pod install

[!] Invalid `Podfile` file: unexpected token at 'info Run CLI with --verbose flag for more details.
'.

 #  from /Users/fkv/Documents/Recap/react/ios/Podfile:9
 #  -------------------------------------------
 #  target 'Recap' do
 >    config = use_native_modules!
 #    use_frameworks! :linkage => :static
 #  -------------------------------------------
Couldn't install Pods. Updating the Pods project and trying again...
> pod install --repo-update

[!] Invalid `Podfile` file: unexpected token at 'info Run CLI with --verbose flag for more details.
'.

 #  from /Users/fkv/Documents/Recap/react/ios/Podfile:9
 #  -------------------------------------------
 #  target 'Recap' do
 >    config = use_native_modules!
 #    use_frameworks! :linkage => :static
 #  -------------------------------------------
Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: Invalid `Podfile` file: unexpected token at 'info Run CLI with --verbose flag for more details.
'.

 #  from /Users/fkv/Documents/Recap/react/ios/Podfile:9
 #  -------------------------------------------
 #  target 'Recap' do
 >    config = use_native_modules!
 #    use_frameworks! :linkage => :static
 #  -------------------------------------------

However, once I remove this package, all works completely fine. Any idea what the issue can be here?

maitrungduc1410 commented 8 months ago

what is version of react native that you're using?

CccGm commented 5 months ago

what is version of react native that you're using?

maitrungduc1410 commented 5 months ago

what is version of react native that you're using?

  • Hey, @maitrungduc1410 why we can't use expo for video trim using this library?

because in expo it requires to expose APIs using different format, I'll work on this to support expo