Just Do IT!
npm ERR! Cannot read properties of null (reading 'edgesOut') 본문
728x90
반응형
styled-components 설치하려는데 자꾸 이 에러가 나와서 뭔가 하고 구글링으로 검색했다.
원인은,
latest version of styled-components is v6 but there is some issue while doing npm i styled-components
styled-components version6 이후로 에러가 발생한다는 것이었다.
version6 이후부터는 저 명령어를 써서 설치하면 안된다는 것이었다...!
npm install styled-components@latest
// use yarn
yarn install styled-components
이렇게 @latest 를 추가해서 최신 버전을 다운받으면 해결 완료했다.
728x90
'개발 공부 > Error' 카테고리의 다른 글
[Error] React+Node 프로젝트 'error:03000086:digital envelope routines::initialization error' 오류 (0) | 2024.01.12 |
---|---|
React Hook useEffect has a missing dependency 해결 (0) | 2023.06.10 |
[Error] 새로고침 이후 로그인/로그아웃 토글이 되지 않을 때 (0) | 2023.02.09 |
[Error] useNavigate() may be used only in the context of a <router> component. (0) | 2023.02.09 |
[Error] Mixed Content 에러 해결 (0) | 2023.01.27 |