Doccano: ν”„λŸ°νŠΈ μ—”λ“œ npm μ„€μΉ˜ 문제

에 λ§Œλ“  2019λ…„ 12μ›” 16일  Β·  4μ½”λ©˜νŠΈ  Β·  좜처: doccano/doccano

'ν”„λ‘ νŠΈμ—”λ“œ' 도컀 파일 λ‚΄μ—μ„œ npm install을 μ‹€ν–‰ν•˜λ©΄ 였λ₯˜κ°€ λ°œμƒν•©λ‹ˆλ‹€.
ν”„λ‘œλ•μ…˜ docker-compose둜 μ‹€ν–‰

문제λ₯Ό μž¬ν˜„ν•˜λŠ” 방법

$docker pull node:13.1.0

$docker run -it -v ./frontent:/app --entrypoint bash node:13.1.0

``` root@container :/app# npm μ„€μΉ˜
root@ac4c6f3a1914 :/app# npm μ„€μΉ˜
npm WARN deprecated [email protected] : core-js@<3은 더 이상 μœ μ§€ κ΄€λ¦¬λ˜μ§€ μ•ŠμœΌλ©° 문제의 수둜 인해 μ‚¬μš©μ„ ꢌμž₯ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. 쒅속성을 core-js@3 의 μ‹€μ œ λ²„μ „μœΌλ‘œ μ—…κ·Έλ ˆμ΄λ“œν•˜μ‹­μ‹œμ˜€
npm WARN 더 이상 μ‚¬μš©λ˜μ§€ μ•ŠλŠ” [email protected] : String.prototype.padStart() μ‚¬μš©
npm 였λ₯˜! μ‹€ν–‰ 쀑 였λ₯˜:
npm 였λ₯˜! /usr/bin/git ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm 였λ₯˜!
npm 였λ₯˜! 치λͺ…적: github.com에 μ—°κ²°ν•  수 μ—†μŒ:
npm 였λ₯˜! github.com[0: 140.82.118.3]: errno=연결이 κ±°λΆ€λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
npm 였λ₯˜!
npm 였λ₯˜!
npm 였λ₯˜! 였λ₯˜ μ½”λ“œμ™€ ν•¨κ»˜ μ’…λ£Œλ¨: 128

npm 였λ₯˜! 이 μ‹€ν–‰μ˜ 전체 λ‘œκ·ΈλŠ” λ‹€μŒμ—μ„œ 찾을 수 μžˆμŠ΅λ‹ˆλ‹€.
npm 였λ₯˜! /root/.npm/_logs/2019-12-16T15_01_20_133Z-debug.log



OR run 

``` root<strong i="33">@container</strong>:/app# yarn install
root<strong i="34">@ac4c6f3a1914</strong>:/app# npm install
yarn install v1.19.2
[1/4] Resolving packages...
[2/4] Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/adobe-webplatform/eve.git
Directory: /app
Output:
fatal: unable to connect to github.com:
github.com[0: 140.82.118.3]: errno=Connection refused
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

λ‚΄κ°€ μ‹œλ„ν•œ 것

이 문제λ₯Ό ν”Όν•˜κΈ° μœ„ν•΄ λ‹€μŒμ„ μ‚¬μš©ν•˜λŠ” κ²ƒμœΌλ‘œ λ‚˜νƒ€λ‚¬μŠ΅λ‹ˆλ‹€.

https://github.com/adobe-webplatform/eve.git

git 'protocol' λŒ€μ‹  μž‘λ™ν•©λ‹ˆλ‹€.

git://github.com/adobe-webplatform/eve.git

