How to solve npm error “npm ERR! code ELIFECYCLE”

后端 未结 30 2411
死守一世寂寞
死守一世寂寞 2020-11-22 02:33

I\'m trying to learn react, so I have this sample code for the full-stack react voting app, and I am trying to get it to work but after running npm install followed by npm s

30条回答
  •  情话喂你
    2020-11-22 02:38

    My solution:

    I was missing config.env properties because I was developing on a new machine, and of course I keep my config files out of my repo.

    If you are using a different machine than usual, make sure that you include any config files that are not present in the repo that gets cloned.

提交回复
热议问题