You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to resolve module @unimodules/core from /path-to-app/node_modules/@bugsnag/expo/node_modules/expo-constants/build/Constants.js
Constants.js tries to import from @ unimodules/core, which is deprecated from expo SDK 43 (e.g. described here, everything was moved to expo-modules-core) https://blog.expo.dev/whats-new-in- expo-modules-infrastructure-7a7cdda81ebc
The lib seems to use an older version of expo-constants, because in e expo-constants version "~ 12.1.1" it already gets imported from expo-modules-core. what options do I have here?
Unable to resolve module @unimodules/core from /Users/leonie/Repos/aivy-multi-app/node_modules/@bugsnag/expo/node_modules/expo-constants/build/Constants.js: @unimodules/core could not be found within the project or in these directories:
node_modules/@bugsnag/expo/node_modules/expo-constants/node_modules
node_modules/@bugsnag/expo/node_modules
node_modules
If you are sure the module exists, try these steps:
Clear watchman watches: watchman watch-del-all
Delete node_modules and run yarn install
Reset Metro's cache: yarn start --reset-cache
Remove the cache: rm -rf /tmp/metro-*
1 | import { CodedError, NativeModulesProxy } from '@unimodules/core';
| ^
2 | import { Platform, NativeModules } from 'react-native';
3 | import { AppOwnership, ExecutionEnvironment, UserInterfaceIdiom, } from './Constants.types';
4 | import ExponentConstants from './ExponentConstants';
The text was updated successfully, but these errors were encountered:
Describe the bug
Unable to resolve module @unimodules/core from /path-to-app/node_modules/@bugsnag/expo/node_modules/expo-constants/build/Constants.js
Constants.js tries to import from @ unimodules/core, which is deprecated from expo SDK 43 (e.g. described here, everything was moved to expo-modules-core) https://blog.expo.dev/whats-new-in- expo-modules-infrastructure-7a7cdda81ebc
The lib seems to use an older version of expo-constants, because in e expo-constants version "~ 12.1.1" it already gets imported from expo-modules-core. what options do I have here?
Steps to reproduce
Environment
Error messages:- Clear watchman watches: watchman watch-del-all
- Delete node_modules and run yarn install
- Reset Metro's cache: yarn start --reset-cache
- Remove the cache: rm -rf /tmp/metro-*
Unable to resolve module @unimodules/core from /Users/leonie/Repos/aivy-multi-app/node_modules/@bugsnag/expo/node_modules/expo-constants/build/Constants.js: @unimodules/core could not be found within the project or in these directories:
node_modules/@bugsnag/expo/node_modules/expo-constants/node_modules
node_modules/@bugsnag/expo/node_modules
node_modules
If you are sure the module exists, try these steps:
The text was updated successfully, but these errors were encountered: