I have been trying to run some node js files. I have checked the files and they seem to have no syntax errors whatsoever. However, upon running the file on the node js command line i get this error
node first.js
^^^^^
SyntaxError: Unexpected identifier
Lately, I have also been unable to run my apache web server from XAMPP. Could this be a port assignee error. Or is it something else. I have also, checked the directory of the file and it checks out
Some help would be greatly appreciate


node first.js?node first.json my node.js command linenode first.jsas a command from the system command line. Once you start Node, you're in the Node repl and it expects you to type JavaScript statements.>appears I then typenode first.js.