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 'C:\Users\P70080737\dpo-cook\server\bin\index.js' #57

Open
sohinimallick16 opened this issue Mar 4, 2022 · 2 comments

Comments

@sohinimallick16
Copy link

Hello...so I have been doing all the initial steps, but run into this error every time I try to run the server with npm run server.

npm run server

[email protected] server
node server/bin/index.js

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

Error: Cannot find module 'C:\Users\P70080737\dpo-cook\server\bin\index.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

What could be the reason for this?

@gjcope
Copy link
Collaborator

gjcope commented Mar 4, 2022

Does the file C:\Users\P70080737\dpo-cook\server\bin\index.js exist?
If not, did you build the server? Do 'npm run build' before 'npm run server'.

@gjcope
Copy link
Collaborator

gjcope commented May 24, 2022

Hi @sohinimallick16 checking in to see if you were able to resolve this issue.

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

2 participants