Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Error Messages
Node.js
Runtimes & package managers
Node.js Error Messages
JavaScript runtime built on V8.
All Node.js pages
Error: Cannot find module '…' in Node.js
Node.js throws Cannot find module when require() or import cannot resolve a path or package. Install the package, fix the relative path or add the extension.
Esc