κ·ΈλŸ¬λ‚˜ 이에 λŒ€ν•œ μ†”λ£¨μ…˜μ„ κ΅¬ν˜„ν•˜λŠ” 방법을 잘 λͺ¨λ₯΄κ² μŠ΅λ‹ˆλ‹€.
λ„ˆλ¬΄ μ–΄λ €μš΄ 일이 μ•„λ‹ˆλ‹€, λ‚΄κ°€ μ˜¬λ°”λ₯Έ λ°©ν–₯으둜 μ°”λŸ¬ 상관 μ—†μ–΄ 및 IT μ§„μ§œ λ²„κ·Έμž…λ‹ˆλ‹€ 경우 PR을 λ„£μ–΄.

ν™˜κ²½

  • 운영 체제: μœˆλ„μš° 10
  • μ‚¬μš©λœ Python 버전: λ„μ»€μ—μ„œ μ‹€ν–‰

도컀 정보:

Client:
 Debug Mode: false

Server:
 Containers: 44
  Running: 2
  Paused: 0
  Stopped: 42
 Images: 60
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.9.184-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 3.855GiB
 Name: docker-desktop
 ID: xxxx-xxxx-xxxx-xxx-xxxx-xxx-xxx
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 51
  Goroutines: 66
  System Time: 2019-12-16T15:22:47.5637998Z
  EventsListeners: 1
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine
  • doccanoλ₯Ό μ„€μΉ˜ν•  λ•Œ: 2019λ…„ 12μ›” 16일
  • doccano(Heroku λ²„νŠΌ λ“±)λ₯Ό μ–΄λ–»κ²Œ μ„€μΉ˜ν–ˆμŠ΅λ‹ˆκΉŒ: docker-compose( ν”„λ‘œλ•μ…˜ )
question

κ°€μž₯ μœ μš©ν•œ λŒ“κΈ€

μ£„μ†‘ν•©λ‹ˆλ‹€. 제 μͺ½μ˜ λ°©ν™”λ²½ λ¬Έμ œμ˜€μŠ΅λ‹ˆλ‹€.
이슈λ₯Ό μ’…λ£Œν•˜κ² μŠ΅λ‹ˆλ‹€!

λͺ¨λ“  4 λŒ“κΈ€

문제λ₯Ό μ‹ κ³ ν•΄ μ£Όμ…”μ„œ κ°μ‚¬ν•©λ‹ˆλ‹€. μžλ™μœΌλ‘œ μƒμ„±λ˜λŠ” yarn.lock 문제인 것 κ°™μŠ΅λ‹ˆλ‹€. yarn 버그 λ˜λŠ” ν™˜κ²½(λ„€νŠΈμ›Œν¬ λ“±) 문제둜 ꡬ성할 수 μ—†μŠ΅λ‹ˆλ‹€.

@icoxfog417 κ·€ν•˜μ˜ ν™˜κ²½μ—μ„œ 이 λͺ…령을 μ„±κ³΅μ μœΌλ‘œ μ‹€ν–‰ν•  수

git ls-remote -h -t git://github.com/adobe-webplatform/eve.git

μ£„μ†‘ν•©λ‹ˆλ‹€. 제 μͺ½μ˜ λ°©ν™”λ²½ λ¬Έμ œμ˜€μŠ΅λ‹ˆλ‹€.
이슈λ₯Ό μ’…λ£Œν•˜κ² μŠ΅λ‹ˆλ‹€!

Atmμ—λŠ” URL git://github.com/adobe-webplatform/eve.git 이 μ—†μœΌλ©° λŒ€μ‹  https 접두사에 μ•‘μ„ΈμŠ€ν•΄μ•Ό ν•©λ‹ˆλ‹€. 이 μ†”λ£¨μ…˜μ€ λͺ¨λ“  λ³€κ²½ν•˜λŠ” κ²ƒμž…λ‹ˆλ‹€ git://github.com/adobe-webplatform/eve.git 에 https://github.com/adobe-webplatform/eve.git μ—μ„œ doccano/frontend/yarn.lock .

이 νŽ˜μ΄μ§€κ°€ 도움이 λ˜μ—ˆλ‚˜μš”?
0 / 5 - 0 λ“±κΈ‰