- 
                Notifications
    
You must be signed in to change notification settings  - Fork 27
 
Debugging help
        Eric Weitz edited this page Sep 16, 2022 
        ·
        3 revisions
      
    A dedicated spot to collect issues and the associated solutions developers come across when installing, building, and developing this repo.
- Encountering issues running Docker with an error like: 
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested, try building the docker image with the --platform option: i.e.docker build -t imagename --platform linux/x86_64 .(source) - If you are trying to install using 
rbenvand encountering an issue with signing into the portal booted up on localhost try usingrvmto install ruby instead 
Problem
- Pages in local SCP do not load completely, and
 - Browser DevToools console persistently reports problems not solved by simply restarting Vite or Rails, and
 - Rails stdout reports an error like:
 
ActionController::RoutingError (No route matches [GET] "/vite-dev/__vite_ping"):
  
Error during failsafe response: undefined method `[]' for #<ActionDispatch::PublicExceptions:0x000000010cd97530 @public_path=#<Pathname:/Users/eweitz/RubymineProjects/single_cell_portal_core/public>>
        response[1]["X-Cascade"] == "pass" ? pass_response(status) : response
Solution
- 
rm -rf node_modulesthenyarn install