C:\Users\Ahmet\Desktop\İrem\7\üü> npm i (any package-name)
npm ERR! Cannot read properties of null (reading 'edgesOut')
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ahmet\AppData\Local\npm-cache\_logs\2022-01-21T17_53_37_530Z-debug-0.log
ベストアンサー1
react styled-components のインストール中にこのエラーが発生し、他の回答に記載されているようにファイル名やディレクトリに間違いがない場合は、3 つの解決策があります。
styled-componentsの最新バージョンはv6ですが、実行中に問題が発生しますnpm i styled-components
。
- V5、または
npm install [email protected]
- 糸、
yarn install styled-components
または - ベータ版を使用するには、
npm install styled-components@latest