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

module not found #21

Open
hodlnhope opened this issue Mar 23, 2024 · 2 comments
Open

module not found #21

hodlnhope opened this issue Mar 23, 2024 · 2 comments

Comments

@hodlnhope
Copy link

while executing the code I get this:

ode:internal/modules/cjs/loader:1147
throw err;
^

Error: Cannot find module '/Users/aj/usappointment.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._load (node:internal/modules/cjs/loader:985: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: []
}

@prempaulj
Copy link

I too get this error. May I please know how to resolve this issue:

node:internal/modules/cjs/loader:1146
throw err;
^

Error: Cannot find module 'puppeteer'
Require stack:

  • C:\us-visa-appointment-main\us-visa-appointment-main\usappointment.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object. (C:\us-visa-appointment-main\us-visa-appointment-main\usappointment.js:1:19)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\us-visa-appointment-main\us-visa-appointment-main\usappointment.js'
    ]
    }

Node.js v20.12.0

@DevChaudhary78
Copy link

@prempaulj please install puppeteer using npm install puppeteer --save

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

3 participants