找不到模块'lodash / isString'

时间:2019-02-04 03:40:40

标签: ethereum web3 web3js

这个错误在一夜之间发生在我身上。我不再能够从链中检索Decentraland数据。我试图升级web3-core-method节点模块中的依赖项,但无济于事。

来自我的package.json:

    "web3": "^1.0.0-beta.41"

这是完整的错误:

 Error: Cannot find module 'lodash/isString'
[0]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
[0]     at Function.Module._load (internal/modules/cjs/loader.js:507:25)
[0]     at Module.require (internal/modules/cjs/loader.js:637:17)
[0]     at require (internal/modules/cjs/helpers.js:22:18)
[0]     at Object.<anonymous> (/Users/project/node_modules/web3-core-method/dist/web3-core-method.cjs.js:12:32)
[0]     at Module._compile (internal/modules/cjs/loader.js:689:30)
[0]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
[0]     at Module.load (internal/modules/cjs/loader.js:599:32)
[0]     at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
[0]     at Function.Module._load (internal/modules/cjs/loader.js:530:3)
[0]     at Module.require (internal/modules/cjs/loader.js:637:17)
[0]     at require (internal/modules/cjs/helpers.js:22:18)
[0]     at Object.<anonymous> (/Users/project/node_modules/web3-eth-accounts/dist/web3-eth-accounts.cjs.js:10:22)
[0]     at Module._compile (internal/modules/cjs/loader.js:689:30)
[0]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
[0]     at Module.load (internal/modules/cjs/loader.js:599:32)

0 个答案:

没有答案