lidaof / eg-react

WashU Epigenome Browser
https://epigenomegateway.wustl.edu
Other
66 stars 29 forks source link

installation #332

Closed NiniWang closed 9 months ago

NiniWang commented 11 months ago

I am tring to use the browser to make a comparetive epegenomic browser and also load different track from different species using two differet species genomes that you don't have on the browser database. Is it possible to do that following the document? I just met some bugs at very first step to install the browser. See the screenshot below, 1693388506104

I checked the configuration of the webpack webpack.config.js, there is nothing about the "query". Should I use a specific version of webpack? Or how could I fix this problem? Thanks

lidaof commented 11 months ago

Hi @NiniWang typescript 3.4.5 should work, sorry this version is a bit old. Or you can download this file, after decompress, run npm start directly. if you are using node v18, type export NODE_OPTIONS=--openssl-legacy-provider before npm start

NiniWang commented 11 months ago

Thank you for your reply. I downloaded the file that you sent, and run npm start. I think this problem fixed, but I met a new problem. 1693470520071 And I intalled this react-app-rewired by npm install react-app-rewired@1.x --save-dev, but after this all the other packages be installed again and replaces packages inside frontend folder that I already have, causing the first problem again. How could I solve this problem?

lidaof commented 11 months ago

Hi @NiniWang can you try this? after decompressing the zip file I sent to you, go to that folder, run sudo npm install -g react-app-rewired, then npm start. let's see if it works.

NiniWang commented 10 months ago

Hi Daofeng, sorry to bother you again. I run sudo npm install -g react-app-rewired, but I got an erro. Then I try npx create-react-app my-app, it works. I run npm start again. But the port 3000 can not be opened, and is replaced by port 3001. There is nothing on port3001. 1693562564924

lidaof commented 10 months ago

when you see the screen says you can view my-app in the browser means the app is running on 3001 port, you should see something if you open localhost:3001 on that time, do you see blank or error?

NiniWang commented 10 months ago

Yes, but it's blank 1693576790077

lidaof commented 10 months ago

this is correct, as you are creating a blank app using create-react-app.

how about try run npm start in the frontend folder I sent to you?

NiniWang commented 10 months ago

I think I got the right port, but there is still nothing on the website and some error message. image

Screenshot 2023-09-04 at 14 27 35
lidaof commented 10 months ago

if you open https://172.29.230.16 can you see anything?

NiniWang commented 10 months ago

no, there is same information with the 3000/browser

lidaof commented 10 months ago

i might need to remotely see your computer to troubleshoot, do you think we could setup a zoom meeting some time?

NiniWang commented 10 months ago

if it's possible that will be great! could i have your wechat number? maybe it's easy for us to setup a meeting. my wechat number _Nini2020_

lidaof commented 10 months ago

sure, mine is lidaof

lidaof commented 9 months ago

issue seems resolved through zoom meeting, closed for now.