I’m trying to run this step in the Day 13 challenge, in Node.js:
$ npm install -g newman
But, this is the message that I get in Node.js:
Uncaught SyntaxError: Unexpected identifier ‘npm’
Is there something I am missing, such as npm?
I’m trying to run this step in the Day 13 challenge, in Node.js:
$ npm install -g newman
But, this is the message that I get in Node.js:
Uncaught SyntaxError: Unexpected identifier ‘npm’
Is there something I am missing, such as npm?
Hi @bemo2023
When you say “in Node.js” what exactly do you mean?
Do you mean red arrow or green arrow?
This command should be run in the command prompt.
For ref; screenshot taken from here: javascript - node js returning Syntax error: Unexpected identifier - Stack Overflow
ah yes, that was my problem. I was using Node.js, not Node.js command prompt
thank you!