Inspectopedia
 
2024.3

Missing module dependency

Info
Sanity
New
Last modified: 03 December 2024

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/or including it into package.json.

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