vue-element-amdin框架npm ERR! Error while executing:解决办法

最近用vue-element-amdin搭建一套后端管理系统,jenkins打包时候总报一个错误,如下npm ERR! Error while executing:

npm ERR! D:\webWorkerEnvironment\Git\mingw64\bin\git.EXE ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git
npm ERR! npm ERR! ssh: Could not resolve hostname github.com: Temporary failure in name resolution
npm ERR! fatal: Could not read from remote repository.
npm ERR! npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! npm ERR! exited with error code: 128

查了好多解决方案,最终查到根本问题是因为一个包导致。
发现是由于tui-editor插件里面引用的很多类似eve啊squire啊什么的辅助插件都是用的git链接,整个依赖包只有这个tui-editor是这样子引入的,感觉非常出格。
公司内网环境下配置了npm的源可以使用npm安装除了这个插件以外的东西。

这东西基本也不用,所以直接全局查找直接删掉相关及依赖。重新上传打包问题解决。