인프런 커뮤니티 질문&답변

tjam1723님의 프로필 이미지
tjam1723

작성한 질문수

Vue.js 시작하기 - Age of Vue.js

VUE CLI INSTALL 오류

작성

·

798

1

안녕하세요 검색을 해도 아래와 같은 오류에 대한 가이드가 없어서 문의드립니다.

verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@8.19.3
2 info using node@v18.13.0
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 15ms
6 timing config:load:builtin Completed in 16ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 2ms
9 timing config:load:file:C:\GitHubTemp\.npmrc Completed in 0ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:C:\Users\y1126.kim\.npmrc Completed in 0ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\y1126.kim\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 30ms
19 timing npm:load:configload Completed in 30ms
20 timing npm:load:mkdirpcache Completed in 2ms
21 timing npm:load:mkdirplogs Completed in 1ms
22 verbose title npm i @vue/cli-service
23 verbose argv "i" "@vue/cli-service"
24 timing npm:load:setTitle Completed in 2ms
25 timing config:load:flatten Completed in 4ms
26 timing npm:load:display Completed in 7ms
27 verbose logfile logs-max:10 dir:C:\Users\y1126.kim\AppData\Local\npm-cache\_logs
28 verbose logfile C:\Users\y1126.kim\AppData\Local\npm-cache\_logs\2023-03-27T04_58_26_832Z-debug-0.log
29 timing npm:load:logFile Completed in 22ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 66ms
33 timing arborist:ctor Completed in 3ms
34 silly logfile start cleaning logs, removing 2 files
35 silly logfile done cleaning log files
36 timing arborist:ctor Completed in 0ms
37 timing idealTree:init Completed in 58ms
38 timing idealTree:userRequests Completed in 4ms
39 silly idealTree buildDeps
40 silly fetch manifest @vue/cli-service@*
41 silly placeDep ROOT @vue/cli-service@ OK for:  want: *
42 timing idealTree:#root Completed in 133202ms
43 timing idealTree:node_modules/@vue/cli-service Completed in 0ms
44 timing idealTree:buildDeps Completed in 133203ms
45 timing idealTree:fixDepFlags Completed in 0ms
46 timing idealTree Completed in 133267ms
47 timing command:i Completed in 133306ms
48 verbose type system
49 verbose stack FetchError: request to https://registry.npmjs.org/@vue%2fcli-service failed, reason: connect ETIMEDOUT 104.16.19.35:443
49 verbose stack     at ClientRequest.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\index.js:130:14)
49 verbose stack     at ClientRequest.emit (node:events:513:28)
49 verbose stack     at TLSSocket.socketErrorListener (node:_http_client:496:9)
49 verbose stack     at TLSSocket.emit (node:events:525:35)
49 verbose stack     at emitErrorNT (node:internal/streams/destroy:151:8)
49 verbose stack     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
49 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
50 verbose cwd C:\GitHubTemp
51 verbose Windows_NT 10.0.19042
52 verbose node v18.13.0
53 verbose npm  v8.19.3
54 error code ETIMEDOUT
55 error syscall connect
56 error errno ETIMEDOUT
57 error network request to https://registry.npmjs.org/@vue%2fcli-service failed, reason: connect ETIMEDOUT 104.16.19.35:443
58 error network This is a problem related to network connectivity.
58 error network In most cases you are behind a proxy or have bad network settings.
58 error network
58 error network If you are behind a proxy, please make sure that the
58 error network 'proxy' config is set properly.  See: 'npm help config'
59 verbose exit 1
60 timing npm Completed in 134110ms
61 verbose unfinished npm timer reify 1679893107628
62 verbose unfinished npm timer reify:loadTrees 1679893107659
63 verbose code 1
64 error A complete log of this run can be found in:
64 error     C:\Users\y1126.kim\AppData\Local\npm-cache\_logs\2023-03-27T04_58_26_832Z-debug-0.log

답변 1

0

안녕하세요, 혹시 NPM 레지스트리 설정을 별도로 해놓으신게 있으실까요? network request timeout이 뜨는거 같은데 기업망에서 말고 일반망에서 해보시거나 npm registry 주소 설정 확인하셔야 할 것 같아요 :)

tjam1723님의 프로필 이미지
tjam1723
질문자

기업망에서 하다보니 프록시 서버때문에 안되는것 같습니다.

npm 구성에 프록시 추가 해서 해보겠습니다. 감사합니다

tjam1723님의 프로필 이미지
tjam1723

작성한 질문수

질문하기