microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
290 stars 134 forks source link

Fail to create a Nodejs/Python project from func cli on Mac #3323

Open v-xinda opened 2 years ago

v-xinda commented 2 years ago

OS: Mac (Pro) Build Version: 20220906.4 Functions Core Tools: 4.0.4736

Repro Steps:

  1. Create a Nodejs project with the func cli using the following command:
    func init --worker-runtime node
    func new --template HttpTrigger --name HttpTrigger1
  2. Check whether succeeds to create a Nodejs project or not.

Expect: Succeed to create a Nodejs project.

Actual: Fail to create a Nodejs project. image

More Info:

  1. This issue also reproduces when creating a Python project with the below command:
    python -m venv func_env
    source func_env/bin/activate
    func init --worker-runtime python
    func new --template HttpTrigger --name HttpTrigger1
  2. This issue also reproduces on Mac (Intel) machine using Functions Core Tools 4.0.4776.
philliphoff commented 2 years ago

@v-xinda I'm not able to reproduce this with Functions Core Tools 4.0.4776, on either my M1 or Intel machine. Is this a consistent repro? I'll see if I can get the Functions team to take a look.

v-xinda commented 2 years ago

@philliphoff This issue reproduces consistently.

nturinski commented 1 year ago

Being tracked in https://github.com/Azure/azure-functions-python-worker/issues/915