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

server.js not found #14

Open
SebCanet opened this issue Nov 27, 2021 · 0 comments
Open

server.js not found #14

SebCanet opened this issue Nov 27, 2021 · 0 comments

Comments

@SebCanet
Copy link
Contributor

Hi,
when trying script "start_prod" I have this error:
$ npm run start_prod

[email protected] start_prod
cross-env node server.js

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

Error: Cannot find module 'B:\Projets\nodejs_tests\mgmt-tool-js\server.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:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v17.1.0

Any idea?

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