gpt4 book ai didi

azure - 将文件上传到 Azure 时出错

转载 作者:行者123 更新时间:2023-12-03 03:11:16 25 4
gpt4 key购买 nike

当我尝试使用将文件上传到 Azure 时

azure storage file upload foo.txt testshare testdir

我明白了

Error: If encoding is specified then the first argument must be a string
at new Buffer (buffer.js:106:13)
at Object.StorageUtil.getSpeedPrinter (/usr/local/Cellar/azure-cli/0.10.0/libexec/lib/node_modules/azure-cli/lib/util/storage.util._js:594:21)
at __$uploadFile (/usr/local/Cellar/azure-cli/0.10.0/libexec/lib/node_modules/azure-cli/lib/commands/storage/storage.file._js:1040:45)
at __$uploadFile (/usr/local/Cellar/azure-cli/0.10.0/libexec/lib/node_modules/azure-cli/lib/commands/storage/storage.file._js:1031:25)
at __$uploadFile (/usr/local/Cellar/azure-cli/0.10.0/libexec/lib/node_modules/azure-cli/lib/commands/storage/storage.file._js:1034:23)
at __tryCatch (/usr/local/Cellar/azure-cli/0.10.0/libexec/lib/node_modules/azure-cli/node_modules/streamline/lib/callbacks/runtime.js:150:4)
at ___ (/usr/local/Cellar/azure-cli/0.10.0/libexec/lib/node_modules/azure-cli/lib/commands/storage/storage.file._js:1010:19)
at ___ (/usr/local/Cellar/azure-cli/0.10.0/libexec/lib/node_modules/azure-cli/lib/commands/storage/storage.file._js:1002:27)
at __tryCatch (/usr/local/Cellar/azure-cli/0.10.0/libexec/lib/node_modules/azure-cli/node_modules/streamline/lib/callbacks/runtime.js:150:4)
at ___ (/usr/local/Cellar/azure-cli/0.10.0/libexec/lib/node_modules/azure-cli/lib/commands/storage/storage.file._js:1000:23)

最佳答案

因为该错误是 reported and should be in the repo by 05/04 ,您可以尝试为 4.3.3 重新安装它,或者如果仍然看到错误,请尝试按照上面链接中的说明转到 devbranch。

关于azure - 将文件上传到 Azure 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37227343/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com