https://docs.matic.network/dagger/getting-started/#support
我正在尝试将此库安装到 node.js 项目中。我是一名初级开发人员并且很迷茫,所以请像我小时候一样解释事情。
我试过重新安装节点,确保安装了 git 和正确的版本,更新了任意数量的计算机功能,但不管它失败了。
我的过程: npm init npm install eth-dagger --save <--- 这是每次失败的地方
我可以提供人们想要的日志,错误日志超过 29000 行,所以我不确定我能不能跳过整个事情,我看到的主要错误是
错误 c2661:'v8:value::ToObject':没有重载函数需要 0 个参数 \node_modules\scrypt\build\scrypt.vcxproj
我在网上找到了一些关于 scrypt 不再维护和过时的信息,但是有没有办法解决这个问题或安装 dagger 呢?
日志的前 20 行左右:
2 使用 npm@6.13.4 的信息
3 使用 node@v12.14.1 的信息
4 详细的 npm-session acc67846f68ba194
5 傻安装loadCurrentTree
6 傻安装readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/@maticnetwork%2feth-dagger 18ms(来自缓存)
@maticnetwork/eth-dagger@latest 的 8 个愚蠢的 pacote 标签清单在 30 毫秒内获取
9 计时阶段:loadCurrentTree 1822ms完成
10傻装loadIdealTree
11 傻安装cloneCurrentTreeToIdealTree
12 计时阶段:loadIdealTree:cloneCurrentTree 15ms完成
13傻装loadShrinkwrap
14 时序阶段:loadIdealTree:loadShrinkwrap 482ms完成
15傻装loadAllDepsIntoIdealTree
16 愚蠢的 resolveWithNewModule @maticnetwork/eth-dagger@0.0.1 检查可安装状态
17 http fetch GET 304 https://registry.npmjs.org/web3 156ms(来自缓存)
web3@1.0.0-beta.34 的 18 个傻 pacote 版本清单在 159 毫秒内获取
19 愚蠢的 resolveWithNewModule web3@1.0.0-beta.34 检查可安装状态
20 http fetch GET 304 https://registry.npmjs.org/fs-ext 44ms(来自缓存)
在 47 毫秒内获取 fs-ext@~0.5.0 的 21 个愚蠢的 pacote 范围清单
22 愚蠢的 resolveWithNewModule fs-ext@0.5.0 检查可安装状态
23 http fetch GET 304 https://registry.npmjs.org/web3-eth 45ms(来自缓存)
web3-eth@1.0.0-beta.34 的 24 个傻 pacote 版本清单在 48 毫秒内获取
25 愚蠢的 resolveWithNewModule web3-eth@1.0.0-beta.34 检查可安装状态