Etherpad-lite: bin/installDeps.sh - `dezalgo` 였λ₯˜λ₯Ό 찾을 수 μ—†μ–΄ μ‹€νŒ¨

에 λ§Œλ“  2018λ…„ 01μ›” 03일  Β·  10μ½”λ©˜νŠΈ  Β·  좜처: ether/etherpad-lite

μ΅œμ‹  1.6.2λ₯Ό μ‚¬μš©ν•˜μ—¬ μ‹œμž‘ν•˜λ €κ³  ν•  λ•Œ λ‹€μŒ 였λ₯˜κ°€ λ°œμƒν•©λ‹ˆλ‹€. installDeps.shμ—μ„œ 온 것 κ°™μŠ΅λ‹ˆλ‹€.

[root<strong i="6">@2274172dfbae</strong> etherpad]# bin/installDeps.sh
Ensure that all dependencies are up to date...  If this is the first time you have run Etherpad please be patient.
npm ERR! path /opt/etherpad/src/node_modules/npm/node_modules/dezalgo
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/opt/etherpad/src/node_modules/npm/node_modules/dezalgo' -> '/opt/etherpad/src/node_modules/npm/node_modules/.dezalgo.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-01-03T17_44_19_081Z-debug.log

버전:

[root<strong i="10">@2274172dfbae</strong> etherpad]# npm -v
5.6.0
[root<strong i="11">@2274172dfbae</strong> etherpad]# node -v
v4.8.7

μ–΄λ–€ 아이디어?

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

[email protected] κ³Ό ν•¨κ»˜ μž‘λ™ν•˜λ„λ‘ ν•˜λ €λ©΄ src/package-lock.json λ₯Ό μ œκ±°ν•˜μ‹­μ‹œμ˜€.

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

etherpad와 ν•¨κ»˜ npm 5.xλ₯Ό μ‚¬μš©ν•˜λŠ” 데 λ¬Έμ œκ°€ μžˆμ„ 수 μžˆμŠ΅λ‹ˆλ‹€.

npm 4.0.2 μž‘λ™ .. λ”°λΌμ„œ 이것은 쒅속성을 λ‹€μ‹œ μ—…λ°μ΄νŠΈν•˜κ±°λ‚˜ npm 5.x에 λŒ€ν•œ λ¬Έμ„œμ— κ²½κ³ λ₯Ό μΆ”κ°€ν•˜λΌλŠ” μš”μ²­μ΄μ–΄μ•Ό ν•  μˆ˜λ„ μžˆμŠ΅λ‹ˆλ‹€.

과거에 λͺ‡ 가지 쒅속성 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€( dezalgo κ°€ μ•„λ‹˜). κ·Έλž˜μ„œ λ•Œλ•Œλ‘œ μ €μ—κ²Œ νš¨κ³Όκ°€ μžˆμ—ˆλ˜ 것은 심볼릭 링크 없이 쒅속성을 μ„€μΉ˜ν•˜λŠ” κ²ƒμ΄μ—ˆμŠ΅λ‹ˆλ‹€. μ΄μƒμ μ΄μ§€λŠ” μ•Šμ§€λ§Œ μž‘λ™ν•©λ‹ˆλ‹€.

npm cache clean
cd src
npm install --no-bin-links

Maximum call stack size exceeded 였λ₯˜κ°€ λ°œμƒν•˜λ©΄ npm install --no-bin-links λ₯Ό λ‹€μ‹œ μ‹€ν–‰ν•˜μ‹­μ‹œμ˜€.

@lpagliari "delzago" 였λ₯˜κ°€ μ—¬μ „νžˆ μž‘λ™ν•˜μ§€ μ•Šκ³  etherpadκ°€ μ‹€ν–‰λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.
npm 버전: 5.6.0
λ…Έλ“œ 버전: 8.9.4
λ°λΉ„μ•ˆ 9

λͺ¨λ“  package-lock.json νŒŒμΌμ„ μ œκ±°ν•˜κ³  bin/installDeps.shλ₯Ό μ„±κ³΅μ μœΌλ‘œ μ‹€ν–‰ν–ˆμŠ΅λ‹ˆλ‹€.

@lpagliari 더 λ‚˜μ€ μ†”λ£¨μ…˜μ΄ npm보닀 싀을 μ‚¬μš©ν•˜λ„λ‘ bin/installDeps.shλ₯Ό μˆ˜μ •ν•˜λŠ” 것인지 κΆκΈˆν•©λ‹ˆλ‹€. 이전 λ²„μ „μ˜ npm(5.5.1)은 결함 없이 μž‘λ™ν–ˆμ§€λ§Œ 5.6.0μ—μ„œλŠ” 그렇지 μ•ŠμŠ΅λ‹ˆλ‹€. λ‚˜λŠ” 그것을 μ‹€ν—˜ν•˜κ³  λ‚΄ κ²°κ³Όλ₯Ό 말할 κ²ƒμž…λ‹ˆλ‹€.

@fspc λ‚˜μ—κ²Œ μ’‹μ•„ 보인닀. 그것이 당신을 μœ„ν•΄ μΌν–ˆλŠ”μ§€ μ•Œλ €μ£Όμ‹­μ‹œμ˜€.

@lpagliari 예, νŠΈλ¦­μ„ μˆ˜ν–‰ν•©λ‹ˆλ‹€. installDeps.shλ₯Ό λ³€κ²½ν•˜λŠ” pull μš”μ²­μ„ 보내어 npm >= 5.6.0이면 λŒ€μ‹  원사가 μ‚¬μš©λ©λ‹ˆλ‹€.

[email protected] κ³Ό ν•¨κ»˜ μž‘λ™ν•˜λ„λ‘ ν•˜λ €λ©΄ src/package-lock.json λ₯Ό μ œκ±°ν•˜μ‹­μ‹œμ˜€.

bin/run.sh λ₯Ό μ—°μ†μœΌλ‘œ 두 번 μ‹€ν–‰ν•˜λ©΄ ν˜„μž¬ 이더넷 νŒ¨λ“œμ—μ„œ μ‹€νŒ¨ν•©λ‹ˆλ‹€.

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