Day 15 : i got this error "node:internal/modules/cjs/loader:936 throw err;"

  throw err;

Error: Cannot find module 'D:\script.js'
e[90m    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)e[39m
e[90m    at Function.Module._load (node:internal/modules/cjs/loader:778:27)e[39m
e[90m    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)e[39m
e[90m    at node:internal/main/run_main_module:17:47e[39m {
  code: e[32m'MODULE_NOT_FOUND'e[39m,
  requireStack: []

I got above error while trying to execute “node script.js”
I’ve trying to uninstall and install node using terminal and windows program but it’s not work
and to make sure my node running properly I run day 13 test and there is no problem
I don’t know what to do please help

1 Like

I also got this error.


Preformatted textnode:internal/modules/cjs/loader:936
throw err; `