inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

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

Baobab에 스마트 계약 배포 2

truffle deploy --network klaytn 부분

182

HyunK_ _H

작성한 질문수 1

0

rror: Cannot find module './build/Release/scrypt'

    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)

    at Function.Module._load (internal/modules/cjs/loader.js:508:25)

    at Module.require (internal/modules/cjs/loader.js:637:17)

    at require (internal/modules/cjs/helpers.js:22:18)

    at Object.<anonymous> (C:\Users\한현구\addition-game-starter\node_modules\scrypt\index.js:3:20)

    at Module._compile (internal/modules/cjs/loader.js:701:30)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)

    at Module.load (internal/modules/cjs/loader.js:600:32)

    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)

    at Function.Module._load (internal/modules/cjs/loader.js:531:3)

    at Module.require (internal/modules/cjs/loader.js:637:17)

    at require (internal/modules/cjs/helpers.js:22:18)

    at Object.<anonymous> (C:\Users\한현구\addition-game-starter\node_modules\scrypt.js\node.js:1:14)

    at Module._compile (internal/modules/cjs/loader.js:701:30)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)

    at Module.load (internal/modules/cjs/loader.js:600:32)

    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)

    at Function.Module._load (internal/modules/cjs/loader.js:531:3)

    at Module.require (internal/modules/cjs/loader.js:637:17)

    at require (internal/modules/cjs/helpers.js:22:18)

    at Object.<anonymous> (C:\Users\한현구\addition-game-starter\node_modules\connect-privkey-to-provider\node_modules\caver-js\packages\caver-klay\caver-klay-accounts\src\index.js:34:16)

    at Module._compile (internal/modules/cjs/loader.js:701:30)

 

---------------------------------------------

npm install                    

npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.

npm WARN requestretry@2.0.2 requires a peer of request@~2.87.0 but none is installed. You must install peer dependencies yourself.

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":"win32","arch":"x64"})

npm install 부분도 잘 되었고 truffle.js 와 2_deploy_contracts.js 도 혹시 오타가 있을까 강의 파일을 복사해서 해봤는데 자꾸 저렇게 뜨는데 어떤 문제인가요 private_key 는 제 비밀키로 잘 설정했고

node v : 10.15.3

npm v : 6.4.1

truffle v : 4.1.15

blockchain

답변 1

0

SEJONG IT EDU

안녕하세요. npm 버전 업그레이드 6.8.0 이상으로 해보시겠어요?

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