PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Code Inspection: Missing module dependency

Last modified: 23 August 2023

Reports a module from a require() call or an import statement that is not installed or is not listed in package.json dependencies.

Suggests installing the module and including it into package.json.

For require() calls, works only in the files from the scope of Node.js Core JavaScript library.