truffle 部署reposten网络的时候需要安装hdwallet-provider这个模块,但是window安装不了,怎么解决,只能macOS才可以?

npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2020-08-06T09_48_25_914Z-debug.log

请先 登录 后评论

最佳答案 2020-08-25 15:22

在两个平台都有的, 这个应该是 NPM 包管理出什么问题了。

也可以试试 @truffle/hdwallet-provider包

请先 登录 后评论

其它 0 个回答