티스토리 뷰

반응형

error - yarn 에서  react 프로젝트 생성시 에러 발생 

 

yarn 에서 react-app 을 생성하는데, 다음과 같은 에러가 발생했다. 

[2/4] Fetching packages...
error jest-watch-typeahead@1.0.0: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.15.4"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation.

아마도 node 버전이 문제가 되는것으르로 보여서 최신 node 버전으로 업그레이드해야겠다. 

 

link : https://nodejs.org/en/download/current/

다운로드 받아서 설치하면 끝.. 

다시 react-app 설치하니 정상적으로 동작 

 

cd react-admin-dashboard
yarn start

끝. 

 

댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/09   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함