Skip to main content
Skip to main content

General Errors

Resolve "Cannot find module X" Errors

This error can occur while installing any of Medusa's projects (for example, Next.js Starter Template). There is no specific cause to this error.

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

rm -rf node_modules
yarn install
Was this section helpful?