MODULE_NOT_FOUND different reason

Viewed 29

I use electron app. From last week I can't open app by using "npm start"

** PS D:\All electron & front file\todo-electron-master\todo-electron-master> npm start

> todo-mock@0.1.0 start
> electron .

'front' is not recognized as an internal or external command,
operable program or batch file.
node:internal/modules/cjs/loader:959
 throw err;
 ^

Error: Cannot find module 'D:\electron\cli.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
at Function.Module._load (node:internal/modules/cjs/loader:804: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: []
}    

NOTE: I reinstall Node, node-modules.

0 Answers
Related