How to resolve the isssue for Error: spawn npm ENOENT


2023-06-29T10:22:46.695Z Install : ttb-node-red-counter 0.1.0

2023-06-29T10:22:47.711Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict ttb-node-red-counter@0.1.0
2023-06-29T10:22:47.768Z [err] Error: spawn npm ENOENT
2023-06-29T10:22:47.775Z rc=-2

ENOENT means a file/directory is missing.

How are you running Node-RED? How is it installed?

Can you run that npm install command from the log manually in your Node-RED user directory?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.