Closed Hdfoweutgut closed 1 year ago
So I just installed nodejs. I executed the install script. node:internal/modules/cjs/loader:1080 throw err; ^
Error: Cannot find module 'C:\Windows\System32\index.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
Node.js v18.18.2
I found out why. I executed the script as admin.
So I just installed nodejs. I executed the install script. node:internal/modules/cjs/loader:1080 throw err; ^
Error: Cannot find module 'C:\Windows\System32\index.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
Node.js v18.18.2