Azure / Azure/azure-functions-core-tools
Error running example from docs
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 15
Description
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.
Contributor guide
Research direction
Start by reproducing the Azure Functions tutorial on macOS with Node v12, Azure Functions Core Tools 3.0.3477, and F5 in VS Code. Review the reported /dev/shm/AzureFunctions permission error and the later “provider” null failure; done means the example runs successfully or the issue documents the confirmed cause and workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, macos, node.js
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100