Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Error With Backend #56

Open
jackstmary opened this issue Nov 2, 2018 · 2 comments
Open

Error With Backend #56

jackstmary opened this issue Nov 2, 2018 · 2 comments
Labels
needs more info This issue needs more information from the customer to proceed.

Comments

@jackstmary
Copy link

jackstmary commented Nov 2, 2018

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?

@rahulmittal4233
Copy link

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

@jpoehnelt
Copy link
Contributor

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 jpoehnelt added the needs more info This issue needs more information from the customer to proceed. label Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs more info This issue needs more information from the customer to proceed.
Projects
None yet
Development

No branches or pull requests

3 participants