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.
With the react server (http://localhost:3000), an error occurs for me for some reason (but not for @zhujessica ):
The current workaround is to enter into the react Docker container (e.g., through the Docker Dashboard) and run
npm install
. (If I runnpm 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.