node.Js trouble

Hi, I am a beginner, learning Javascript on node.Js. I was getting an error where my prompt function was undefined. Any idea how to fix it?


Hey, @AmanSrivastav33 welcome to the forums!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:


:wave: Welcome to the community, @AmanSrivastav33!
I’m sure we’d all love to help you resolve your Node.JS issue, but to do so, we need some more information such as a link to your repl or a screenshot.


Hi @AmanSrivastav33 !
This, unfortunately, is a problem that has left may scratching their heads.
We don’t know why this is happening, and there have been recent reports of this occuring.