I am working on the Mac OS with VS code. I have written a init.py file but I am getting an error
For detailed output, run func with --verbose flag.
[2022-02-17T08:48:00.818Z] Traceback (most recent call last):
[2022-02-17T08:48:00.820Z] File "/usr/local/Cellar/azure-functions-core-tools@4/4.0.3971/workers/python/3.8/OSX/X64/azure_functions_worker/bindings/shared_memory_data_transfer/file_accessor_unix.py", line 127, in _get_valid_mem_map_dirs
[2022-02-17T08:48:00.821Z] os.makedirs(dir_path)
[2022-02-17T08:48:00.821Z] File "/Users/stra/opt/anaconda3/lib/python3.8/os.py", line 213, in makedirs
[2022-02-17T08:48:00.821Z] makedirs(head, exist_ok=exist_ok)
[2022-02-17T08:48:00.821Z] File "/Users/stra/opt/anaconda3/lib/python3.8/os.py", line 223, in makedirs
[2022-02-17T08:48:00.821Z] mkdir(name, mode)
[2022-02-17T08:48:00.821Z] PermissionError: [Errno 1] Operation not permitted: '/dev/shm'
Does anyone know how to solve this problem. I have also tried to remove parts of host.json as discussed in https://learn.microsoft.com/en-us/answers/questions/396617/azure-functions-core-tools-error-osx-devshmazurefu.html. I have tried stack overflow ideas but does not work.
Please can anybody help.