Can you show us the actual file you are using? And how are you trying to run it? In the editor terminal? At the command prompt? In a browser?
I’m trying to run it using the script package in the editor. I’m not sure if it’s the terminal.
I figured it out. I had to download node.js onto my mac and in Atom install the atom-runner package.