Doh! While watching the video I realized what the issue more than likely is. Alfred doesn't import your profile and so therefore probably isn't finding and actually running the node executable. Try providing the full path to the node executable and let me know the outcome of that. I don't use node at all so I'm not aware of where it's installed by default, but, is the node app is installed in /usr/local/bin, then instead of the command being just
node <path to file>
Specify the full path to it, such as:
/usr/local/bin/node <path to file>