Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash frontend #119

Open
jerome00253 opened this issue Sep 16, 2019 · 3 comments
Open

crash frontend #119

jerome00253 opened this issue Sep 16, 2019 · 3 comments

Comments

@jerome00253
Copy link

With fresh instak, the frontend is crashing.

sed: can't read src/api_client/apiClient.js: No such file or directory
,[..................] - : info using [email protected]
[..................] - : info using [email protected]

,> [email protected] start /usr/src/app
,> react-scripts start
,
,Could not find a required file.
, Name: index.js
, Searched in: /usr/src/app/src
,
,npm ERR! Linux 4.9.0-8-amd64
,npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
,npm ERR! node v6.15.1
,npm ERR! npm v3.10.10
,npm ERR! code ELIFECYCLE
,npm ERR! [email protected] start: react-scripts start
,npm ERR! Exit status 1
,npm ERR!
,npm ERR! Failed at the [email protected] start script 'react-scripts start'.
,npm ERR! Make sure you have the latest version of node.js and npm installed.
,npm ERR! If you do, this is most likely a problem with the ownphotos-frontend package,
,npm ERR! not with npm itself.
,npm ERR! Tell the author that this fails on your system:
,npm ERR! react-scripts start
,npm ERR! You can get information on how to open an issue for this project with:
,npm ERR! npm bugs ownphotos-frontend
,npm ERR! Or if that isn't available, you can get their info via:
,npm ERR! npm owner ls ownphotos-frontend
,npm ERR! There is likely additional logging output above.
,
,npm ERR! Please include the following file with any support request:
,npm ERR! /usr/src/app/npm-debug.log

any ideas?
Thanks....

@guysoft
Copy link
Collaborator

guysoft commented Sep 17, 2019 via email

@jerome00253
Copy link
Author

yes I am using docker compose image.
I follow this method

https://github.com/hooram/ownphotos

-> wget https://raw.githubusercontent.com/hooram/ownphotos/dev/docker-compose.yml.template
-> cp docker-compose.yml.template docker-compose.yml
-> Open docker-compose.yml with nano an d make changes in the lines with # CHANGE ME
->docker-compose up -d

@guysoft
Copy link
Collaborator

guysoft commented Sep 25, 2019

Looks like React reached end of life. says npm ERR! code ELIFECYCLE

,npm ERR! [email protected] start: react-scripts start

https://stackoverflow.com/questions/44365238/how-can-i-resolve-npm-err-code-elifecycle-in-project-js-during-npm-start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants