반응형
에러 메세지
Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
버전 : next 14.0.2(타입스크립트)
OS : mac
해결 방법 tsconfig.json 파일
"moduleResolution": "bundler"
"moduleResolution": "bundler" 옵션을 "moduleResolution": "node"로 바꿔주고 텍스트 에디터를 재실행하면 에러 메세지가 사라진다.
"moduleResolution": "node"
반응형