yarn set version berry 

까지만 해도 웹스톰은 잘 찾는데,

yarn add @yarnpkg/sdks -D
yarn dlx @yarnpkg/sdks vscode

까지 했는데도 모듈을 vscode에서 못찾는 경우가 발생한다
마음을 가다듬고 yarn cache clean --all ..

..

자... 베리로 3.2.1로 한번 해보자.. 까나린 안쓸거고

yarn set version berry 
yarn add typescript (4.7.4 깔림)
yarn dev (ts-node index.ts)

일단 yarn dev 로 실행하는 ts-node는 되는데 VSCODE 에서 import 패키지들을 인식을 못한다.

흠...시스템의 문젠가? VS코드를 날려볼까

남아도는게 시간이니

rm -rf .vscode
rm -rf /Library/Application Support/Code

-------------

다운 https://code.visualstudio.com/docs?dv=osx 하고 새로 실행하니 그대로인게

npm install 패키지는 잘 되는걸로 봐서 yarn 과 연결고리를 찾아야겠다.

yarn set version berry

yarn add typescript

yarn dlx @yarnpkg/sdks vscode

했는데 똑같이 못찾고...

이것도 해줬는데 아니고...

이것도 작업영역 버전 사용했는데... 아닌거같고

 

... 아

nested 하게 open 하면 작업영역 버전을 사용 못해서 못찾는 문제구나

이렇게 열지 말 것...

https://github.com/reyoucat/simple-yarn3

 

GitHub - reyoucat/simple-yarn3

Contribute to reyoucat/simple-yarn3 development by creating an account on GitHub.

github.com

 

---------- 2022/6/26 삽질----------

Q: tsdk 위치를 맞는게 뭘까 하고 바꿔도 인식 못함... 경로 설정을 별의 별 각종 패턴으로 먹였는데도 안먹음.

A: 근데 이렇게 해서 되어도 문제가 다른사람의 PC에서 동작 안할거니까... 포기하자 ^ㅁ^

++ 민상님이 트윗으로 알려주시길... 아직 미구현 https://twitter.com/minsangk/status/1540934024578732032

 

트위터에서 즐기는 Minsang Kim

“@RE_U_CAT 아하, nested 된 프로젝트의 상위를 기준으로 프로젝트를 열었을 때, 서브디렉토리에 있는 settings.json 을 읽지 못하는 문제였군요. 꽤 논의가 있긴한데 아직 구현이 안됐나봐요ㅎㅎ https:/

twitter.com

https://github.com/Microsoft/vscode/issues/32693

 

Monolithic structure, multiple project settings · Issue #32693 · microsoft/vscode

I was wondering if it is possible for VSCode to pick up on multiple .vscode/settings.json For instance if you are working in an monolithic environment with multiple smaller projects inside it, and ...

github.com

 

+ Recent posts