Automator - Running Node Command in AppleScript Error

Solution 1:

The PATH variable for your AppleScript doesn't contain /usr/local/bin! You can check this with do shell script "env >> $HOME/Desktop/env.txt".

So either configure an additional path or use the full path to node:

do shell script "cd /Users/user/Desktop/Projects/node/cli && /usr/local/bin/node app.js DesktopUSA"