I have been programming for a long time using Khan Academy, but now I want to execute the code from my khanacademy program inside netbeans. I downloaded and installed node.js
and copied my code into a JavaScript file, but when I try to run it, I get this:
/bin/sh: line 1: node: command not found
I thought it might be because I don't have my code inside a frame, but I can't figure out how to add one.