Arch - npm을 통해 트러플 설치 - npm 오류! 완료되면 [닫기]를 작성하세요.

Arch - npm을 통해 트러플 설치 - npm 오류! 완료되면 [닫기]를 작성하세요.

설치하려고 하는데트뤼플Ethereum 개발 프레임워크인 은 npm을 통해 실행됩니다 sudo npm i -D -g truffle. 불행하게도 다음과 같은 오류가 발생합니다.

npm ERR! code ERR_STREAM_WRITE_AFTER_END
npm ERR! write after end

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

저는 npm에 대한 경험이 없으므로 도움을 주시면 대단히 감사하겠습니다.

디버그 로그 추출

1401 verbose stack Error [ERR_STREAM_WRITE_AFTER_END]: write after end
1401 verbose stack     at writeAfterEnd (_stream_writable.js:237:12)
1401 verbose stack     at PassThrough.Writable.write (_stream_writable.js:287:5)
1401 verbose stack     at PassThrough.Writable.end (_stream_writable.js:572:10)
1401 verbose stack     at ReadEntry.entry.on (/usr/lib/node_modules/npm/node_modules/pacote/lib/extract-stream.js:19:41)
1401 verbose stack     at ReadEntry.emit (events.js:132:15)
1401 verbose stack     at ReadEntry.emit (/usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:287:25)
1401 verbose stack     at ReadEntry.[maybeEmitEnd] (/usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:240:12)
1401 verbose stack     at ReadEntry.end (/usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:153:27)
1401 verbose stack     at Unpack.[consumeBody] (/usr/lib/node_modules/npm/node_modules/tar/lib/parse.js:210:13)
1401 verbose stack     at Unpack.[consumeChunkSub] (/usr/lib/node_modules/npm/node_modules/tar/lib/parse.js:391:40)
1401 verbose stack     at Unpack.[consumeChunk] (/usr/lib/node_modules/npm/node_modules/tar/lib/parse.js:360:30)
1401 verbose stack     at Unzip.(anonymous function).on.chunk (/usr/lib/node_modules/npm/node_modules/tar/lib/parse.js:291:59)
1401 verbose stack     at Unzip.emit (events.js:127:13)
1401 verbose stack     at Unzip.emit (/usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:287:25)
1401 verbose stack     at Unzip.write (/usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:90:17)
1401 verbose stack     at Unzip.write (/usr/lib/node_modules/npm/node_modules/tar/node_modules/minizlib/index.js:284:29)
1402 verbose cwd /home/someonw/somewhere
1403 verbose Linux 4.15.6-1-ARCH
1404 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" "-D" "-g" "truffle"
1405 verbose node v9.7.1
1406 verbose npm  v5.7.1
1407 error code ERR_STREAM_WRITE_AFTER_END
1408 error write after end
1409 verbose exit [ 1, true ]

몇 가지 일반 정보

$ uname -a
Linux someone 4.15.6-1-ARCH #1 SMP PREEMPT Sun Feb 25 12:53:23 UTC 2018 x86_64 GNU/Linux

$ npm --version
5.7.1            

답변1

@Matt에 따르면협회, 이는 분명히 실수입니다. 오늘 아치 저장소에서 업데이트를 보았는데 트러플이 잘 설치되었습니다.

관련 정보