일상의 기록/🌷DAILY 회고록 : 코드스테이츠

[230515][solo 프로젝트 진행] styled-component 에러

감귤밭호지차 2023. 5. 15. 10:28

1. Styled components 설치 에러 

0 verbose cli C:\Program Files\dev\node.exe C:\Users\jhj19\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
1 info using npm@9.6.6
2 info using node@v18.16.0
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:C:\Users\jhj19\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:C:\Users\jhj19\Documents\codestates\fe-sprint-coz-shopping\.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:C:\Users\jhj19\.npmrc Completed in 0ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\jhj19\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 12ms
17 timing npm:load:configload Completed in 13ms
18 timing npm:load:mkdirpcache Completed in 0ms
19 timing npm:load:mkdirplogs Completed in 0ms
20 verbose title npm install styled-components
21 verbose argv "install" "styled-components"
22 timing npm:load:setTitle Completed in 1ms
23 timing config:load:flatten Completed in 3ms
24 timing npm:load:display Completed in 3ms
25 verbose logfile logs-max:10 dir:C:\Users\jhj19\AppData\Local\npm-cache\_logs\2023-05-15T01_16_51_766Z-
26 verbose logfile C:\Users\jhj19\AppData\Local\npm-cache\_logs\2023-05-15T01_16_51_766Z-debug-0.log
27 timing npm:load:logFile Completed in 9ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 29ms
31 timing arborist:ctor Completed in 0ms
32 silly logfile start cleaning logs, removing 2 files
33 timing idealTree:init Completed in 571ms
34 timing idealTree:userRequests Completed in 2ms
35 silly idealTree buildDeps
36 silly fetch manifest styled-components@*
37 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
38 silly logfile done cleaning log files
39 http fetch GET 200 https://registry.npmjs.org/styled-components 1088ms (cache revalidated)
40 silly fetch manifest babel-plugin-styled-components@>= 2
41 http fetch GET 200 https://registry.npmjs.org/babel-plugin-styled-components 161ms (cache revalidated)
42 silly fetch manifest styled-components@>= 2
43 silly fetch manifest react@>= 16.8.0
44 http fetch GET 200 https://registry.npmjs.org/react 8ms (cache hit)
45 silly fetch manifest react-dom@>= 16.8.0
46 http fetch GET 200 https://registry.npmjs.org/react-dom 9ms (cache hit)
47 silly fetch manifest react-is@>= 16.8.0
48 http fetch GET 200 https://registry.npmjs.org/react-is 9ms (cache hit)
49 silly fetch manifest react@^18.2.0
50 silly fetch manifest react-dom@^18.2.0
51 timing idealTree Completed in 1893ms
52 timing command:install Completed in 1900ms
53 verbose stack TypeError: Cannot read properties of null (reading 'edgesOut')
53 verbose stack     at #loadPeerSet (C:\Users\jhj19\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:1302:38)
53 verbose stack     at async #buildDepStep (C:\Users\jhj19\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:917:11)
53 verbose stack     at async Arborist.buildIdealTree (C:\Users\jhj19\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:196:7)
53 verbose stack     at async Promise.all (index 1)
53 verbose stack     at async Arborist.reify (C:\Users\jhj19\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:159:5)
53 verbose stack     at async Install.exec (C:\Users\jhj19\AppData\Roaming\npm\node_modules\npm\lib\commands\install.js:147:5)
53 verbose stack     at async module.exports (C:\Users\jhj19\AppData\Roaming\npm\node_modules\npm\lib\cli.js:89:5)
54 verbose cwd C:\Users\jhj19\Documents\codestates\fe-sprint-coz-shopping
55 verbose Windows_NT 10.0.22621
56 verbose node v18.16.0
57 verbose npm  v9.6.6
58 error Cannot read properties of null (reading 'edgesOut')
59 verbose exit 1
60 timing npm Completed in 2268ms
61 verbose unfinished npm timer reify 1684113412132
62 verbose unfinished npm timer reify:loadTrees 1684113412135
63 verbose unfinished npm timer idealTree:buildDeps 1684113412709
64 verbose unfinished npm timer idealTree:#root 1684113412709
65 verbose code 1
66 error A complete log of this run can be found in: C:\Users\jhj19\AppData\Local\npm-cache\_logs\2023-05-15T01_16_51_766Z-debug-0.log

 

 

 

2.