Npm run eject error problem solving

creat-react-app npm run eject error problem

 

  After using creat-react-app initialization program, run npm run eject expose hidden profiles

  But the direct use of the words npm run eject command will error. . .

 

  such

  

  Or so

  

  Best not the solution Yeah, picking up a long time and finally we supposed to know

  

 

  create-react-app my-app 后

  In turn execute the following command

    git init

    git add .

    git commit -m "Saving before ejecting"

  

  

  

 

  And then perform npm run eject

 

  The error will not matter

  

 

  

 

Ah, this is after the success of sub-sub

 

 

Guess you like

Origin www.cnblogs.com/xlin021/p/11829121.html