Error:
error: Error: Unable to resolve module ../../../core/src/errors from /Users/matthieubouxin/devs/may/mobile/node_modules/@segment/analytics-react-native-plugin-firebase/src/FirebasePlugin.tsx:
Solved by the following patch package:
diff --git a/node_modules/@segment/analytics-react-native-plugin-firebase/src/FirebasePlugin.tsx b/node_modules/@segment/analytics-react-native-plugin-firebase/src/FirebasePlugin.tsx
index 522312b..11c0316 100644
--- a/node_modules/@segment/analytics-react-native-plugin-firebase/src/FirebasePlugin.tsx
+++ b/node_modules/@segment/analytics-react-native-plugin-firebase/src/FirebasePlugin.tsx
@@ -10,7 +10,7 @@ import screen from './methods/screen';
import track from './methods/track';
import reset from './methods/reset';
import firebaseAnalytics from '@react-native-firebase/analytics';
-import { ErrorType } from '../../../core/src/errors';
+import { ErrorType } from '@segment/analytics-react-native';
export class FirebasePlugin extends DestinationPlugin {
type = PluginType.destination;
Versions: "@segment/analytics-react-native": "2.13.5", "@segment/analytics-react-native-plugin-firebase": "^0.3.8",
Error: error: Error: Unable to resolve module ../../../core/src/errors from /Users/matthieubouxin/devs/may/mobile/node_modules/@segment/analytics-react-native-plugin-firebase/src/FirebasePlugin.tsx:
Solved by the following patch package:
This issue body was partially generated by patch-package.