Closed SevenbitsHarshad closed 2 years ago
I think I'm going to need a little bit more context. I tried to reproduce your issue with no luck. This is what I did:
ng new my-first-project
npm add @hashgraph/sdk
# Edit src/app/app.component.ts
#
# Add to the top of the file
# import { PrivateKey } from "@hashgraph/sdk";
#
# Update the title to generate a private key
# title = PrivateKey.generate();
ng serve
Closing as I am not able to reproduce, but can re-open if more context is provided that allows me to reproduce the issue.
I think I'm going to need a little bit more context. I tried to reproduce your issue with no luck. This is what I did:
ng new my-first-project npm add @hashgraph/sdk # Edit src/app/app.component.ts # # Add to the top of the file # import { PrivateKey } from "@hashgraph/sdk"; # # Update the title to generate a private key # title = PrivateKey.generate(); ng serve
Closing as I am not able to reproduce, but can re-open if more context is provided that allows me to reproduce the issue.
please share your node version and angular version details
I think I'm going to need a little bit more context. I tried to reproduce your issue with no luck. This is what I did:
ng new my-first-project npm add @hashgraph/sdk # Edit src/app/app.component.ts # # Add to the top of the file # import { PrivateKey } from "@hashgraph/sdk"; # # Update the title to generate a private key # title = PrivateKey.generate(); ng serve
Closing as I am not able to reproduce, but can re-open if more context is provided that allows me to reproduce the issue.
please share your node version and angular version details
please import the below namespace and check
Description
Node Version: 14.19.3 Angular CLI: 13.0.4 SDK version: 2.15.0
It is not working with type script and angular version
Steps to reproduce
Node Version: 14.19.3 Angular CLI: 13.0.4 SDK version: 2.15.0
It is not working
Additional context
Hedera network
other
Version
2.15.0
Operating system
No response