報(bào)錯(cuò)信息 Exit code 128
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/frozeman/WebSocket-Node.git
Directory: D:\YuanYinFu\microscope-v2
Output:
fatal: read error: Invalid argument
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
這個(gè)問(wèn)題的原因在于使用協(xié)議為git://
解決辦法:
第一步:輸入下面這行
git config --global url."https://".insteadOf git://
第二步:重新install依賴文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-515512.html
解決了的話給個(gè)贊吧文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-515512.html
到了這里,關(guān)于【npm yarn安裝依賴報(bào)錯(cuò)】Exit code 128的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!