You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to setup your application on Ubuntu. Currently my Electron device is sending the events successfully and the Google API is responding with the correct location. The map is not showing any devices available and if I try to test sending data (localhost:8080/send_event) I get the following error:
TypeError: Cannot read property 'send' of undefined
at /home/david/projects/particle-device-locator/app.js:219:14
at Layer.handle [as handle_request] (/home/david/projects/particle-device-locator/node_modules/express/lib/router/layer.js:95:5)
at next (/home/david/projects/particle-device-locator/node_modules/express/lib/router/route.js:137:13)
at restrict (/home/david/projects/particle-device-locator/app.js:182:9)
at Layer.handle [as handle_request] (/home/david/projects/particle-device-locator/node_modules/express/lib/router/layer.js:95:5)
at next (/home/david/projects/particle-device-locator/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/home/david/projects/particle-device-locator/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/david/projects/particle-device-locator/node_modules/express/lib/router/layer.js:95:5)
at /home/david/projects/particle-device-locator/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/home/david/projects/particle-device-locator/node_modules/express/lib/router/index.js:335:12)
I am trying to setup your application on Ubuntu. Currently my Electron device is sending the events successfully and the Google API is responding with the correct location. The map is not showing any devices available and if I try to test sending data (localhost:8080/send_event) I get the following error:
TypeError: Cannot read property 'send' of undefined
at /home/david/projects/particle-device-locator/app.js:219:14
at Layer.handle [as handle_request] (/home/david/projects/particle-device-locator/node_modules/express/lib/router/layer.js:95:5)
at next (/home/david/projects/particle-device-locator/node_modules/express/lib/router/route.js:137:13)
at restrict (/home/david/projects/particle-device-locator/app.js:182:9)
at Layer.handle [as handle_request] (/home/david/projects/particle-device-locator/node_modules/express/lib/router/layer.js:95:5)
at next (/home/david/projects/particle-device-locator/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/home/david/projects/particle-device-locator/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/david/projects/particle-device-locator/node_modules/express/lib/router/layer.js:95:5)
at /home/david/projects/particle-device-locator/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/home/david/projects/particle-device-locator/node_modules/express/lib/router/index.js:335:12)
This is the response I get on the webhook:
The text was updated successfully, but these errors were encountered: