- Cannot use VM on windows 10 and Docker at the same time
- Cannot VPN into network and use Docker (nginex crashes) when working remotely
- This seems to be related to the network drives?
- If docker is running and then I vpn into the network, the computer detects no network drives
- After running 'docker-compose down' and restating docker, the network drives appear
- Cannot execute 'docker exec' command in git bash
- If you are using DockerToolbox rather than Docker for Windows on Windows, see rm-docker-toolbox-setup
Open '.gitattributes'
Add '<file_pattern> -crlf'
Commit '.gitattributes'
Open file in question in notepad++
Open Find+Replace dialog
Repalce '\r' with ''. Make sure that 'Search Mode' is in 'Extended mode'
i.e.
' /usr/bin/env: ‘python\r’: No such file or directory' in error message
Open '.gitattributes'
Add '*.py -crlf'
Commit, replace in notepad++
i.e.
frontend_1 | info There appears to be trouble with your network connection. Retrying...
frontend_1 | info There appears to be trouble with your network connection. Retrying...
frontend_1 | error An unexpected error occurred: "https://registry.yarnpkg.com/ p-is-promise/-/p-is-promise-2.0.0.tgz: Client network socket disconnected before secure TLS connection was established".
frontend_1 | info If you think this is a bug, please open a bug report with the information provided in "/home/node/yarn-error.log".
frontend_1 | info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
frontend_1 | yarn run v1.12.3
frontend_1 | \$ react-scripts start
frontend_1 | /bin/sh: 1: react-scripts: not found
frontend_1 | error Command failed with exit code 127.
frontend_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
project-thundercat_frontend_1 exited with code 1
Delete yarn.lock file and node_modules and run
docker-compose up
again.
This time it should build. If not, or if this results in changes to your yarn.lock file, simply run
git checkout frontend/yarn.lock
to checkout the old version and then it should work again.