Error Node .. version

Asked

Viewed 75 times

1

C:\Users\Marcelo>node ..version
module.js:471
    throw err;
    ^

Error: Cannot find module 'C:\Users\Marcelo\..version'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:504:3

I don’t know how you solve, I’m starting my java course and I have very little familiarity with the steps, Thank you already!

  • 1

    You must use -- and not ... Forehead node --version or node -v.

1 answer

1


To know which version of Node.js you should use -- and not ... The short version is just -v.

Forehead node --version or node -v.

  • Thanks, simple but I wouldn’t know without help

  • Tip for life: it’s standard in programs that we run in the terminal, like the node in your case, access the help of the running program <programa> --help or `<program> -h>.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.