beak-insights / felicity-lims

Felicity is the Next Generation LIMS Software for the modern Medical Laboratory.
2 stars 0 forks source link

Thank you for this excellent project. I am a newbie and encountered the following error when running according to the instructions: #22

Closed xdgene closed 1 year ago

xdgene commented 1 year ago

Thank you for this excellent project. I am a newbie and encountered the following error when running according to the instructions:

TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' [2023-02-21 17:21:06 +0800] [10724] [INFO] Worker exiting (pid: 10724) [2023-02-21 17:21:07 +0800] [10707] [INFO] Shutting down: Master [2023-02-21 17:21:07 +0800] [10707] [INFO] Reason: Worker failed to boot.

any suggestion? thank you very much!

aurthurm commented 1 year ago

hie @xdgene can you be a bit specific.

  1. Which instructions did you follow,
  2. Can you provice the full error log

Suggestion:

conda create -n felicity python=3.9
conda activate felicity
git clone https://github.com/aurthurm/felicity.git
cd felicity/backend/felicity/felicity_lims
pip install -r requirements.txt
bash ./al_upgrade.sh
bash ./runuvicorn.sh

Then do this section Frontend Installation

avoid the docker setup for now. I have done some breaking changes there

aurthurm commented 1 year ago

@xdgene you can use docker now with

docker-compose -f dc.nginx.dev.yaml up --b

Then access the site at http://localhost/

xdgene commented 1 year ago

I have tried using both Docker and Conda separately, but neither worked.

here's docker error docker-compose -f dc.nginx.dev.yaml up --b error: ... felicity_fe exited with code 1 felicity_fe | felicity_fe | > felicity-lims@0.1.0 dev /app/vite felicity_fe | > vite "--host" "--port" "3000" felicity_fe | felicity_fe | sh: 1: vite: not found felicity_fe |  ELIFECYCLE  Command failed. felicity_fe exited with code 1 felicity_fe | felicity_fe | > felicity-lims@0.1.0 dev /app/vite felicity_fe | > vite "--host" "--port" "3000" felicity_fe | felicity_fe | sh: 1: vite: not found felicity_fe |  ELIFECYCLE  Command failed. felicity_fe |  WARN  Local package.json exists, but node_modules missing, did you mean to install? felicity_fe exited with code 1 felicity_fe | felicity_fe | > felicity-lims@0.1.0 dev /app/vite felicity_fe | > vite "--host" "--port" "3000" felicity_fe | felicity_fe | sh: 1: vite: not found felicity_fe |  ELIFECYCLE  Command failed. felicity_fe |  WARN  Local package.json exists, but node_modules missing, did you mean to install? felicity_fe exited with code 1 felicity_fe | felicity_fe | > felicity-lims@0.1.0 dev /app/vite felicity_fe | > vite "--host" "--port" "3000" felicity_fe | felicity_fe | sh: 1: vite: not found felicity_fe |  ELIFECYCLE  Command failed. felicity_fe |  WARN  Local package.json exists, but node_modules missing, did you mean to install? felicity_fe exited with code 1

Perhaps I need to learn more basic knowledge.thanks again!