adrianmcli / adrianmcli/truffle-next

npm error while installing truffle-next in windows

Đang mở
#40 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
190
Fork
43
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I recently thought of working on a project using truffle and next-js so wanted to install the truffle-next box
However, I encountered some issues, a big list of npm errors

I am copy-pasting the entire list of errors below

× Setting up box
Unbox failed!
× Setting up box
Unbox failed!
Error: Command failed: cd client && npm install && npm run link-contracts
npm ERR! code 128
npm ERR! git dep preparation failed
npm ERR! command C:\Program Files\nodejs\node.exe C:\Users\harsh\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js install --force --cache=C:\Users\harsh\AppData\Local\npm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 128
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/gulpjs/gulp.git
npm ERR! npm ERR! git@github.com: Permission denied (publickey).
npm ERR! npm ERR! fatal: Could not read from remote repository.
npm ERR! npm ERR!
npm ERR! npm ERR! Please make sure you have the correct access rights
npm ERR! npm ERR! and the repository exists.
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR! C:\Users\harsh\AppData\Local\npm-cache\_logs\2022-02-06T06_56_50_418Z-debug.log

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\harsh\AppData\Local\npm-cache\_logs\2022-02-06T06_56_52_199Z-debug.log

at checkExecSyncError (node:child_process:826:11)
at Object.execSync (node:child_process:900:15)
at Object.installBoxDependencies (C:\Users\harsh\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\lib\utils\unbox.js:139:1)
at Object.setUpBox (C:\Users\harsh\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\lib\utils\index.js:66:1)
at C:\Users\harsh\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\box.js:183:1
at Generator.next ()
at fulfilled (C:\Users\harsh\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\box.js:5:42)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Truffle v5.4.32 (core: 5.4.32)
Node v16.13.2

I am using Windows 11, along with the version of Node and Truffle as specified above
Does anyone have a resolve to this issue?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.