求助啊,,命令 yarn install --no-bin-links 出错:error An unexpected error occurred: "Invalid protocol: null".??
PS D:\laragon\www\larabbs> yarn install --no-bin-links
yarn install v1.9.4
info There appears to be trouble with your network connection. Retrying...
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "Invalid protocol: null".
info If you think this is a bug, please open a bug report with the information provided in "D:\laragon\www\larabbs\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
events.js:183
throw er; // Unhandled 'error' event
^
Error: Invalid protocol: null
at Request.module.exports.Request.init (D:\Yarn\lib\cli.js:137737:31)
at new Request (D:\Yarn\lib\cli.js:137410:8)
at request (D:\Yarn\lib\cli.js:126685:10)
at RequestManager.execute (D:\Yarn\lib\cli.js:64254:15)
at RequestManager.shiftQueue (D:\Yarn\lib\cli.js:64281:10)
at D:\Yarn\lib\cli.js:64157:16
at reject (D:\Yarn\lib\cli.js:64166:7)
at onError (D:\Yarn\lib\cli.js:64184:9)
at Request.params.callback [as _callback] (D:\Yarn\lib\cli.js:64193:11)
at self.callback (D:\Yarn\lib\cli.js:137468:22)
推荐文章: