A
A
Alexey Yakovlev2020-05-17 12:40:02
JavaScript
Alexey Yakovlev, 2020-05-17 12:40:02

Error when starting the server, what should I do?

In the console I write - node server
Error:
throw err;
^

Error: Cannot find module 'C:\Users\Alexey\Desktop\Desktop\Mackets\E-commercetemplate\server'
[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:973:15)[ 39m
[90m at Function.Module._load (internal/modules/cjs/loader.js:855:27)[39m
[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)[ 39m
[90m at internal/main/run_main_module.js:17:47[39m {
code: [32m'MODULE_NOT_FOUND'[39m,
requireStack: []
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2020-05-17
@aleshaykovlev

For a change, you can start reading the errors Error: Cannot find module translates as Error: cannot find module . Most likely you screwed up with the paths

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question