I’m trying to add this plugin to my project:
"plugins": [
[
"expo-build-properties",
{
"android": {
"enableProguardInReleaseBuilds": true
}
}
]
]
I ran the command
npx expo install expo-build-properties
Now when I try to build the app using
eas build -p android --profile production
I am getting this error
Error: Cannot find module 'expo/config-plugins'
Require stack:
- C:\Users\-\node_modules\expo-build-properties\b
uild\android.js
- C:\Users\-\node_modules\expo-build-properties\b
uild\withBuildProperties.js
- C:\Users\-\node_modules\expo-build-properties\a
pp.plugin.js
- C:\Users\-\AppData\Roaming\npm\node_modules\eas-cli\node_modules\@expo\config-plugins\build\
utils\plugin-resolver.js
What can I do to resolve this?
Expo SKD: 43
expo-build-properties: 0.4.1