node js, yarn을 설치한 뒤 npx create-react-app 으로 앱을 만들었는데, yarn start를 입력하니
실행이 안되고 Couldn't find a package. 라는 오류가 떴다.
create-react-app 을 하지 않은 상태에서 yarn start라는 명령을 입력하지 않았거나
앱을 설치한 위치에서 yarn start를 해주지 않으면 발생하는 오류라고 한다.
나의 경우는 yarn을 실행시키기 전에 cd 로 앱을 설치한 위치로 이동시키지 않아서 발생한 문제였다.
절차대로 입력하니 잘 실행되었다.
'ERROR' 카테고리의 다른 글
ValueError: arrays must all be same length (0) | 2021.10.10 |
---|---|
ValueError: Cannot mask with non-boolean array containing NA / NaN values (0) | 2021.09.25 |
AttributeError: module 'tensorflow' has no attribute 'placeholder' 오류 (0) | 2021.07.12 |
WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. (0) | 2021.07.12 |
ModuleNotFoundError: No module named 'pymongo' (0) | 2021.07.04 |