Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

abhisheknayak_1111's avatar

How to Identify Dependencies in node_modules Not Listed in package.json?

Hi everyone,

I've noticed that there are some executables in my node_modules directory, such as node_modules\ngrok\bin\ngrok.exe, node_modules\node-notifier\vendor\snoreToast\snoretoast-x86.exe, and node_modules\node-notifier\vendor\notifu\notifu64.exe. However, these are not directly listed in my package.json file.

I suspect these might be installed as dependencies of other packages. Can anyone help me understand how to identify which dependencies are responsible for installing these files? Are there any tools or methods to trace this back to the original dependencies?

Thanks in advance for your help!

0 likes
2 replies

Please or to participate in this conversation.