sei-protocol/sei-js

[BUG] Module not found: Can't resolve '@sei-js/proto/types/cosmos/tx/v1beta1/tx'

Closed this issue · 3 comments

I'm having issues with dependencies and modules, here is what I see:

⨯ ../../node_modules/@sei-js/cosmjs/dist/esm/utils/serialize.js:2:0
Module not found: Can't resolve '@sei-js/proto/types/cosmos/tx/v1beta1/tx'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
../../node_modules/@sei-js/cosmjs/dist/esm/utils/index.js
../../node_modules/@sei-js/cosmjs/dist/esm/index.js
./app/components/layout/Header.tsx
./app/components/mint/MintProvider.tsx
⨯ ../../node_modules/@sei-js/cosmjs/dist/esm/utils/serialize.js:2:0
Module not found: Can't resolve '@sei-js/proto/types/cosmos/tx/v1beta1/tx'

Here are my dependencies in package.json

"dependencies": {
"@sei-js/cosmjs": "^1.0.2",
"@sei-js/evm": "^1.0.2",
"@sei-js/proto": "^4.0.3",
"@sei-js/react": "^3.2.0",
}

I did upgrade to 1.0.3 for cosmjs and 4.0.4 for proto and still having this issue.

Facing this as well

This has been fixed in the latest version of @sei-js/cosmjs (1.0.5).

@seangeng @moshthepitt