wavesplatform

Error cannot find module cryptojs in waves-crypto npm module

痞子三分冷 提交于 2020-01-05 05:26:11
问题 I am trying to use @waves/waves-crypto I have import * as wavesCrypto from '@waves/waves-crypto' in my .ts file but I am still getting error within the npm module itself. I am trying to create a waves wallet using nativescript and right now I am trying to create the address and seed and public and private key for the user. this is login.ts where im calling the @waves/waves-crypto import { Component, ElementRef, ViewChild } from "@angular/core"; import { Router } from "@angular/router"; import

Error with wave-crypto module when calling it to create a seed and address

a 夏天 提交于 2019-12-11 01:03:44
问题 I can not find crypto-js within the moduleand while trying to create a user wallet onclick and seed and public and private key. I get this error message: Error calllin module function Error can not find module "crypto-js", relatve to app/tns_modules/ Here is my code: import { Component, ElementRef, ViewChild } from "@angular/core"; import { Router } from "@angular/router"; import { alert, prompt } from "tns-core-modules/ui/dialogs"; import { Page } from "tns-core-modules/ui/page"; import {