단순히 CRA(create react app)을 해도 spawn EINVAL이라면서 명령어가 실행이 안되는 오류가 발생하였다.
node.js를 LTS, v20.15.1 버전을 설치했더니 이런 오류가 발생하는 것이다.
이 이슈는 2024년 node의 보안 정책 업데이트로 발생한다.
Node.js — Wednesday, April 10, 2024 Security Releases
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
단순히 node 버전을 다운그레이드해도 해결가능하다.
'프론트엔드 관련 > 이슈' 카테고리의 다른 글
[React][Vite] 프로젝트 vercel 배포 후, 새로고침 404 에러 (1) | 2024.12.09 |
---|---|
[React] vercel 배포시 http, https axios 통신 제대로 하는법 (0) | 2024.06.11 |
[React] 카카오맵 vercel 배포시 cors 해결법(kakao map with vercel) (0) | 2024.06.11 |
msw 오류 Cannot read properties of undefined (reading 'url') (5) | 2024.04.16 |