eg-react
eg-react copied to clipboard
Failed to compile error message
Hi,
Thanks for your help resolving #85. Now I have a new issue for you :).
We're trying to get a local instance running and I've tried installing the source code in a local (ubuntu-based) docker instance by following the frontend install instructions in the README file, but get the following error message (in the terminal) when I point my browser to http://localhost:3000:
On the browser end, it looks like this:
You can run the docker container for yourself to reproduce:
docker run -it -p 3000:3000 jgbaum/test_eg
Once inside, you'll need to cd to the install directory & start the server:
cd eg-react-48.2.0/frontend
npm start
Once it's up, you should see the same error in your browser. I've tried this with both the 48.2.0 release and the latest master branch with the same result.
Please have a look when you get a chance and let me know if you need any more details from my end to resolve.
Thanks,
J
Great that #85 is solved :) Most of out develop happens on Mac, I will do some tests on Ubuntu for this issue. will update you asap Thanks.
Thanks for your quick reply! You should be able to pull the docker container that I posted if you want to quickly reproduce the issue.
yeah, better idea, will do.
Hi @jgbaum ,
I have been struggling with this error and didn't found a solution.
Then I happened to delete the entire folder and did a new git pull
, and then npm install
and npm start
, it works...
Maybe you can try that as well? you will need create a firebase configuration file for the full functionality, see docs about this at https://eg.readthedocs.io/en/latest/installation.html#firebase-setup
Also based on your image, I created a docker image too at https://cloud.docker.com/repository/docker/epgg/eg-react
let me know if it works for you. Thank you so much!
Thanks, @lidaof! I'm testing out the new image that you created now and will come back and close this ticket if it works. In the meantime, I'm going to submit another ticket related to datahub file uploads :)
Your responsiveness is much appreciated!
-J
Hi @lidaof, actually I have seen the same error last week. if I deleted the package-lock.json
and run npm install
the error will pop up. If I download the package-lock.json
from the repo then npm install
compiles fine. I suspect there are some modules conflicting in the package.json
. I hope it helps.
That's good to know @xzhuo , thanks!! I actually don't know the reason yet...
The docker container that you prepared seems to be working for me. Thanks for your help!
I'll go ahead and leave this issue open as it seems others are having issues compiling as well. Thanks!