internal/modules/cjs/loader.js:582 throw err

前端 未结 25 1999
有刺的猬
有刺的猬 2020-11-27 04:24

I\'m getting following Console Error. Error : Cannot find module

Here is the full error i\'m getting in console. What should I do?



        
25条回答
  •  情深已故
    2020-11-27 05:05

    1. Delete the node_modules directory
    2. Delete the package-lock.json file
    3. Run npm install
    4. Run npm start

    OR

    rm -rf node_modules package-lock.json && npm install && npm start
    

提交回复
热议问题