Make sure the ImageMagick directory is in your path. Add it to the PATH environment variable of your system or user.
Verify by opening the new window and doing the following:
cd C:\PATH\TO\NODE_PROJECT\
echo %PATH%
imdisplay.exe
, imagemagick.
, :
node app.js
, , imagemagick, , .
set PATH=C:\PATH\TO\IMAGEMAGICK
C:\PATH\TO\NODE\node.exe app.js