Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'got' #4

Open
aic75582 opened this issue Nov 27, 2022 · 0 comments
Open

Error: Cannot find module 'got' #4

aic75582 opened this issue Nov 27, 2022 · 0 comments

Comments

@aic75582
Copy link

I'm completely unfamiliar with node.js/npm so I've likely made an obvious mistake but when I try to run register.js I get the following error:
C:\Program Files\TVTime Webhook>node ./register.js
node:internal/modules/cjs/loader:998
throw err;
^

Error: Cannot find module 'got'
Require stack:

  • C:\Program Files\TVTime Webhook\register.js
    ←[90m at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)←[39m
    ←[90m at Module._load (node:internal/modules/cjs/loader:841:27)←[39m
    ←[90m at Module.require (node:internal/modules/cjs/loader:1061:19)←[39m
    ←[90m at require (node:internal/modules/cjs/helpers:103:18)←[39m
    at Object. ←[90m(C:\Program Files\TVTime Webhook\←[39mregister.js:3:13←[90m)←[39m
    ←[90m at Module._compile (node:internal/modules/cjs/loader:1159:14)←[39m
    ←[90m at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)←[39m
    ←[90m at Module.load (node:internal/modules/cjs/loader:1037:32)←[39m
    ←[90m at Module._load (node:internal/modules/cjs/loader:878:12)←[39m
    ←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m {
    code: ←[32m'MODULE_NOT_FOUND'←[39m,
    requireStack: [ ←[32m'C:\Program Files\TVTime Webhook\register.js'←[39m ]
    }

Node.js v18.12.1

C:\Program Files\TVTime Webhook>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant