Npm i outputs error

When running npm i in the root of the project, the following error is shown:

[snip]

Creating: /Users/tessus/data/work/joplin/packages/app-mobile/lib/rnInjectedJs/CodeMirror.bundle.js
[19:25:20] Finished 'buildInjectedJs' after 8.25 s
[19:25:20] Starting 'encodeAssets'...
[19:25:20] Finished 'encodeAssets' after 172 ms
[19:25:20] Starting 'podInstall'...
Auto-linking React Native modules for target `Joplin`: RNCClipboard, RNCPushNotificationIOS, RNDateTimePicker, RNFS, RNFileViewer, RNQuickAction, RNSecureRandom, RNShare, RNVectorIcons, react-native-alarm-notification, react-native-camera, react-native-document-picker, react-native-geolocation, react-native-image-picker, react-native-image-resizer, react-native-netinfo, react-native-slider, react-native-sqlite-storage, react-native-version-info, react-native-webview, and rn-fetch-blob
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "FlipperKit/FlipperKitLayoutTextSearchable":
  In snapshot (Podfile.lock):
    FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0)

  In Podfile:
    FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0)

None of your spec sources contain a spec satisfying the dependencies: `FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0), FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
Could not run pod install Error: Command failed with exit code 31: pod install
[!] The version of CocoaPods used to generate the lockfile (1.10.1) is higher than the version of the current executable (1.8.4). Incompatibility issues may arise.
Auto-linking React Native modules for target `Joplin`: RNCClipboard, RNCPushNotificationIOS, RNDateTimePicker, RNFS, RNFileViewer, RNQuickAction, RNSecureRandom, RNShare, RNVectorIcons, react-native-alarm-notification, react-native-camera, react-native-document-picker, react-native-geolocation, react-native-image-picker, react-native-image-resizer, react-native-netinfo, react-native-slider, react-native-sqlite-storage, react-native-version-info, react-native-webview, and rn-fetch-blob
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "FlipperKit/FlipperKitLayoutTextSearchable":
  In snapshot (Podfile.lock):
    FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0)

  In Podfile:
    FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0)

None of your spec sources contain a spec satisfying the dependencies: `FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0), FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
    at makeError (/Users/tessus/data/work/joplin/packages/app-mobile/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/Users/tessus/data/work/joplin/packages/app-mobile/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async module.exports (/Users/tessus/data/work/joplin/packages/app-mobile/tools/podInstall.js:9:3) {
  shortMessage: 'Command failed with exit code 31: pod install',
  command: 'pod install',
  exitCode: 31,
  signal: undefined,
  signalDescription: undefined,
  stdout: 'Auto-linking React Native modules for target `Joplin`: RNCClipboard, RNCPushNotificationIOS, RNDateTimePicker, RNFS, RNFileViewer, RNQuickAction, RNSecureRandom, RNShare, RNVectorIcons, react-native-alarm-notification, react-native-camera, react-native-document-picker, react-native-geolocation, react-native-image-picker, react-native-image-resizer, react-native-netinfo, react-native-slider, react-native-sqlite-storage, react-native-version-info, react-native-webview, and rn-fetch-blob\n' +
    'Analyzing dependencies\n' +
    '[!] CocoaPods could not find compatible versions for pod "FlipperKit/FlipperKitLayoutTextSearchable":\n' +
    '  In snapshot (Podfile.lock):\n' +
    '    FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0)\n' +
    '\n' +
    '  In Podfile:\n' +
    '    FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0)\n' +
    '\n' +
    'None of your spec sources contain a spec satisfying the dependencies: `FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0), FlipperKit/FlipperKitLayoutTextSearchable (= 0.87.0)`.\n' +
    '\n' +
    'You have either:\n' +
    ' * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.\n' +
    ' * mistyped the name or version.\n' +
    ' * not added the source repo that hosts the Podspec to your Podfile.',
  stderr: '[!] The version of CocoaPods used to generate the lockfile (1.10.1) is higher than the version of the current executable (1.8.4). Incompatibility issues may arise.',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
[19:25:23] Finished 'podInstall' after 2.61 s
[19:25:23] Finished 'build' after 11 s
lerna info lifecycle @joplin/fork-htmlparser2@4.1.28~prepare: @joplin/fork-htmlparser2@4.1.28
lerna info lifecycle @joplin/turndown-plugin-gfm@1.0.32~prepare: @joplin/turndown-plugin-gfm@1.0.32
lerna info lifecycle @joplin/turndown@4.0.50~prepare: @joplin/turndown@4.0.50

[snip]