-1

So I am trying to learn something new so I tried to install node.js and I got this error but then I get the text I want or a command to run

Error: Cannot find module 'C:\Users\vkman\Files\nodejs\node.exe'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

The fact that my CMD cant do commands like pip, rm or anything is pain in the A$$.

I tried every code I could find, I watch like 10 videos and nothing :|

7xx
  • 1
  • 2
    What command do you attempt to run? It looks as if you are trying to run node with node. Can you show a screenshot of the terminal with command and error? – CherryDT Aug 12 '23 at 19:18
  • @JBallin I don't think this is useful because clearly trying to load a module called `node.exe` inside node can't be right. – CherryDT Aug 12 '23 at 19:19
  • I believe OP is trying to execute `node node.exe`? – JBallin Aug 12 '23 at 19:22
  • 1
    @CherryDT I just enter some basic commands like version, npm and all that stuff in CMD – 7xx Aug 13 '23 at 06:22
  • @7xx please show that as screenshot as I requested, thanks. – CherryDT Aug 14 '23 at 05:04

0 Answers0