Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing @cosmjs/amino #566

Closed
cougarmaster opened this issue May 3, 2024 · 7 comments
Closed

Missing @cosmjs/amino #566

cougarmaster opened this issue May 3, 2024 · 7 comments

Comments

@cougarmaster
Copy link

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.`

@0ndrec
Copy link

0ndrec commented May 11, 2024

4564565
same

@ngokhang66
Copy link

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

@cougarmaster
Copy link
Author

cougarmaster commented May 15, 2024

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?

@liangping
Copy link
Member

I can not reproduce this error on my side.

I think you can remove @cosmjs/stargate.

@browngres
Copy link

Same here. Add it to package.json:

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

And it worked.

@0ndrec
Copy link

0ndrec commented May 17, 2024

Same here. Add it to package.json:

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

And it worked.

Thx bro

@liangping
Copy link
Member

#567

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants