0

I am trying run project from Node js Command Prompt Windows . When I write npm start and hit enter inside the cmd . I am getting following errors .My project is located into this path C:\Users\Khundokar Nirjor\Desktop\loopback4-example-shopping-master Inside this project I have installed node_module file.

internal/modules/cjs/loader.js:628
    throw err;
    ^
Error: Cannot find module 'C:\node_modules\npm\bin\npm-cli.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
    at Function.Module._load (internal/modules/cjs/loader.js:527:27)
    at Function.Module.runMain (internal/modules/cjs/loader.js:839:10)
    at internal/main/run_main_module.js:17:11 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

I installed the node js into this directory C:\Program Files\nodejs\node_modules .

Mohammad
  • 1,019
  • 8
  • 24

0 Answers0