8000 func init returns No templates or subcommands found matching: 'func'. · Issue #4399 · Azure/azure-functions-core-tools · GitHub
[go: up one dir, main page]

Skip to content
func init returns No templates or subcommands found matching: 'func'. #4399
@lilyjma

Description

@lilyjma

Version

4.0.7030

Description

I have core tools version 4.0.7030, which I believe is the latest. I'm trying to run func init LocalFunctionProj --worker-runtime dotnet-isolated --docker --target-framework net8.0. The command returns

No templates or subcommands found matching: 'func'.
Did you mean one of the following templates?
   dotnet new sln
   dotnet new mvc
   dotnet new grpc
   dotnet new nunit
   dotnet new xunit

To list installed templates similar to 'func', run:
   dotnet new list func
To search for the templates on NuGet.org, run:
   dotnet new search func


For details on the exit code, refer to https://aka.ms/templating-exit-codes#103

Error creating project template

I've tried resintalling core tools, but still experiencing the same issue.

Also tried just running func init, but ran into the same error.

Running func --version returns the version, so it's strange to me why func isn't recognized.

Steps to reproduce

Create a new function project using func init and core tools version 4.0.7030

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0