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

前端 未结 25 2089
有刺的猬
有刺的猬 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:13

    try following command

    remove node_modules and package-lock.json

    rm -rf node_modules package-lock.json
    

    then run following command to install dependencies

    npm install
    

    finally, run your package by following command.

    npm start
    

提交回复
热议问题