Dependency

You might say

I just downloaded the project and it reports a missing module. Is the code broken?

External code packages a project declares it will use, usually installed from its manifest by a package managerAfter cloning a project, package.json declares its dependencies and a lockfile records resolved versions; the package manager prepares a local install directory from them. Repositories usually do not commit node_modules. If you see Cannot find module, first check whether dependencies were installed, then start the project as documented and inspect the actual error.
Know first
Dependency
Further reading