Closed ntran18 closed 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.
@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.
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
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
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
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.
The airplay issue has come up before for Mac users. Is this documented in the setup wiki?
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
For the documentation, I think we can update it a little bit for instructions:
export PATH="/opt/homebrew/opt/node@14/bin:$PATH"
, then we have to change the npm version every time we run the project in a new window. @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
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
I updated on Initial Setup page for the installing older version of node on macOS
@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.
parallelshell --wait "nodemon web-client/app.js" "nodemon server/app.js" "webpack --watch --mode=development"
after runningnpm run start-dev
sudo npm i -g parallelshell
to install parallelshell,sudo
is for administrationnpm install