You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flow.ts:141:19 - error TS2554: Expected 1 arguments, but got 5.
141 let request = new TokenRequest(
~~~~~~~~~~~~~~~~~
142 clientId,
~~~~~~~~~~~~~~~
...
146 undefined
~~~~~~~~~~~~~~~
147 );
~~~~~
flow.ts:182:19 - error TS2554: Expected 1 arguments, but got 5.
182 let request = new TokenRequest(
~~~~~~~~~~~~~~~~~
183 clientId,
~~~~~~~~~~~~~~~
...
187 this.refreshToken
~~~~~~~~~~~~~~~~~~~~~~~
188 );
~~~~~
[11:20:13] Found 3 errors. Watching for file changes.
Terminate batch job (Y/N)? y
PS C:\dev\Electron\okta-electron-example> npm i
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN appauth-electron@0.1.0 No repository field.
added 171 packages from 106 contributors and audited 1157 packages in 26.583s
found 0 vulnerabilities
[11:25:00] Starting compilation in watch mode...
flow.ts:118:21 - error TS2554: Expected 1-3 arguments, but got 6.
Have you tried comparing your code to the code in this repo? Does it happen when you clone the repo and run it from there? Instructions are in this project's README.
Hi
Followed the article instructions
Including upgrade to Electron 3.0.0 etc...
But fail
`[11:20:07] Starting compilation in watch mode...
flow.ts:118:21 - error TS2554: Expected 1-3 arguments, but got 6.
118 const request = new AuthorizationRequest(
~~~~~~~~~~~~~~~~~~~~~~~~~
119 clientId,
~~~~~~~~~~~~~~~
...
124 extras
~~~~~~~~~~~~
125 );
~~~~~
flow.ts:141:19 - error TS2554: Expected 1 arguments, but got 5.
141 let request = new TokenRequest(
~~~~~~~~~~~~~~~~~
142 clientId,
~~~~~~~~~~~~~~~
...
146 undefined
~~~~~~~~~~~~~~~
147 );
~~~~~
flow.ts:182:19 - error TS2554: Expected 1 arguments, but got 5.
182 let request = new TokenRequest(
~~~~~~~~~~~~~~~~~
183 clientId,
~~~~~~~~~~~~~~~
...
187 this.refreshToken
~~~~~~~~~~~~~~~~~~~~~~~
188 );
~~~~~
[11:20:13] Found 3 errors. Watching for file changes.
Terminate batch job (Y/N)? y
PS C:\dev\Electron\okta-electron-example> npm i
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN appauth-electron@0.1.0 No repository field.
added 171 packages from 106 contributors and audited 1157 packages in 26.583s
found 0 vulnerabilities
[11:25:00] Starting compilation in watch mode...
flow.ts:118:21 - error TS2554: Expected 1-3 arguments, but got 6.
118 const request = new AuthorizationRequest(
~~~~~~~~~~~~~~~~~~~~~~~~~
119 clientId,
~~~~~~~~~~~~~~~
...
124 extras
~~~~~~~~~~~~
125 );
~~~~~
flow.ts:141:19 - error TS2554: Expected 1 arguments, but got 5.
141 let request = new TokenRequest(
~~~~~~~~~~~~~~~~~
142 clientId,
~~~~~~~~~~~~~~~
...
146 undefined
~~~~~~~~~~~~~~~
147 );
~~~~~
flow.ts:182:19 - error TS2554: Expected 1 arguments, but got 5.
182 let request = new TokenRequest(
~~~~~~~~~~~~~~~~~
183 clientId,
~~~~~~~~~~~~~~~
...
187 this.refreshToken
~~~~~~~~~~~~~~~~~~~~~~~
188 );
~~~~~
[11:25:07] Found 3 errors. Watching for file changes.`
The text was updated successfully, but these errors were encountered: