Skip to content

React / socket.io-client doesn't load #126

@jessvb

Description

@jessvb

With the react server (http://localhost:3000), an error occurs for me for some reason (but not for @zhujessica ):

react_1   | Failed to compile.
react_1   | 
react_1   | ./src/App.jsx
react_1   | Module not found: Can't resolve 'socket.io-client' in '/app/src'

The current workaround is to enter into the react Docker container (e.g., through the Docker Dashboard) and run npm install. (If I run npm install locally, the node_modules don't update within the docker container.)

To fix this, I think we need to fix how the Dockerfile runs npm install, as this isn't automatically happening on either of our machines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions