dondi / GRNsight

Web app and service for modeling and visualizing gene regulatory networks.
http://dondi.github.io/GRNsight
BSD 3-Clause "New" or "Revised" License
17 stars 8 forks source link

Initial Setup #1014

Closed ntran18 closed 1 year ago

ntran18 commented 1 year ago
kdahlquist commented 1 year ago

Is this connected to the node version issue? #1013

"-g" is not recommended because that stands for global, so whole computer has parallelshell. Need to install locally. It should come down with npm install. Also don't install with "sudo".

Once correct version for node is figured out, then @ntran18 can restart and see if solves problem.

kdahlquist commented 1 year ago

@ntran18 is still stuck on this. Need to change node version; changing path variable when multiple instances of node are installed suffices. She needs to install node 14 and be able to switch between them.

kdahlquist commented 1 year ago

check current version of node first (which is 18)

brew install node@14

when installation ends, there will be instructions at the bottom on how to change versions

ntran18 commented 1 year ago

I installed node@14 and run the command export PATH="/opt/homebrew/opt/node@14/bin:$PATH" to run temporary node version 14 and install npm. However, I still can't run npm run start-dev. The same problem occurs

dondi commented 1 year ago

Interesting—I was about to report that using node@14 on a clean clone, with PATH set accordingly, worked completely as expected for me. npm install succeeded and npm run start-dev ran without an issue

@ntran18 I’m beginning to suspect that the prior -g installs might be in the way for you. Let’s look into clearing that out

ntran18 commented 1 year ago

The error I got was Error: listen EADDRINUSE: address already in use :::5000; however, @dondi helped me to fix that by turning off Airplay receiver in the settings.

kdahlquist commented 1 year ago

The airplay issue has come up before for Mac users. Is this documented in the setup wiki?

dondi commented 1 year ago

Yes, it’s at the bottom of Initial Setup. We can consider another option for this—if this port usage is here to stay, we can look into changing our own port to something else

ntran18 commented 1 year ago

For the documentation, I think we can update it a little bit for instructions:

dondi commented 1 year ago

@ntran18’s setup is nearly complete except that the Network Source dropdown is showing undefined for the source name rather than YeastMine. When @dondi inspected the database, the schemas looked like they were there and the tables looked like they had the expected information

@ntran18 will consult with @Onariaginosa and @ahmad00m on this—@ahmad00m said this looks familiar

Once the issue is isolated, this may result in either a code change or a documentation revision, or both

dondi commented 1 year ago

After review of the suggested documentation changes (one suggestion: change the sample path to something more generic rather than Homebrew), @ntran18 can implement the revisions directly

ntran18 commented 1 year ago

I updated on Initial Setup page for the installing older version of node on macOS

kdahlquist commented 1 year ago

@ntran18 is still working on documentation on how to load the database. She's going to edit the PDF from the databases class and select only the items necessary for GRNsight and add it to the wiki. This task is documented in issue #1011, so closing this one.