Open jackstmary opened 6 years ago
I am facing the same issue. Were you able to resolve??
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.
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?