Are you running the program from the root directory? Is the scripts folder located in the directory you're trying to run the command from? (e.g., if the root is .../Documents/Project, this is where you would run cmd from, and deploy.js should be in /Project/scripts)