nodejs / help

:sparkles: Need help with Node.js? File an Issue here. :rocket:
1.44k stars 276 forks source link

error running node #4370

Closed Annevictoria213 closed 3 weeks ago

Annevictoria213 commented 2 months ago

Details

Error: Cannot find module '/Users/annenakhla/Desktop/CS241/lab 5/client'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.12.1

Node.js version

v.20.12.1

Example code

No response

Operating system

macOS

Scope

every-time I run any code I get this error in the terminal

Module and version

Not applicable.

bqran07 commented 2 months ago

same

bqran07 commented 2 months ago

Let me know if you find a solution

AlexandrNesterovSe7en commented 2 months ago

yes, i same have error

RedYetiDev commented 2 months ago

Hi! Without more context, it's hard to understand what is going wrong. Could you provide a minimal reproducible example?

RedYetiDev commented 3 weeks ago

Author failed to provide sufficient information