event-gateway-example
event-gateway-example copied to clipboard
Failed to configure the Event Gateway
I've set up the project as per the instructions, but I keep getting errors running the 'services/users' service.
OS Win32 Node v 6.10.3 Serverless v 1.22.0
I'm using Bash on Unbuntu on Windows 10 and I get the following:
Failed to configure the Event Gateway. request to http://localhost:4001/v1/functions
failed, reason: connect ECONNREFUSED 127.0.0.1:4001
If I just use Command Prompt, I get:
Error: spawn sle ENOENT
at exports._errnoException (util.js:1018:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)
From previous event:
at manageLocalEmulator (C:\Users\cpato\AppData\Local\Yarn\config\global\node_modules\serverless\lib\plugins\run\utils\manageLocalEmulator.js:24:10)
at localEmulatorRunning.then.then.then.then.then.then (C:\Users\cpato\AppData\Local\Yarn\config\global\node_modules\serverless\lib\plugins\run\index.js:138:18)
It seems everything is all configured as per the documentation. I may have some environmental configuration that is messed up but just wanted to post this here to see if anyone else has had issues like this or if there is an easy fix...?
having the same issue right now, I'll update back here if I come across a solution OS: darwin Node Version: 8.2.1 Serverless Version: 1.23.0