-
Notifications
You must be signed in to change notification settings - Fork 438
npm run main fails. #48
Comments
I am also getting same error, were you able to fix this? |
|
@domesticmouse - does it mean we are good with backend setup? How to confirm the same? |
Have you gone through the transport tracker codelabs? |
const ptt = this.directionsResponseForTrip(returnValue.next_trip.trip); I faced same issue. If you print |
Hi @hynra where can I get the "Server Key" that you mention, thanks for you answer. |
@hynra The Server Key (from firebase) is giving out errors? |
The project uses Directions API. Enable the API, then it will work. transport-tracker/backend/time_table.js Lines 205 to 206 in 0146b3e
Server Key is just a credential name generated by Google Service. For testing purposes, just ensure that the used API key doesn't have restrictions. |
Thank you for sharing the amazing piece of your work,
I followed your well explained steps to reach here, but i couldn't npm run main to the backend.
I am continuously receiving the error,
TypeError: Cannot read property 'legs' of undefined
As suggested by few fellow programmers, i upgraded the npm version to 6.2 but still couldn't get any solution then i even downgraded to the version 4.6.1 still i am not getting anywhere.
Any help will be highly appreciated. Thank You
The text was updated successfully, but these errors were encountered: