微慑信息网

源码转换工具 SourceDetector的安装编译与效果测试

群里有人发了个SourceDetector,然后github看了下,想测试下对Vue源码还原的情况

下载地址:https://github.com/SunHuawei/SourceDetector/ 2018年的项目,有点老

安装:

(1)按照说明进行安装

git clone https://github.com/SunHuawei/SourceDetector.git
npm install
bower install
gulp
打开Chrome设置-扩展程序
点击"加载已解压的扩展程序..."
选择path/to/source-detector/dist目录

(2)另外需要:

npm install -g bower

npm install -g gulp

(3)出现的问题解决:

A.需要使用node 11版本,node 12经测试不行,会报错

B.  执行bower install 会报错:

 

bower ECMDERR       Failed to execute "git ls-remote --tags --heads https://gith
ub.com/lodash/lodash.git", exit code of #128 fatal: unable to access 'https://gi
thub.com/lodash/lodash.git/': OpenSSL SSL_connect: Connection was reset in conne
ction to github.com:443

解决:

git config --global url."https://".insteadOf git://

参考:

https://blog.csdn.net/weixin_44722978/article/details/96852096

https://blog.csdn.net/u012551524/article/details/114939136

C.显示错误:

fatal: unable to access '××': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

参考:https://blog.csdn.net/qq_44209563/article/details/104294486

在执行(下面代码自行替换“”):

git config http.sslVerify “false”

git config --global http.sslVerify “false”

会报错:

fatal: not in a git directory

 

此时需要先

git init

再次执行则正常:

 

https://blog.csdn.net/weixin_44722978/article/details/96852096

 

 

赞(0) 打赏
转载请附本站链接,未经允许不得转载,,谢谢:微慑信息网-VulSee.com » 源码转换工具 SourceDetector的安装编译与效果测试

评论 抢沙发

微慑信息网 专注工匠精神

微慑信息网-VulSee.com-关注前沿安全态势,聚合网络安全漏洞信息,分享安全文档案例

访问我们联系我们

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏

登录

找回密码

注册