React native. Pod install encountered an error

want to use react-native-amap3d in a project

but in the process of installing dependencies. Pod install encountered problems:
error message is as follows

No such file or directory @ rb_sysopen-/ Volumes/ Software disk / shoukeApp/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
/ usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/open-uri.rb:37:in `initialize"
/ usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/open-uri.rb:37:in `open"
/ usr/local/Cellar/ruby/ 2.5.1/lib/ruby/2.5.0/open-uri.rb:37:in `open"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/external_sources/podspec_source.rb:19:in `block in fetch"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:85:in `titled_section "
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/external_sources/podspec_source.rb:11:in `fetch"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:697:in `fetch_external_source"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5 .3 / lib/cocoapods/installer/analyzer.rb:673:in `block (2 levels) in fetch_external_sources"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:672:in `each"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:672:in `block in fetch_external_sources"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:671:in `fetch_external_sources"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/ Cocoapods/installer/analyzer.rb:85:in `analyze"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:243:in `analyze"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods -1.5.3/lib/cocoapods/user_interface.rb:64:in `section"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:153:in `resolve_dependencies"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:116:in `installment"
/ usr/local/lib/ruby/gems/2 .5.0/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run"
/ usr/local/lib/ruby/gems/2.5.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run"
/ usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run"
/ usr/local/lib/ Ruby/gems/2.5.0/gems/cocoapods-1.5.3/bin/pod:55:in `< top (required) >"
/ usr/local/bin/pod:23:in `load"
/ usr/local/bin/pod:23:in` < main >"

has been perplexed by this question for a day, and all kinds of Baidu have not found the answer.

Jun.23,2021

No such file or directory means there is something wrong with the React path in your Podfile. Just check it.

pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge', -sharp RN >= 0.47
    'DevSupport', -sharp RN >= 0.43
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket', -sharp 
    'RCTAnimation', -sharp FlatList
    -sharp RN
  ]
  -sharp RN >= 0.42.0
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  -sharp RN >= 0.45
  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
Menu