Error with node js

0

I have an error with NodeJS and I can not understand why, much less how to solve it. This is the error I hope you can help me:

  

Your environment has been set up for using Node.js 10.0.0 (x64) and npm.

These are the commands that I execute:

C:\Users\yeison.castiblanco>node -v v10.0.0

C:\Users\yeison.castiblanco>node hello.js
internal/modules/cjs/loader.js:573
    throw err;
    ^

Error: Cannot find module 'C:\Users\yeison.castiblanco\hello.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
    at Function.Module._load (internal/modules/cjs/loader.js:497:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)
    at startup (internal/bootstrap/node.js:228:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:575:3)
    
asked by Yeison E Castiblanco S 08.05.2018 в 00:49
source

0 answers