# `Module not found: Can't resolve '…'`

**Where it appears:** Terminal or browser

**What it means:** The code imports a package or file that isn't there.

## Likely causes

- A new package was added but `npm install` hasn't run on this computer.
- A file was renamed or moved and an import still points to the old place.

## Message for your agent

```text
I get “Module not found”. Run npm install, and if it persists, find the import that points to a missing file and fix it.
```

**Prevention:** Install dependencies after every pull.

---
Source: [Agentic Makers](https://agenticmakers.app/en/help/errors/module-not-found-cant-resolve) · License: CC BY 4.0
