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

Junokit Run scripts error #28

Open
sharozx16 opened this issue Oct 28, 2022 · 0 comments
Open

Junokit Run scripts error #28

sharozx16 opened this issue Oct 28, 2022 · 0 comments

Comments

@sharozx16
Copy link

sharozx16 commented Oct 28, 2022

When running the command:
junokit run scripts/sample-script.ts --network testnet

The code returns the following errors:

Could not find a declaration file for module 'junokit'. <Path of junokit index.js> Could not find a declaration file for module 'junokit'

Try npm i --save-dev @types/junokit if it exists or add a new declaration (.d.ts) file containing declare module 'junokit';`

sample-project/artifacts/typescript_schema/Counter.ts (41,17): Property 'queryMsg' does not exist on type 'CounterQueryContract'.

sample-project/artifacts/typescript_schema/Counter.ts (91,23): Property 'executeMsg' does not exist on type 'CounterContract'.

sample-project/artifacts/typescript_schema/Counter.ts (110,23): Property 'executeMsg' does not exist on type 'CounterContract'.

@sharozx16 sharozx16 changed the title Run scripts error Junokit Run scripts error Oct 28, 2022
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