윈도우에서 설치할 때 fsevents의 차이로 오류가 생겨요
https://stackoverflow.com/questions/46929196/how-to-solve-npm-install-throwing-fsevents-warning-on-non-mac-os
https://stackoverflow.com/questions/65382064/the-platform-win32-is-incompatible-with-this-module-fsevents
일단 이슈를 올려봐요! 가능하면 PR로 해결해보겠습니다.
이 프로젝트의 오류가 아니라 yarn과 윈도우 11의 오류로 보이네요...ㅠ 해결 중입니다.
npm으로 설치할 때는 문제가 없네요... 우선 npm으로 돌려막기 하고 있습니다.
음... 뭐지... 저도 찾아볼게요
Npm에선 문제가 없어보였고, 이 템플릿으로 과제전형 하려고 했는데 계속 충돌나서... 과제전형 끝나고 더 상세하게 추가해볼게요. yarn, windows 11, git bash에서 오류가 났네요.
yarnrc.yml 에서 nodeLinker를 node-modules 로 바꿔도 yarn 쓰면 그리 되나요?
직접 윈도우10에서 git bash로 돌려보니 문제가 많군요. WSL2 를 이용해보셨나요?
wsl2도 사용해봤는데 동일했던 것 같아요. yarnrc.cml 변경하는 등의 작업은 내일 진행해볼게요!
fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=1cc4b2 The platform win32 is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-android-arm64@npm:12.0.1 The platform win32 is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-darwin-arm64@npm:12.0.1 The platform win32 is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-darwin-x64@npm:12.0.1 The platform win32 is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-linux-arm-gnueabihf@npm:12.0.1 The platform win32 is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-linux-arm64-gnu@npm:12.0.1 The platform win32 is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-linux-arm64-musl@npm:12.0.1 The platform win32 is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-linux-x64-gnu@npm:12.0.1 The platform win32 is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-linux-x64-musl@npm:12.0.1 The platform win32 is incompatible with this module, link skipped.
➤ YN0063: │ @next/swc-win32-arm64-msvc@npm:12.0.1 The CPU architecture x64 is incompatible with this module, link skipped.
➤ YN0063: │ @next/swc-win32-ia32-msvc@npm:12.0.1 The CPU architecture x64 is incompatible with this module, link skipped.
.yarnrc.cml 변경해도 cpu 아키텍쳐가 다르다는 내용? 이 계속 나오네요..
wsl2로 진행해도 next와 충돌이 있는 것 같아요
➤ YN0000: ┌ Link step
➤ YN0062: │ fsevents@patch:fsevents@npm%3A2.3.2#~builtin<compat/fsevents>::version=2.3.2&hash=1cc4b2 The platform linux is incompatible with this module, link skipped.
➤ YN0062: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=1cc4b2 The platform linux is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-android-arm64@npm:12.0.1 The platform linux is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-darwin-arm64@npm:12.0.1 The platform linux is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-darwin-x64@npm:12.0.1 The platform linux is incompatible with this module, link skipped.
➤ YN0063: │ @next/swc-linux-arm-gnueabihf@npm:12.0.1 The CPU architecture x64 is incompatible with this module, link skipped.
➤ YN0063: │ @next/swc-linux-arm64-gnu@npm:12.0.1 The CPU architecture x64 is incompatible with this module, link skipped.
➤ YN0063: │ @next/swc-linux-arm64-musl@npm:12.0.1 The CPU architecture x64 is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-win32-arm64-msvc@npm:12.0.1 The platform linux is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-win32-ia32-msvc@npm:12.0.1 The platform linux is incompatible with this module, link skipped.
➤ YN0062: │ @next/swc-win32-x64-msvc@npm:12.0.1 The platform linux is incompatible with this module, link skipped.
wsl2로 진행했을 때의 오류내용이에요
스킵되었다 라는거고 에러가 아닌 것 같은데 혹시 실행은 가능한가요?
실행도 안되는 것 같아요! ㅜㅜ
Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
yarn dev 실햏하면 이렇게 뜨네요
윈도우에서 yarn2가 안되나보군요 ㅠㅠ
윈도우에서 wsl2, nextjs끼리 충돌도 있고, yarn2와 윈도우와 충돌도 있나봐요. ㅠㅠㅠㅠ
대환장파티군요 ㅠㅠ
Mac, Linux 에서는 잘 돌아가는데 윈도우에서만 안되다보니 대대적으로는 바꿀 수 없고 다른 우회방법을 만들어봐야겠어요.
이슈 넣어주셔서 감사합니다
감사합니다! :D

wsl1 + windows 10은 되네요...? 정말... 알 수 없는... ㅠㅠ