Giter Site home page Giter Site logo

harmony-sdk-core's People

Contributors

daywednes avatar gupadhyaya avatar neeboo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

renlulu

harmony-sdk-core's Issues

Build is not working

Build is not working.

Minhs-MacBook-Pro:Harmony-sdk-core minhdoan$ yarn global add lerna && yarn install && lerna bootstrap && lerna link && yarn dist
yarn global v1.13.0
[1/4] ๐Ÿ”  Resolving packages...
[2/4] ๐Ÿšš  Fetching packages...
[3/4] ๐Ÿ”—  Linking dependencies...
warning "@vue/cli > @vue/cli-ui > vue-cli-plugin-apollo > [email protected]" has unmet peer dependency "typescript@>=2.0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/plugin-proposal-class-properties > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/plugin-proposal-decorators > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@vue/cli-service-global > @vue/babel-preset-app > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[4/4] ๐Ÿ”จ  Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.17.3", while you're on "1.13.0".
info To upgrade, run the following command:
$ brew upgrade yarn
success Installed "[email protected]" with binaries:
      - lerna
โœจ  Done in 6.19s.
yarn install v1.13.0
[1/4] ๐Ÿ”  Resolving packages...
success Already up-to-date.
โœจ  Done in 0.67s.
info cli using local version of lerna
lerna notice cli v3.15.0
lerna WARN ECYCLE Dependency cycles detected, you should fix these!
lerna WARN ECYCLE @harmony-js/account -> @harmony-js/contract -> @harmony-js/core -> @harmony-js/account
lerna WARN ECYCLE @harmony-js/network -> @harmony-js/core -> @harmony-js/contract -> @harmony-js/account -> @harmony-js/core
lerna WARN ECYCLE @harmony-js/transaction -> @harmony-js/network -> @harmony-js/core -> @harmony-js/contract -> @harmony-js/account -> @harmony-js/core
lerna WARN ECYCLE @harmony-js/contract -> @harmony-js/core -> @harmony-js/account -> @harmony-js/contract
lerna WARN ECYCLE @harmony-js/transaction -> @harmony-js/network -> @harmony-js/core -> @harmony-js/contract -> @harmony-js/core
lerna WARN ECYCLE @harmony-js/contract -> @harmony-js/account -> @harmony-js/core -> @harmony-js/account
lerna WARN ECYCLE @harmony-js/core -> @harmony-js/account -> @harmony-js/contract -> @harmony-js/core
lerna WARN ECYCLE @harmony-js/transaction -> @harmony-js/network -> @harmony-js/core -> @harmony-js/network
lerna WARN ECYCLE @harmony-js/network -> @harmony-js/account -> @harmony-js/contract -> @harmony-js/core -> @harmony-js/network
lerna WARN ECYCLE @harmony-js/transaction -> @harmony-js/core -> @harmony-js/contract -> @harmony-js/account -> @harmony-js/network -> @harmony-js/core
lerna WARN ECYCLE @harmony-js/network -> @harmony-js/core -> @harmony-js/contract -> @harmony-js/account -> @harmony-js/transaction -> @harmony-js/core
lerna WARN ECYCLE @harmony-js/transaction -> @harmony-js/account -> @harmony-js/contract -> @harmony-js/core -> @harmony-js/network -> @harmony-js/transaction
lerna info bootstrap root only
yarn install v1.13.0
[1/4] ๐Ÿ”  Resolving packages...
success Already up-to-date.
โœจ  Done in 0.64s.
info cli using local version of lerna
lerna notice cli v3.15.0
lerna info Symlinking packages and binaries
yarn run v1.13.0
$ yarn packages:bundler && rm -rf dist && cross-env NODE_ENV=production webpack --config webpack.config.js
$ yarn packages:cleanServer && yarn build:ts && ts-node -P scripts/tsconfig.json scripts/bundle.ts
$ gulp cleanServer
[16:46:53] Using gulpfile ~/work/web/Harmony-sdk-core/gulpfile.js
[16:46:53] Starting 'cleanServer'...
[16:46:53] Finished 'cleanServer' after 67 ms
$ tsc -b tsconfig.json
packages/harmony-crypto/src/keyTool.ts:7:50 - error TS2307: Cannot find module '@harmony-js/utils'.

7 import { isPrivateKey, strip0x, isAddress } from '@harmony-js/utils';
                                                   ~~~~~~~~~~~~~~~~~~~

packages/harmony-crypto/src/bech32.ts:1:27 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { isAddress } from '@harmony-js/utils';
                            ~~~~~~~~~~~~~~~~~~~

packages/harmony-crypto/src/address.ts:5:8 - error TS2307: Cannot find module '@harmony-js/utils'.

5 } from '@harmony-js/utils';
         ~~~~~~~~~~~~~~~~~~~

packages/harmony-crypto/src/keystore.ts:5:30 - error TS2307: Cannot find module '@harmony-js/utils'.

5 import { isPrivateKey } from '@harmony-js/utils';
                               ~~~~~~~~~~~~~~~~~~~

