I just installed nodejs in my laptop and I am not sure how to run js file in node. I tried the following command node C:\Program Files\nodejs\file.js, but it shows this error
module.js:474 throw err
Does anyone have an idea? I am completely new.
source
share