When I try use debug an azure function I get this error:
[2021-10-09T15:50:50.996Z] Cannot create directory for shared memory
usage: /dev/shm/AzureFunctions
[2021-10-09T15:50:50.996Z]
System.IO.FileSystem: Access to the path '/dev/shm/AzureFunctions' is
denied. Operation not permitted.
I already downgraded nodejs to v13
How Can I solve this issue on a Mac?
CodePudding user response:
As per this link, This is part of the python worker as part of this feature that adds support for shared memory between the runtime and the worker.
The log that you see is a warning (check this line) and considering the worker does eventually start, another location worked.
You Go to the host.json file in your project, remove the section of "extensionBundle" and run it again.