packages/harmony-network/src/providers/baseSocket.ts:1:22 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { isWs } from '@harmony-js/utils';
                       ~~~~~~~~~~~~~~~~~~~

packages/harmony-network/src/providers/ws.ts:9:41 - error TS2307: Cannot find module '@harmony-js/utils'.

9 import { isWs, isObject, isArray } from '@harmony-js/utils';
                                          ~~~~~~~~~~~~~~~~~~~

packages/harmony-network/src/messenger/responseMiddleware.ts:2:26 - error TS2307: Cannot find module '@harmony-js/utils'.

2 import { isObject } from '@harmony-js/utils';
                           ~~~~~~~~~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:1:59 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { HarmonyCore, ChainType, isString, ChainID } from '@harmony-js/utils';
                                                            ~~~~~~~~~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:98:64 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

98     if (rpcPrefix && isString(rpcPrefix) && rpcPrefix !== this.chainPrefix) {
                                                                  ~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:100:49 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

100     } else if (!rpcPrefix || rpcPrefix === this.chainPrefix) {
                                                    ~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:101:50 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

101       rpcMethod = this.setRPCPrefix(method, this.chainPrefix);
                                                     ~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:187:30 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

187     rpcPrefix: string = this.chainPrefix,
                                 ~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:190:64 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

190     if (rpcPrefix && isString(rpcPrefix) && rpcPrefix !== this.chainPrefix) {
                                                                   ~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:192:49 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

192     } else if (!rpcPrefix || rpcPrefix === this.chainPrefix) {
                                                    ~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:193:50 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

193       rpcMethod = this.setRPCPrefix(method, this.chainPrefix);
                                                     ~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:234:64 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

234     if (rpcPrefix && isString(rpcPrefix) && rpcPrefix !== this.chainPrefix) {
                                                                   ~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:236:49 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

236     } else if (!rpcPrefix || rpcPrefix === this.chainPrefix) {
                                                    ~~~~~~~~~~~

packages/harmony-network/src/messenger/messenger.ts:237:50 - error TS2339: Property 'chainPrefix' does not exist on type 'Messenger'.

237       rpcMethod = this.setRPCPrefix(method, this.chainPrefix);
                                                     ~~~~~~~~~~~

packages/harmony-network/src/tracker/baseTracker.ts:1:36 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { isHex, hexToNumber } from '@harmony-js/utils';
                                     ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/abi/abiCoder.ts:21:8 - error TS2307: Cannot find module '@harmony-js/crypto'.

21 } from '@harmony-js/crypto';
          ~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/abi/abiCoder.ts:22:41 - error TS2307: Cannot find module '@harmony-js/utils'.

22 import { hexToBN, defineReadOnly } from '@harmony-js/utils';
                                           ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/abi/utils.ts:1:35 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { isObject, isArray } from '@harmony-js/utils';
                                    ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/abi/utils.ts:2:20 - error TS2307: Cannot find module '@harmony-js/crypto'.

2 import { BN } from '@harmony-js/crypto';
                     ~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/abi/api.ts:2:35 - error TS2307: Cannot find module '@harmony-js/utils'.

2 import { isObject, isArray } from '@harmony-js/utils';
                                    ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/abi/api.ts:3:37 - error TS2307: Cannot find module '@harmony-js/crypto'.

3 import { keccak256, Arrayish } from '@harmony-js/crypto';
                                      ~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/models/AbiItemModel.ts:1:25 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { isArray } from '@harmony-js/utils';
                          ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/utils/mapper.ts:1:25 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { isArray } from '@harmony-js/utils';
                          ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/utils/encoder.ts:1:25 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { isArray } from '@harmony-js/utils';
                          ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/methods/method.ts:1:24 - error TS2307: Cannot find module '@harmony-js/account'.

1 import { Wallet } from '@harmony-js/account';
                         ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/methods/method.ts:6:8 - error TS2307: Cannot find module '@harmony-js/transaction'.

6 } from '@harmony-js/transaction';
         ~~~~~~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/methods/method.ts:7:54 - error TS2307: Cannot find module '@harmony-js/network'.

7 import { RPCMethod, getResultForData, Emitter } from '@harmony-js/network';
                                                       ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/methods/method.ts:8:38 - error TS2307: Cannot find module '@harmony-js/utils'.

8 import { hexToNumber, hexToBN } from '@harmony-js/utils';
                                       ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/methods/method.ts:9:28 - error TS2307: Cannot find module '@harmony-js/crypto'.

9 import { getAddress } from '@harmony-js/crypto';
                             ~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/utils/formatter.ts:6:8 - error TS2307: Cannot find module '@harmony-js/crypto'.

6 } from '@harmony-js/crypto';
         ~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/utils/formatter.ts:14:8 - error TS2307: Cannot find module '@harmony-js/utils'.

14 } from '@harmony-js/utils';
          ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/events/event.ts:1:24 - error TS2307: Cannot find module '@harmony-js/network'.

