camicroscope / Caracal

Conslidated Backend, Auth, and Security Services for caMicroscope
GNU General Public License v3.0
15 stars 95 forks source link

Cannot Get error in backup-dev branch #100

Closed siddhanth339 closed 3 years ago

siddhanth339 commented 3 years ago

Describe the bug The backup-dev branch had a commit that included a setup_script to set up the application locally using node. When the application was run, the landing page said: "Cannot Get/".

To Reproduce Steps to reproduce the behavior:

  1. Run the setup_script.sh file
  2. Run npm start
  3. Go to "localhost:4010/"
  4. See the error

Expected behavior The landing page should be fetched and rendered properly.

Additional context This problem is due to the fact that the setup_script does not copy the required files to appropriate folders. So, running npm start runs the caracal.js file which later fetches the landing page that does not exist where it should.