Node Repl Throws Syntaxerror: Unexpected Identifier
I am very newbie to node.js. In the node REPL everything was working fine. But something changed. When I try to execute a file it shows this... D:\Projects-2015\uniqueva>node /&
Solution 1:
You can't call the node executable from within the node REPL... Only JavaScript statements/expressions.
Try require('./module.js')
Post a Comment for "Node Repl Throws Syntaxerror: Unexpected Identifier"