Closed erisvaldojunior closed 2 years ago
Hi @erisvaldojunior,
Indeed we don't honor FLIPPER_DISABLE
and we don't really check if Flipper is installed or not
Could you try out this branch #62 ?
You can install it with yarn add 'https://gitpkg.now.sh/bamlab/react-native-flipper-performance-monitor/flipper-native?fix/ios-flipper-disable'
Sure @Almouro .
After running eas build -p ios --profile production --non-interactive for this branch I got this:
Error: Cannot find module './plugin/build'
Require stack:
- /Users/erisvaldojunior/Developer/mobile-app/node_modules/react-native-flipper-performance-plugin/app.plugin.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@expo/config-plugins/build/plugins/withPlugins.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@expo/config-plugins/build/index.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/build/project/ios/bundleIdentifier.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/build/credentials/ios/api/GraphqlClient.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/build/credentials/context.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/build/submit/context.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/build/build/runBuildAndSubmit.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/build/commands/build/index.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@oclif/core/lib/module-loader.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@oclif/core/lib/config/plugin.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@oclif/core/lib/config/config.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@oclif/core/lib/config/index.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@oclif/core/lib/command.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/node_modules/@oclif/core/lib/index.js
- /Users/erisvaldojunior/.config/yarn/global/node_modules/eas-cli/bin/run
Code: MODULE_NOT_FOUND
My bad, I've messed this up, of course installing directly from Github doesn't have the transpiled build folder 🤦♂️
yarn add react-native-flipper-performance-plugin-rc
should work, and hopefully fix your issue! (I published it from the branch)
@Almouro tested RC package and it is working fine. Thank you!
After installing react-native-flipper-performance-plugin as a devDependency, all my EAS iOS Productions builds are failing.
Command: eas build -p ios --proflie production
Log:
I do have FLIPPER_DISABLE on my eas.json:
Any thoughts?