I have been trying to load my script on the node.js REPL all day without success! It just keeps loading the first line over and over again until I k!ll the terminal.
Any idea what the problem might be?
I have been trying to load my script on the node.js REPL all day without success! It just keeps loading the first line over and over again until I k!ll the terminal.
Any idea what the problem might be?
Hey, welcome to the community! Can you share a screen shot?
Ok, seems like your using vscode so I’ll move this to code help.
Could you run the code again?
Okay.
Thank you so much
Sorry, I’ll be back in 3 hours.
Hey, does it work on the terminal?
Yes the code runs when I use the ‘node product.js’ command.
But when I go into the node REPL and use the ‘.load’ command, it gives me the error on the first screen.
It just keeps loading the first line of my code over and over again.