runtime

runtime — The environment your code actually runs in — the program or system doing the running.

Code can be correct and still fail because it's in the wrong runtime. Node.js is a JavaScript runtime. A browser is a different JavaScript runtime. "Runtime error" means the code broke while it was running, not before.

"Runtime error." "Which runtime are you using?"

Related
Node.jsbrowserJavaScriptserver