Open franjorub opened 3 years ago
I found in another issue (#2232) that if you remove the "extensionBundle"
section in the host file it works, but I just modified the "version"
parameter with "3.*"
value and it worked for me.
Also, that doc page should show that you can't use Node 16, here is what it states: Node.js 10.14.1+. Use the node --version command to check your version.
Which is "10+" so I should be able to use Node 16 but I can't...
Finally it never states that you need to login to Azure in order to be able to create functions locally (I don't know why this is a requirement) but I didn't read in any point that you need to login...(Maybe I missed something?)
So yeah, they should update the docs ...Hope the fix from that issue or my workaround works for you.
I found in another issue (#2232) that if you remove the
"extensionBundle"
section in the host file it works, but I just modified the"version"
parameter with"3.*"
value and it worked for me.Also, that doc page should show that you can't use Node 16, here is what it states: Node.js 10.14.1+. Use the node --version command to check your version.
Which is "10+" so I should be able to use Node 16 but I can't...
Finally it never states that you need to login to Azure in order to be able to create functions locally (I don't know why this is a requirement) but I didn't read in any point that you need to login...(Maybe I missed something?)
So yeah, they should update the docs ...Hope the fix from that issue or my workaround works for you.
thank you it worked changing the version, but the warning is still present with a new one, but the functions are running correctly
in my case, I don't need to be logged in to create or run the functions locally, these are the logs
Azure Functions Core Tools Core Tools Version: 3.0.3785 Commit hash: db6fe71b2f05d09757179d5618a07bba4b28826f (64-bit) Function Runtime Version: 3.2.0.0
[2021-10-21T12:45:58.020Z] Cannot create directory for shared memory usage: /dev/shm/AzureFunctions [2021-10-21T12:45:58.021Z] System.IO.FileSystem: Access to the path '/dev/shm/AzureFunctions' is denied. Operation not permitted. [2021-10-21T12:46:00.779Z] Bundle version matching the 3.* was not found [2021-10-21T12:46:00.786Z] Unable to find or download extension bundle [2021-10-21T12:46:03.499Z] Debugger listening on ws://127.0.0.1:62495/0cac02b9-63a0-445e-a0be-a831d3278482 [2021-10-21T12:46:03.499Z] For help, see: https://nodejs.org/en/docs/inspector [2021-10-21T12:46:03.579Z] Debugger attached.
Functions:
HttpTrigger1: [GET,POST] http://localhost:7071/api/HttpTrigger1
@soninaren could please help investigate this?
I found in another issue (#2232) that if you remove the
"extensionBundle"
section in the host file it works, but I just modified the"version"
parameter with"3.*"
value and it worked for me. Also, that doc page should show that you can't use Node 16, here is what it states: Node.js 10.14.1+. Use the node --version command to check your version. Which is "10+" so I should be able to use Node 16 but I can't... Finally it never states that you need to login to Azure in order to be able to create functions locally (I don't know why this is a requirement) but I didn't read in any point that you need to login...(Maybe I missed something?) So yeah, they should update the docs ...Hope the fix from that issue or my workaround works for you.thank you it worked changing the version, but the warning is still present with a new one, but the functions are running correctly
in my case, I don't need to be logged in to create or run the functions locally, these are the logs
Azure Functions Core Tools Core Tools Version: 3.0.3785 Commit hash: db6fe71 (64-bit) Function Runtime Version: 3.2.0.0
[2021-10-21T12:45:58.020Z] Cannot create directory for shared memory usage: /dev/shm/AzureFunctions [2021-10-21T12:45:58.021Z] System.IO.FileSystem: Access to the path '/dev/shm/AzureFunctions' is denied. Operation not permitted. [2021-10-21T12:46:00.779Z] Bundle version matching the 3.* was not found [2021-10-21T12:46:00.786Z] Unable to find or download extension bundle [2021-10-21T12:46:03.499Z] Debugger listening on ws://127.0.0.1:62495/0cac02b9-63a0-445e-a0be-a831d3278482 [2021-10-21T12:46:03.499Z] For help, see: https://nodejs.org/en/docs/inspector [2021-10-21T12:46:03.579Z] Debugger attached.
Functions:
HttpTrigger1: [GET,POST] http://localhost:7071/api/HttpTrigger1
Yeah, the warning (or error) is still there, but it works so you can at least develop over it, something that also happens on my side, don't know why it's that even when I'm on Node, and I did everything to use Node as the runtime (or I think I did):
[2021-10-26T19:30:48.144Z] Bundle version matching the 3.0.0 was not found
[2021-10-26T19:30:48.146Z] Unable to find or download extension bundle
[2021-10-26T19:30:48.257Z] File 'C:\Program Files (x86)\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable.
[2021-10-26T19:30:48.319Z] File 'C:\Program Files (x86)\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable.
I found in another issue (#2232) that if you remove the
"extensionBundle"
section in the host file it works, but I just modified the"version"
parameter with"3.*"
value and it worked for me. Also, that doc page should show that you can't use Node 16, here is what it states: Node.js 10.14.1+. Use the node --version command to check your version. Which is "10+" so I should be able to use Node 16 but I can't... Finally it never states that you need to login to Azure in order to be able to create functions locally (I don't know why this is a requirement) but I didn't read in any point that you need to login...(Maybe I missed something?) So yeah, they should update the docs ...Hope the fix from that issue or my workaround works for you.thank you it worked changing the version, but the warning is still present with a new one, but the functions are running correctly in my case, I don't need to be logged in to create or run the functions locally, these are the logs Azure Functions Core Tools Core Tools Version: 3.0.3785 Commit hash: db6fe71 (64-bit) Function Runtime Version: 3.2.0.0 [2021-10-21T12:45:58.020Z] Cannot create directory for shared memory usage: /dev/shm/AzureFunctions [2021-10-21T12:45:58.021Z] System.IO.FileSystem: Access to the path '/dev/shm/AzureFunctions' is denied. Operation not permitted. [2021-10-21T12:46:00.779Z] Bundle version matching the 3.* was not found [2021-10-21T12:46:00.786Z] Unable to find or download extension bundle [2021-10-21T12:46:03.499Z] Debugger listening on ws://127.0.0.1:62495/0cac02b9-63a0-445e-a0be-a831d3278482 [2021-10-21T12:46:03.499Z] For help, see: https://nodejs.org/en/docs/inspector [2021-10-21T12:46:03.579Z] Debugger attached. Functions:
HttpTrigger1: [GET,POST] http://localhost:7071/api/HttpTrigger1
Yeah, the warning (or error) is still there, but it works so you can at least develop over it, something that also happens on my side, don't know why it's that even when I'm on Node, and I did everything to use Node as the runtime (or I think I did):
[2021-10-26T19:30:48.144Z] Bundle version matching the 3.0.0 was not found [2021-10-26T19:30:48.146Z] Unable to find or download extension bundle [2021-10-26T19:30:48.257Z] File 'C:\Program Files (x86)\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable. [2021-10-26T19:30:48.319Z] File 'C:\Program Files (x86)\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable.
I fixed that error by downloading the .NET runtime and SDK version 3 for Windows from the official site
https://dotnet.microsoft.com/download
you will need reload your terminal to apply the changes after install
Hi I'm following the tutorial https://docs.microsoft.com/en-us/azure/azure-functions/create-first-function-vs-code-node
but when I press F5 I have this issue:
ProductName: macOS ProductVersion: 11.6 BuildVersion: 20G165
node v12.22.7
Azure Functions Core Tools Core Tools Version: 3.0.3477 Commit hash: 5fbb9a76fc00e4168f2cc90d6ff0afe5373afc6d (64-bit) Function Runtime Version: 3.0.15584.0
[2021-10-20T04:13:45.143Z] Cannot create directory for shared memory usage: /dev/shm/AzureFunctions [2021-10-20T04:13:45.143Z] System.IO.FileSystem: Access to the path '/dev/shm/AzureFunctions' is denied. Operation not permitted. [2021-10-20T04:13:45.213Z] Building host: startup suppressed: 'False', configuration suppressed: 'False', startup operation id: 'b5957dbe-8a5b-455f-81ce-e60480f25f2c' [2021-10-20T04:13:45.242Z] Reading host configuration file '/Users/franjorub/Projects/azure function tests/host.json' [2021-10-20T04:13:45.244Z] Host configuration file read: [2021-10-20T04:13:45.244Z] { [2021-10-20T04:13:45.244Z] "version": "2.0", [2021-10-20T04:13:45.244Z] "logging": { [2021-10-20T04:13:45.244Z] "applicationInsights": { [2021-10-20T04:13:45.244Z] "samplingSettings": { [2021-10-20T04:13:45.244Z] "isEnabled": true, [2021-10-20T04:13:45.244Z] "excludedTypes": "Request" [2021-10-20T04:13:45.244Z] } [2021-10-20T04:13:45.244Z] } [2021-10-20T04:13:45.244Z] }, [2021-10-20T04:13:45.244Z] "extensionBundle": { [2021-10-20T04:13:45.244Z] "id": "Microsoft.Azure.Functions.ExtensionBundle", [2021-10-20T04:13:45.244Z] "version": "[2.*, 3.0.0)" [2021-10-20T04:13:45.244Z] } [2021-10-20T04:13:45.244Z] } [2021-10-20T04:13:45.261Z] Loading functions metadata [2021-10-20T04:13:45.276Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:python [2021-10-20T04:13:45.280Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:java [2021-10-20T04:13:45.282Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:powershell [2021-10-20T04:13:45.285Z] Reading functions metadata [2021-10-20T04:13:45.296Z] 1 functions found [2021-10-20T04:13:45.306Z] 1 functions loaded [2021-10-20T04:13:45.311Z] Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at /Users/franjorub/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle [2021-10-20T04:13:45.314Z] Fetching information on versions of extension bundle Microsoft.Azure.Functions.ExtensionBundle available on https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/index.json [2021-10-20T04:13:55.673Z] Downloading extension bundle from https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/2.6.1/Microsoft.Azure.Functions.ExtensionBundle.2.6.1_any-any.zip to /var/folders/9h/7chnt1x1681gr2pjncpd_3vh0000gn/T/51319e0b-41c7-48cf-ac59-6a8c045790b2/Microsoft.Azure.Functions.ExtensionBundle.2.6.1.zip Value cannot be null. (Parameter 'provider') [2021-10-20T04:16:09.811Z] Stopping host... [2021-10-20T04:16:09.812Z] Host shutdown completed.