Hello,
I have been experiencing problems with building an app. I have narrowed it down to following flow code component "Request notification permissions" (z-mf88YkOLl_WfbKCCTflw). After I add this component to my project I got build error.
The project name is 438986.
Runtime version: 4.5.10; AB version: 1.7.3 COMMAND: ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/e43fumpfcr66r5m0t0gf38ho9312?response-content-disposition=attachment%3B%20filename%3D%22assets.zip%22%3B%20filename%2A%3DUTF-8%27%27assets.zip&response-content-type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJSXXQRL4UNGBAXQ%2F20220810%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220810T184331Z&X-Amz-Expires=172800&X-Amz-SignedHeaders=host&X-Amz-Signature=33548fe110d75a2912ff0541ce1b8837996ed443d455f20983daac2ea0b4a7c2 npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.5.10 -r --xcodebuildArchiveArgs "OTHER_CODE_SIGN_FLAGS=\"--keychain\ AppGyver-541617\"" FAILED with ERROR: FAILED with ERROR: [!] Failed to load 'RNFBMessaging' podspec: [!] Invalid
RNFBMessaging.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json. # from ./node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec:3 # ------------------------------------------- # package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) > appPackage = JSON.parse(File.read(File.join('..', 'app', 'package.json'))) # [!] Failed to load 'RNFBMessaging' podspec: [!] Invalid
RNFBMessaging.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json. # from ./node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec:3 # ------------------------------------------- # package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) > appPackage = JSON.parse(File.read(File.join('..', 'app', 'package.json'))) # Error: Command failed with exit code 1: pod install Analyzing dependencies Fetching podspec for
DoubleConversion
from
./node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
Fetching podspec for
RCT-Folly
from
./node_modules/react-native/third-party-podspecs/RCT-Folly.podspec
[!] Failed to load 'RNFBMessaging' podspec: [!] Invalid
RNFBMessaging.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json. # from ./node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec:3 # ------------------------------------------- # package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) > appPackage = JSON.parse(File.read(File.join('..', 'app', 'package.json'))) # at makeError (./node_modules/execa/lib/error.js:60:11) at handlePromise (./node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) - Executing: pod update ✖ FAILED: pod update ┌──────────────────────────────────────────────────────────────────────────────┐ FAILED with ERROR: [!] Failed to load 'RNFBMessaging' podspec: [!] Invalid
RNFBMessaging.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json. # from ./node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec:3 # ------------------------------------------- # package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) > appPackage = JSON.parse(File.read(File.join('..', 'app', 'package.json'))) # [!] Failed to load 'RNFBMessaging' podspec: [!] Invalid
RNFBMessaging.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json. # from ./node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec:3 # ------------------------------------------- # package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) > appPackage = JSON.parse(File.read(File.join('..', 'app', 'package.json'))) # Error: Command failed with exit code 1: pod install Analyzing dependencies Fetching podspec for
DoubleConversion
from
./node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
Fetching podspec for
RCT-Folly
from
./node_modules/react-native/third-party-podspecs/RCT-Folly.podspec
[!] Failed to load 'RNFBMessaging' podspec: [!] Invalid
RNFBMessaging.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json. # from ./node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec:3 # ------------------------------------------- # package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) > appPackage = JSON.parse(File.read(File.join('..', 'app', 'package.json'))) # at makeError (./node_modules/execa/lib/error.js:60:11) at handlePromise (./node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) │ [ error ] [configure] COMMAND: pod update FAILED with ERROR: [!] Failed to load 'RNFBMessaging' podspec: [!] Invalid
RNFBMessaging.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json. # from /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/541617-ios-237338/node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec:3 # ------------------------------------------- # package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) > appPackage = JSON.parse(File.read(File.join('..', 'app', 'package.json'))) # [!] Failed to load 'RNFBMessaging' podspec: [!] Invalid
RNFBMessaging.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json. # from /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/541617-ios-237338/node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec:3 # ------------------------------------------- # package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) > appPackage = JSON.parse(File.read(File.join('..', 'app', 'package.json'))) # Error: Command failed with exit code 1: pod update Update all pods Updating local specs repositories CocoaPods 1.11.3 is available. To update use:
sudo gem install cocoapods
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.11.3 [!] Failed to load 'RNFBMessaging' podspec: [!] Invalid
RNFBMessaging.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json. # from /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/541617-ios-237338/node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec:3 # ------------------------------------------- # package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) > appPackage = JSON.parse(File.read(File.join('..', 'app', 'package.json'))) # at makeError (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/541617-ios-237338/node_modules/execa/lib/error.js:60:11) at handlePromise (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/541617-ios-237338/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) │ │ │ Project location: │ │