transport-tracker icon indicating copy to clipboard operation
transport-tracker copied to clipboard

Error With Backend

Open jackstmary opened this issue 7 years ago • 2 comments

I have tried the things listed in the other comments on why backend isnt working and I still am having problems trying to run backend "npm run main" I am getting. npm ERR! path /home/jtstmary2023/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/home/jtstmary2023/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/jtstmary2023/.npm/_logs/2018-11-02T19_14_24_032Z-debug.log

Can anyone help?

jackstmary avatar Nov 02 '18 19:11 jackstmary

I am facing the same issue. Were you able to resolve??

rahulmittal4233 avatar May 18 '19 13:05 rahulmittal4233

Have you tried building from the Dockerfile?

cd backend
docker build -t backend .
docker run --name backend backend

Note the last step will fail unless you swap in a service account json at https://github.com/googlemaps/transport-tracker/blob/master/backend/serviceAccountKey.json.

jpoehnelt avatar Sep 12 '19 00:09 jpoehnelt