I'm getting following Console Error.
Error : Cannot find module
Here is the full error i'm getting in console. What should I do?
internal/modules/cjs/loader.js:582
throw err;
^
Error: Cannot find module 'C:\Users\User\Desktop\NodeJsProject\app.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
node
is called on a file that does not exist.(!) -- Consider reading https://stackoverflow.com/questions/53545800#62740853.nvm run
instead ofnpm run
npm run serve:ssr
. Why dist folder is depend upon node_module ?