Open yash2code opened 2 days ago
Hi @yash2code
The error you’re seeing, PluginError: Failed to resolve plugin for module @bugsnag/plugin-expo-eas-sourcemaps
, indicates that the Expo Doctor tool is unable to locate the @bugsnag/plugin-expo-eas-sourcemaps plugin.
Please try installing the plugin using npm install @bugsnag/plugin-expo-eas-sourcemaps
Clean your node folder and then running npm install.
If after installing the plugin using npm the issue still persists then please let us know and we can investigate further.
Describe the bug
npx expo-doctor command suddenly started giving PluginError: Failed to resolve plugin for module "@bugsnag/plugin-expo-eas-sourcemaps" relative to "/Users/expo/workingdir/build"
Steps to reproduce
run
npx expo-doctor
Environment
Error messages:
``` Running "expo doctor" /Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:89549 throw new (_errors().PluginError)(Failed to resolve plugin for module "${pluginReference}" relative to "${projectRoot}", 'PLUGIN_NOT_FOUND'); ^ PluginError: Failed to resolve plugin for module "@bugsnag/plugin-expo-eas-sourcemaps" relative to "/Users/expo/workingdir/build" at resolvePluginForModule (/Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:89549:9) at resolveConfigPluginFunctionWithInfo (/Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:89598:7) at resolveConfigPluginFunction (/Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:89589:7) at withStaticPlugin (/Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:88669:70) at /Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:88510:84 at Array.reduce () at withPlugins (/Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:88510:18) at withConfigPlugins (/Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:91158:47) at fillAndReturnConfig (/Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:90080:78) at getConfig (/Users/expo/.npm/_npx/c15e4b19a90d9797/node_modules/expo-doctor/build/index.js:90137:10) { isPluginError: true, code: 'PLUGIN_NOT_FOUND', cause: undefined } Node.js v18.18.0 ```