μ΅μ 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
μ΄λ€ μμ΄λμ΄?
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
λ₯Ό μ°μμΌλ‘ λ λ² μ€ννλ©΄ νμ¬ μ΄λλ· ν¨λμμ μ€ν¨ν©λλ€.
κ°μ₯ μ μ©ν λκΈ
[email protected] κ³Ό ν¨κ» μλνλλ‘ νλ €λ©΄
src/package-lock.json
λ₯Ό μ κ±°νμμμ€.