inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습

Baobab에 스마트 계약 배포 1

npm install

해결된 질문

334

황성욱

작성한 질문수 2

0

yelcow@yelcow:~/bapp/addition-game-starter$ sudo npm install

[sudo] password for yelcow: 

 

> scrypt@6.0.3 preinstall /home/yelcow/bapp/addition-game-starter/node_modules/scrypt

> node node-scrypt-preinstall.js

 

 

> keccak@1.4.0 install /home/yelcow/bapp/addition-game-starter/node_modules/keccak

> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."

 

 

> keccak@1.4.0 rebuild /home/yelcow/bapp/addition-game-starter/node_modules/keccak

> node-gyp rebuild

 

gyp ERR! configure error 

gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/yelcow/bapp/addition-game-starter/node_modules/keccak/build'

gyp ERR! System Linux 4.15.0-50-generic

gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

gyp ERR! cwd /home/yelcow/bapp/addition-game-starter/node_modules/keccak

gyp ERR! node -v v10.15.3

gyp ERR! node-gyp -v v3.8.0

gyp ERR! not ok 

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the keccak@1.4.0 rebuild script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm WARN Local package.json exists, but node_modules missing, did you mean to install?

 

npm ERR! A complete log of this run can be found in:

npm ERR!     /home/yelcow/.npm/_logs/2019-05-27T05_16_02_930Z-debug.log

Keccak bindings compilation fail. Pure JS implementation will be used.

 

> scrypt@6.0.3 install /home/yelcow/bapp/addition-game-starter/node_modules/scrypt

> node-gyp rebuild

 

gyp ERR! configure error 

gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/yelcow/bapp/addition-game-starter/node_modules/scrypt/build'

gyp ERR! System Linux 4.15.0-50-generic

gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

gyp ERR! cwd /home/yelcow/bapp/addition-game-starter/node_modules/scrypt

gyp ERR! node -v v10.15.3

gyp ERR! node-gyp -v v3.8.0

gyp ERR! not ok 

npm WARN klay-dapp-boilerplate@0.0.1 No repository field.

npm WARN klay-dapp-boilerplate@0.0.1 No license field.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

 

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! scrypt@6.0.3 install: `node-gyp rebuild`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the scrypt@6.0.3 install script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

npm ERR! A complete log of this run can be found in:

npm ERR!     /home/yelcow/.npm/_logs/2019-05-27T05_16_04_875Z-debug.log

어떻게 해결하나요?

node -v 10.15.3

npm -v 6.9.0

truffle v 4.1.15

blockchain

답변 2

0

황성욱

감사합니다 잘되네요

0

SEJONG IT EDU

파이썬 버전문제인것 같습니다. 

npm install --global --production windows-build-tools

npm install 에러

0

507

0

truffle deploy --network klaytn

0

242

0

컴파일 에러

0

347

0

npm install 에러 납니다.

0

1026

1

npm install 삼일 내내 검색했는데 해결 못했습니다...

0

367

1

npm run dev 했는데

0

1051

2

deploy 실행파일

0

369

1

솔리디티 4.1.15 이상의 버전은 안되나요?

0

248

0

함수를 async를 사용하여 비동기로 작성한 이유가 궁금합니다.

2

335

0

truffle deploy에러 문의입니다 : >

0

428

0

IDE 인터페이스가 달라져 강좌를 계속하기 어렵습니다

3

453

3

실행이 안 됩니다.

0

304

2

truffle deploy --network klaytn 오류

0

291

2

아니..지금 쓰는거랑 아예 인터페이스가 다른데 강좌를 내리던가 해야할듯요

0

209

1

송금 이후 once transactionHash 쪽에서 에러 나는데 도움 부탁드려요.

0

201

0

유니티에서도 사용이 가능한가요?

0

256

1

강의 잘들었습니다. then은 되는데 on이 안되네요..

0

203

1

checkValidKeystore 함수 수정

1

189

0

invalid or does not take any parameters 오류 해결방법

1

454

1

컨트랙트 재배포 문의

0

362

1

정답 제출 및 클레이 받기 부분에서 질문있습니다.

0

167

1

npm install 에러 뜹니다. 방법 있으실까요?

0

719

1

truffle deploy --network klaytn 오류

0

209

1

상급강좌 설문조사

0

156

0