serverless / serverless-azure-functions

Serverless Azure Functions Plugin – Add Azure Functions support to the Serverless Framework
MIT License
266 stars 162 forks source link

Spawning process 'func host start' The system cannot find the path specified. #479

Open sandip22490 opened 4 years ago

sandip22490 commented 4 years ago

https://github.com/serverless/serverless-azure-functions/blob/5d9fdcef582eff91827f7e3264bffe0e29e78465/src/shared/utils.ts#L245

Using serverless Framework v1.72.0 with serverless-azure-functions v2.0.8 and I have below project structure -

When running sls offline it fails with error Spawning process 'func host start' The system cannot find the path specified. as it is looking for func binary in serviceX/node_modules folder. Does that mean every service will require individual node_module folder?

I don't want node_module folder at each service.

Could you please provide more insight? Any one else having the same issue?