Errors

    ModuleNotFoundError: No module named 'flask'

    도커 세팅을 연습하던 중에 만난 에러 대충 이런 과정으로 가상 환경에서 app.py를 실행했는데 flask 모듈을 찾지 못했다. python -m venv venv source venv/bin/activate pip install flask python app.py 구글링을 해봐도 해결책을 찾지 못했는데 python3 app.py 허무하게도 python3로 바꿔주니 정상적으로 실행되었다...

    [jest] The error below may be caused by using the wrong test environment

    The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string. Consider using the "jsdom" test environment. ReferenceError: document is not defined 11 | const handleClick = jest.fn(); 12 | > 13 | const { container, getByText } = render(( | ^ 14 | > testEnvironment: 'jest-environment-jsdom' 하지만 굳이 아래와 같이 설정하지 않아도 잘 돌아가는 경우도 있었는데..