Skip to content

Problem upgrading to host v4.28 for HTTP streaming functions in VSCode #11478

@stevefsc777

Description

@stevefsc777

4.28+ "Worker was unable to load entry point "src/index.js": HTTP streaming requires Azure Functions Host v4.28 or higher."

JavaScript

In VSCode I created a HTTP function via the command palette. It used the v4 structure for functions - api/src/index.js, rather than the structure I'd used prevously - api/funcname/index.js

I'm getting this error, "Worker was unable to load entry point "src/index.js": HTTP streaming requires Azure Functions Host v4.28 or higher."

I've installed & reinstalled the various VSCode extensions for building static web apps and the SWA CLI but the function host version remains at 4.27.xx.xx. I've also gone through the proces with node 16.x, 18.x and 20.x.

I've searched extensively and although I've found several articles relating to this issue, mostly from 2023, I haven't found anything that has helped me solve the problem.

What am I missing?

Thanks for any help/suggestions. I've been trying all day to resolve this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions