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

bad api #2

Open
sawk1 opened this issue Jul 19, 2022 · 0 comments
Open

bad api #2

sawk1 opened this issue Jul 19, 2022 · 0 comments

Comments

@sawk1
Copy link

sawk1 commented Jul 19, 2022

/kysor# yarn start
yarn run v1.22.19
$ rimraf dist && tsc && node ./dist/src/index.js
src/faces.ts:1:30 - error TS2307: Cannot find module '@kyve/sdk/dist/utils/constants' or its corresponding type declarations.

1 import { KYVE_NETWORK } from "@kyve/sdk/dist/utils/constants";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/index.ts:12:10 - error TS2614: Module '"@kyve/sdk"' has no exported member 'KyveWallet'. Did you mean to use 'import KyveWallet from "@kyve/sdk"' instead?

12 import { KyveWallet } from "@kyve/sdk";
~~~~~~~~~~

Found 2 errors in 2 files.

Errors Files
1 src/faces.ts:1
1 src/index.ts:12
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

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

1 participant