1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Azure Functions Core Tools を切り替える

Posted at

急いでいる人へ

以下で切り替えられます
https://github.com/anthonychu/funcvm

なぜ Azure Functions Core Tools の切り替えが必要なのか

Azure Functions を deploy しようとしたら、以下のエラーがでました。

Referenced bundle Microsoft.Azure.Functions.ExtensionBundle of version 2.4.0 does not meet the required minimum version of 2.6.1. Update your extension bundle reference in host.json to reference 2.6.1 or later.

メッセージを追って issue を見にいったところ、その時点では以下の事が書かれていました。

切り替え

$ func --version
4.0.3971

$ npm install -g @anthonychu/funcvm

$ funcvm use 3 
Downloading https://functionscdn.azureedge.net/public/3.0.3904/Azure.Functions.Cli.osx-x64.3.0.3904.zip to /Users/niten.nashiki/.funcvm/download/3.0.3904...
2 minutes remaining
less than a minute remaining
half a minute remaining
less than a minute remaining
half a minute remaining
less than 20 seconds remaining
less than 10 seconds remaining
less than 5 seconds remaining
Using 3.0.3904

$ func --version
3.0.3904

(おまけ) Azure Functions Core Tools を 4 -> 3 になったらどうなった?

Azure Functions Core Tools を 4 -> 3 に変更したら動いてくれるようになりました。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?