Azure / Azure/azure-functions-core-tools

v5 - unable to find extension bundle

Open
#5,577 0 comments 0 reactions 0 assignees Claimed by @satvu View on GitHub
Needs: Triage (Functions) potential-bug
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

### Version

5.0.0-preview.2 on Windows 11

✓ host 4.1048.200-preview.1 is already installed.
✓ node worker 3.13.0-preview.1 is already installed.
✓ node stack 1.0.0-preview.1 is already installed.
✓ node templates 1.0.1 is already installed.
✓ extension bundle 4.42.0-preview.2 is already installed.
✓ Azure Functions setup is complete.

### Description

❯ func setup --features node
Including prerelease workload versions.
Setting up Azure Functions
✓ host 4.1048.200-preview.1 is already installed.
✓ node worker 3.13.0-preview.1 is already installed.
✓ node stack 1.0.0-preview.1 is already installed.
✓ node templates 1.0.1 is already installed.
✓ extension bundle 4.42.0-preview.2 is already installed.
✓ Azure Functions setup is complete.

❯ func run
Azure Functions CLI
5.0.0-preview.2

✓ Resolve profile: None (no profile applied)
✓ Resolve profile version constraints: No profile constraints applied
✓ Validate host version: Using host 4.1048.200-preview.1
✓ Resolve project: Node.js
✓ Resolve worker: node 3.13.0-preview.1
× Resolve extension bundle...: No installed bundle workload satisfies 'Microsoft.Azure.Functions.ExtensionBundle' [4.*,
5.0.0).
No bundle workload is installed.
Install a satisfying version with:
func workload install Azure.Functions.Cli.Workloads.ExtensionBundles@ --force

Or run 'func setup --features node' to install the full node dev environment (host, worker, stack, templates, bundle).

Error: No installed bundle workload satisfies 'Microsoft.Azure.Functions.ExtensionBundle' [4.*, 5.0.0).
No bundle workload is installed.
Install a satisfying version with:
func workload install Azure.Functions.Cli.Workloads.ExtensionBundles@ --force

Or run 'func setup --features node' to install the full node dev environment (host, worker, stack, templates, bundle).

### Steps to reproduce

create a new node project, run `func run`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with `func setup --features node` followed by `func run` on Windows 11. Inspect the extension-bundle workload resolution using the reported installed version and constraint; done means `func run` successfully resolves the installed bundle without reporting that no bundle workload is installed.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, node.js
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.