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

import error #1

Open
Talha089 opened this issue Jul 15, 2022 · 1 comment
Open

import error #1

Talha089 opened this issue Jul 15, 2022 · 1 comment

Comments

@Talha089
Copy link

Attempted import error: 'hash-sdk' does not contain a default export (imported as 'hash').
https://replit.com/@PabloPeillard1/hedera-reactjs-boilerplate

image

@iampankaj0
Copy link

hiii @Talha089
import "hash" as a globle variable,
because "hash" is not default exported in
the child file of node_modules>hash-sdk>build>index.d.ts

import * as hash from "hash-sdk";

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

2 participants