explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Missing @cosmjs/amino

Open cougarmaster opened this issue 1 year ago • 6 comments

Getting this error from fresh git clone

`transforming (818) node_modules/encode-utf8/index.jssrc/modules/[chain]/account/[address].vue:21:27 - error TS2307: Cannot find module '@cosmjs/amino' or its corresponding type declarations.

21 import type { Coin } from '@cosmjs/amino'; ~~~~~~~~~~~~~~~

Found 1 error in src/modules/[chain]/account/[address].vue:21

error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ERROR: "type-check" exited with 2. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`

cougarmaster avatar May 03 '24 09:05 cougarmaster

4564565 same

0ndrec avatar May 11 '24 21:05 0ndrec

npm i @cosmjs/amino --force for fix this error. up vote if it help u

ngokhang66 avatar May 14 '24 19:05 ngokhang66

npm i @cosmjs/amino --force for fix this error. up vote if it help u

I got it off of a fork so I will try it on another server. Will this fixed or will this must be done each time?

cougarmaster avatar May 15 '24 02:05 cougarmaster

I can not reproduce this error on my side.

I think you can remove @cosmjs/stargate.

liangping avatar May 15 '24 13:05 liangping

Same here. Add it to package.json:

"dependencies": {
  ...
  "@cosmjs/amino": "^0.32.3",
  ...

And it worked.

browngres avatar May 17 '24 06:05 browngres

Same here. Add it to package.json:

"dependencies": {
  ...
  "@cosmjs/amino": "^0.32.3",
  ...

And it worked.

Thx bro

0ndrec avatar May 17 '24 07:05 0ndrec

https://github.com/ping-pub/explorer/pull/567

liangping avatar May 27 '24 07:05 liangping