Missing @cosmjs/amino
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.`
same
npm i @cosmjs/amino --force
for fix this error. up vote if it help u
npm i @cosmjs/amino --forcefor 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?
I can not reproduce this error on my side.
I think you can remove @cosmjs/stargate.
Same here. Add it to package.json:
"dependencies": {
...
"@cosmjs/amino": "^0.32.3",
...
And it worked.
Same here. Add it to
package.json:"dependencies": { ... "@cosmjs/amino": "^0.32.3", ...And it worked.
Thx bro
https://github.com/ping-pub/explorer/pull/567