Skip to main content

Resolve "Cannot find module X" Errors

This error can occur while installing one of the storefronts or the Medusa admin. There is no specific cause to this error.

One way to resolve it is by removing the node_modulesCopy to Clipboard directory in the project and re-installing the dependencies:

rm -rf node_modules
yarn install
Report Incorrect CodeReport Incorrect CodeCopy to ClipboardCopy to Clipboard