PS C:\github\learn-sequelize> npm i express morgan nunjucks sequelize sequelize-cli mysql2 --verbose
npm verb cli [
npm verb cli 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'i',
npm verb cli 'express',
npm verb cli 'morgan',
npm verb cli 'nunjucks',
npm verb cli 'sequelize',
npm verb cli 'sequelize-cli',
npm verb cli 'mysql2',
npm verb cli '--verbose'
npm verb cli ]
npm info using npm@7.15.1
npm info using node@v16.3.0
npm timing npm:load:whichnode Completed in 2ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
npm timing config:load:builtin Completed in 2ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:C:\github\learn-sequelize\.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:C:\Users\ruby\.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:C:\Users\ruby\AppData\Roaming\npm\etc\npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 1ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 11ms
npm timing npm:load:configload Completed in 11ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 0ms
npm timing npm:load:cleanupLog Completed in 2ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 2ms
npm timing npm:load Completed in 41ms
npm timing config:load:flatten Completed in 3ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 323ms
npm timing idealTree:userRequests Completed in 2ms
npm http fetch GET 304 http://registry.npmjs.org/express 184ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/morgan 50ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/nunjucks 53ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/chokidar 51ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/sequelize 92ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/sequelize-cli 60ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/mysql2 56ms (from cache)
npm timing idealTree:#root Completed in 583ms
npm timing idealTree:buildDeps Completed in 597ms
npm timing idealTree:fixDepFlags Completed in 2ms
npm timing idealTree Completed in 933ms
npm timing reify:loadTrees Completed in 935ms
npm timing reify:diffTrees Completed in 3ms
npm timing reify:retireShallow Completed in 21ms
npm timing reify:createSparse Completed in 2ms
npm timing reify:loadBundles Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/sequelize-cli/-/sequelize-cli-6.2.0.tgz 54ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/nunjucks/-/nunjucks-3.2.3.tgz 46ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/semver 113ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/mkdirp 120ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/nopt 129ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/uuid 141ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/js-beautify 140ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/semver/-/semver-5.7.1.tgz 62ms (from cache)
npm http fetch GET 304 http://registry.npmjs.org/mime 182ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/semver/-/semver-7.3.5.tgz 79ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz 79ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz 94ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz 95ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/js-beautify/-/js-beautify-1.13.13.tgz 94ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/mime/-/mime-1.6.0.tgz 74ms (from cache)
npm http fetch POST 200 http://registry.npmjs.org/-/npm/v1/security/advisories/bulk 282ms
npm timing auditReport:getReport Completed in 284ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 287ms
npm timing reifyNode:node_modules/editorconfig/node_modules/semver Completed in 302ms
npm timing reifyNode:node_modules/sequelize-cli Completed in 310ms
npm timing reifyNode:node_modules/mkdirp Completed in 315ms
npm timing reifyNode:node_modules/nopt Completed in 321ms
npm timing reifyNode:node_modules/mime Completed in 358ms
npm timing reifyNode:node_modules/semver Completed in 424ms
npm timing reifyNode:node_modules/uuid Completed in 466ms
npm timing reifyNode:node_modules/nunjucks Completed in 471ms
[ .] - reify:nunjucks: timing reifyNode:node_modules/nunjucks Completed in 471ms
Node.js 버전:
v16.3.0
npm 버전:7.15.1
npm i
를 실행했을 때 어느정도 진행되다가 reify:~
에서 프리징이 걸린다. 해당 터미널 창을 종료해도 node
프로세스가 살아있고 작업관리자로 kill을 해도 엑세스가 거부되었다면서 실패한다. 재부팅하면 당연히 프로세스는 죽지만 프리징은 여전하다.
아래는 관련 GitHub 이슈.
https://github.com/npm/cli/issues/2306
이건 관련 StackOverflow 게시글
https://stackoverflow.com/questions/16873973/npm-install-hangs
Node.js 14.17.0 LTS로 다운그레이드하고 해결되었다. 앞으로는 LTS를 써야겠다.