jessvb / convo

An interactive conversational programming agent.
MIT License
5 stars 1 forks source link

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

Open jessvb opened 3 years ago

jessvb commented 3 years ago

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.