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

Ubuntu 19.10 desktop npm install #3

Open
ArqTras opened this issue Mar 1, 2020 · 0 comments
Open

Ubuntu 19.10 desktop npm install #3

ArqTras opened this issue Mar 1, 2020 · 0 comments

Comments

@ArqTras
Copy link

ArqTras commented Mar 1, 2020

src/config.ts:1:5 - error TS2451: Cannot redeclare block-scoped variable 'global'.

1 let global : any = typeof window !== 'undefined' ? window : self;
~~~~~~

src/model/AppState.ts:37:5 - error TS2322: Type 'Timeout' is not assignable to type 'number'.

37 self.intervalSave = setTimeout(function(){
~~~~~~~~~~~~~~~~~

src/model/WalletWatchdog.ts:58:3 - error TS2322: Type 'Timeout' is not assignable to type 'number'.

58 this.intervalTransactionsProcess = setInterval(function(){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/model/WalletWatchdog.ts:74:4 - error TS2322: Type 'Timeout' is not assignable to type 'number'.

74 this.intervalMempool = setInterval(function(){
~~~~~~~~~~~~~~~~~~~~

src/model/WalletWatchdog.ts:187:4 - error TS2322: Type 'Timeout' is not assignable to type 'number'.

187 this.intervalTransactionsProcess = setInterval(function(){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/pages/account.ts:44:3 - error TS2322: Type 'Timeout' is not assignable to type 'number'.

44 this.intervalRefresh = setInterval(function(){
~~~~~~~~~~~~~~~~~~~~

src/pages/network.ts:38:3 - error TS2322: Type 'Timeout' is not assignable to type 'number'.

38 this.intervalRefreshStat = setInterval(function(){
~~~~~~~~~~~~~~~~~~~~~~~~

src/pages/send.ts:377:4 - error TS2322: Type 'Timeout' is not assignable to type 'number'.

377 this.timeoutResolveAlias = setTimeout(function () {
~~~~~~~~~~~~~~~~~~~~~~~~

../node_modules/@types/node/globals.d.ts:144:13 - error TS2451: Cannot redeclare block-scoped variable 'global'.

144 declare var global: NodeJS.Global;
~~~~~~

../node_modules/@types/node/globals.d.ts:167:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'require' must be of type 'Require', but here has type 'NodeRequire'.

167 declare var require: NodeRequire;
~~~~~~~

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