search

Home  >  Q&A  >  body text

Submit the code with git, check the status and it will show that there are new files. After entering git add ., why are there so many npm running instructions?


Git submits the code. After checking the status, it shows that there are new files. After entering git add ., why do so many npm running instructions appear? Before the first one is submitted, and after the second one is submitted, because npm is newly installed on the computer, is there any accidental conflict?

为情所困为情所困2839 days ago697

reply all(2)I'll reply

  • 滿天的星座

    滿天的星座2017-05-02 09:48:02

    It has been solved because the node_modules folder was mistakenly saved in the folder

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-02 09:48:02

    You can ignore npm_modules in .gitignore

    reply
    0
  • Cancelreply