inflearn logo
강의

講義

知識共有

Klaytn 클레이튼 ブロックチェーン アプリケーションの作成 - 理論と実践

Baobabへのスマート契約の配布 1

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

717

lina5465462

投稿した質問数 1

0


PS C:\lina\addition-game-starter> npm install
npm WARN deprecated eth-sig-util@1.4.2: Deprecated in favor of '@metamask/eth-sig-util'
npm WARN deprecated ethereumjs-vm@2.6.0: New package name format for new versions: @ethereumjs/vm. Please update.
npm WARN deprecated ethereumjs-block@1.7.1: New package name format for new versions: @ethereumjs/block. Please update.
npm WARN deprecated safe-event-emitter@1.0.1: Renamed to @metamask/safe-event-emitter
npm WARN deprecated ethereumjs-block@2.2.2: New package name format for new versions: @ethereumjs/block. Please update.
npm WARN deprecated ethereumjs-common@1.5.2: New package name format for new versions: @ethereumjs/common. Please update.
npm WARN deprecated ethereumjs-tx@2.1.2: New package name format for new versions: @ethereumjs/tx. Please update.

> scrypt@6.0.3 preinstall C:\lina\addition-game-starter\node_modules\scrypt
> node node-scrypt-preinstall.js


> scrypt@6.0.3 install C:\lina\addition-game-starter\node_modules\scrypt
> node-gyp rebuild


C:\lina\addition-game-starter\node_modules\scrypt>if not defined npm_config_node_gyp (node "C:\Users\lina5\AppData\Roaming\nvm\v10.15.3\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\lina5\AppData\Roaming\nvm\v10.15.3\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error 
gyp ERR! stack Error: Command failed: C:\Users\lina5\AppData\Local\Programs\Python\Python310\python.exe 
-c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at maybeClose (internal/child_process.js:970:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\lina5\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\lina\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 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 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!     C:\Users\lina5\AppData\Roaming\npm-cache\_logs\2021-12-12T07_29_19_441Z-debug.log

 

blockchain

回答 1

0

SEJONG IT EDU

https://www.inflearn.com/questions/11540

여기 참고해보세요!

npm install 에러

0

507

0

truffle deploy --network klaytn

0

241

0

컴파일 에러

0

347

0

npm install 에러 납니다.

0

1025

1

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

0

367

1

npm run dev 했는데

0

1050

2

deploy 실행파일

0

369

1

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

0

248

0

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

2

335

0

truffle deploy에러 문의입니다 : >

0

428

0

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

3

449

3

실행이 안 됩니다.

0

304

2

truffle deploy --network klaytn 오류

0

291

2

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

0

207

1

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

0

201

0

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

0

255

1

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

0

202

1

checkValidKeystore 함수 수정

1

187

0

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

1

453

1

컨트랙트 재배포 문의

0

360

1

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

0

166

1

truffle deploy --network klaytn 오류

0

203

1

상급강좌 설문조사

0

154

0

NFT & Defi 강의?

0

209

0