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

cant start the server #18

Open
Lasselovli opened this issue Jan 30, 2023 · 1 comment
Open

cant start the server #18

Lasselovli opened this issue Jan 30, 2023 · 1 comment

Comments

@Lasselovli
Copy link

Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users*\Desktop\coding*\Dalle\server\routes\postRoutes.js' imported from C:\Users*\Desktop\coding***\Dalle\server\index.js
at new NodeError (node:internal/errors:400:5)
at finalizeResolution (node:internal/modules/esm/resolve:326:11)
at moduleResolve (node:internal/modules/esm/resolve:945:10)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:842:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36) {
code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v18.13.0
[nodemon] app crashed - waiting for file changes before starting...

@Lasselovli Lasselovli changed the title can start the server cant start the server Jan 30, 2023
@PedroLab0
Copy link

The error is indicating that Node.js cannot find the module 'C:\Users*\DesktopCoding*\Dalleyserver\routes\postRoutes.js' imported into 'C:\Users*\DesktopCoding***\Dalleyserver\index.js'. This may be due to an incorrect path or a missing file in the specified location. Verify that the path and file name are correct and that the file is present in the specified location.

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