遇到的问题
sourcetree pull github上的资源报错通过命令行git clone解决
npm i 本地环境报4058错误
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git
解决方式
1 npm cache clean --force
2 npm config set registry https://registry.npm.taobao.org
3 npm --registry https://registry.npm.taobao.org info underscore
再npm i 就可以了