1 import { LogSub } from '@harmony-js/network';
                         ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/events/event.ts:41:29 - error TS2339: Property 'emitter' does not exist on type 'EventMethod'.

41     if (log.removed && this.emitter) {
                               ~~~~~~~

packages/harmony-contract/src/events/event.ts:42:12 - error TS2339: Property 'emitter' does not exist on type 'EventMethod'.

42       this.emitter.emit('changed', log);
              ~~~~~~~

packages/harmony-contract/src/events/eventFactory.ts:1:25 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { isArray } from '@harmony-js/utils';
                          ~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/contract.ts:1:24 - error TS2307: Cannot find module '@harmony-js/account'.

1 import { Wallet } from '@harmony-js/account';
                         ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/contract.ts:3:29 - error TS2307: Cannot find module '@harmony-js/transaction'.

3 import { Transaction } from '@harmony-js/transaction';
                              ~~~~~~~~~~~~~~~~~~~~~~~~~

packages/harmony-contract/src/contractFactory.ts:1:24 - error TS2307: Cannot find module '@harmony-js/account'.

1 import { Wallet } from '@harmony-js/account';
                         ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:10:8 - error TS2307: Cannot find module '@harmony-js/network'.

10 } from '@harmony-js/network';
          ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:17:8 - error TS2307: Cannot find module '@harmony-js/utils'.

17 } from '@harmony-js/utils';
          ~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:19:28 - error TS2307: Cannot find module '@harmony-js/crypto'.

19 import { getAddress } from '@harmony-js/crypto';
                              ~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:21:29 - error TS2307: Cannot find module '@harmony-js/transaction'.

21 import { Transaction } from '@harmony-js/transaction';
                               ~~~~~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:58:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

58       this.chainPrefix,
              ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:67:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

67       this.chainPrefix,
              ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:88:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

88       this.chainPrefix,
              ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:110:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

110       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:122:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

122       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:138:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

138       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:160:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

160       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:179:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

179       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:191:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

191       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:206:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

206       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:227:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

227       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:247:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

247       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:269:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

269       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:288:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

288       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:300:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

300       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:318:38 - error TS7006: Parameter 'response' implicitly has an 'any' type.

318       signed.sendTransaction().then((response) => {
                                         ~~~~~~~~

packages/harmony-core/src/blockchain.ts:339:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

339       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/blockchain.ts:348:12 - error TS2339: Property 'chainPrefix' does not exist on type 'Blockchain'.

348       this.chainPrefix,
               ~~~~~~~~~~~

packages/harmony-core/src/util.ts:1:36 - error TS2307: Cannot find module '@harmony-js/utils'.

1 import { ChainType, ChainID } from '@harmony-js/utils';
                                     ~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/harmony.ts:1:25 - error TS2307: Cannot find module '@harmony-js/crypto'.

1 import * as crypto from '@harmony-js/crypto';
                          ~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/harmony.ts:2:24 - error TS2307: Cannot find module '@harmony-js/utils'.

2 import * as utils from '@harmony-js/utils';
                         ~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/harmony.ts:4:53 - error TS2307: Cannot find module '@harmony-js/network'.

4 import { HttpProvider, Messenger, WSProvider } from '@harmony-js/network';
                                                      ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/harmony.ts:5:49 - error TS2307: Cannot find module '@harmony-js/transaction'.

5 import { TransactionFactory, Transaction } from '@harmony-js/transaction';
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/harmony.ts:6:43 - error TS2307: Cannot find module '@harmony-js/contract'.

6 import { ContractFactory, Contract } from '@harmony-js/contract';
                                            ~~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/harmony.ts:7:33 - error TS2307: Cannot find module '@harmony-js/account'.

7 import { Wallet, Account } from '@harmony-js/account';
                                  ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/harmony.ts:46:56 - error TS2339: Property 'chainType' does not exist on type 'Harmony'.

46     this.messenger = new Messenger(this.provider, this.chainType, this.chainId);
                                                          ~~~~~~~~~

packages/harmony-core/src/harmony.ts:46:72 - error TS2339: Property 'chainId' does not exist on type 'Harmony'.

46     this.messenger = new Messenger(this.provider, this.chainType, this.chainId);
                                                                          ~~~~~~~

packages/harmony-core/src/types.ts:1:41 - error TS2307: Cannot find module '@harmony-js/network'.

1 import { HttpProvider, Messenger } from '@harmony-js/network';
                                          ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/types.ts:2:49 - error TS2307: Cannot find module '@harmony-js/transaction'.

2 import { TransactionFactory, Transaction } from '@harmony-js/transaction';
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/types.ts:3:33 - error TS2307: Cannot find module '@harmony-js/account'.

3 import { Wallet, Account } from '@harmony-js/account';
                                  ~~~~~~~~~~~~~~~~~~~~~

packages/harmony-core/src/types.ts:4:36 - error TS2307: Cannot find module '@harmony-js/utils'.

4 import { ChainType, ChainID } from '@harmony-js/utils';
                                     ~~~~~~~~~~~~~~~~~~~


Found 77 errors.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.