Hi,
I have followed the instructions here but get the following error when I click on the "login / signup" link.
vendor-bundle.js:14283 ERROR [app-router] Error: Network Error
at XMLHttpRequest.s.onerror (http://localhost:9000/scripts/vendor-bundle.js:26246:27086)
From previous event:
at t.getJson (http://localhost:9000/scripts/vendor-bundle.js:26246:26794)
at t.getMetadata (http://localhost:9000/scripts/vendor-bundle.js:26246:23437)
at t._getMetadataProperty (http://localhost:9000/scripts/vendor-bundle.js:26246:24956)
at t.getAuthorizationEndpoint (http://localhost:9000/scripts/vendor-bundle.js:26246:23943)
at e.t.createSigninRequest (http://localhost:9000/scripts/vendor-bundle.js:26246:4308)
at http://localhost:9000/scripts/vendor-bundle.js:26319:11990
at
From previous event:
at e._signinStart (http://localhost:9000/scripts/vendor-bundle.js:26319:11917)
at e.signinRedirect (http://localhost:9000/scripts/vendor-bundle.js:26319:9960)
at OpenIdConnectNavigationStrategies.login (http://localhost:9000/scripts/app-bundle.js:540:37)
at Object.navigationStrategy (http://localhost:9000/scripts/app-bundle.js:382:68)
at evaluateNavigationStrategy (http://localhost:9000/scripts/debug-bundle.js:1135:38)
at AppRouter._createNavigationInstruction (http://localhost:9000/scripts/debug-bundle.js:1068:18)
at AppRouter.loadUrl (http://localhost:9000/scripts/debug-bundle.js:1676:19)
at BrowserHistory._loadUrl (http://localhost:9000/scripts/vendor-bundle.js:13611:55)
at BrowserHistory.navigate (http://localhost:9000/scripts/vendor-bundle.js:13567:21)
at HTMLDocument.DefaultLinkHandler._this.handler (http://localhost:9000/scripts/vendor-bundle.js:13378:25)
error @ vendor-bundle.js:14283
(anonymous) @ vendor-bundle.js:13878
(anonymous) @ debug-bundle.js:1679
tryCatcher @ vendor-bundle.js:3411
Promise._settlePromiseFromHandler @ vendor-bundle.js:2627
Promise._settlePromise @ vendor-bundle.js:2684
Promise._settlePromise0 @ vendor-bundle.js:2729
Promise._settlePromises @ vendor-bundle.js:2804
(anonymous) @ vendor-bundle.js:153
When I run the RunDemo.ps1 I also get these errors in the aurelia console
node_modules@types\whatwg-fetch\index.d.ts(11,13): error TS2451: Cannot redeclare block-scoped variable 'fetch'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(11,13): error TS2451: Cannot redeclare block-scoped variable 'fetch'.
node_modules@types\whatwg-fetch\index.d.ts(13,14): error TS2300: Duplicate identifier 'HeadersInit'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(13,14): error TS2300: Duplicate identifier 'HeadersInit'.
node_modules@types\whatwg-fetch\index.d.ts(14,15): error TS2300: Duplicate identifier 'Headers'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(14,15): error TS2300: Duplicate identifier 'Headers'.
node_modules@types\whatwg-fetch\index.d.ts(31,14): error TS2300: Duplicate identifier 'BodyInit'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(31,14): error TS2300: Duplicate identifier 'BodyInit'.
node_modules@types\whatwg-fetch\index.d.ts(43,14): error TS2300: Duplicate identifier 'RequestInfo'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(43,14): error TS2300: Duplicate identifier 'RequestInfo'.
node_modules@types\whatwg-fetch\index.d.ts(44,15): error TS2300: Duplicate identifier 'Request'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(44,15): error TS2300: Duplicate identifier 'Request'.
node_modules@types\whatwg-fetch\index.d.ts(64,11): error TS2300: Duplicate identifier 'Request'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(64,11): error TS2300: Duplicate identifier 'Request'.
node_modules@types\whatwg-fetch\index.d.ts(76,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'window' must be of type 'any', but here has type 'null'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(76,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'window' must be of type 'any', but here has type 'null'.
node_modules@types\whatwg-fetch\index.d.ts(79,6): error TS2300: Duplicate identifier 'RequestType'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(79,6): error TS2300: Duplicate identifier 'RequestType'.
node_modules@types\whatwg-fetch\index.d.ts(80,6): error TS2300: Duplicate identifier 'RequestDestination'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(80,6): error TS2300: Duplicate identifier 'RequestDestination'.
node_modules@types\whatwg-fetch\index.d.ts(81,6): error TS2300: Duplicate identifier 'RequestMode'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(81,6): error TS2300: Duplicate identifier 'RequestMode'.
node_modules@types\whatwg-fetch\index.d.ts(82,6): error TS2300: Duplicate identifier 'RequestCredentials'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(82,6): error TS2300: Duplicate identifier 'RequestCredentials'.
node_modules@types\whatwg-fetch\index.d.ts(83,6): error TS2300: Duplicate identifier 'RequestCache'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(83,6): error TS2300: Duplicate identifier 'RequestCache'.
node_modules@types\whatwg-fetch\index.d.ts(84,6): error TS2300: Duplicate identifier 'RequestRedirect'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(84,6): error TS2300: Duplicate identifier 'RequestRedirect'.
node_modules@types\whatwg-fetch\index.d.ts(86,6): error TS2300: Duplicate identifier 'ReferrerPolicy'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(86,6): error TS2300: Duplicate identifier 'ReferrerPolicy'.
node_modules@types\whatwg-fetch\index.d.ts(88,15): error TS2300: Duplicate identifier 'Response'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(88,15): error TS2300: Duplicate identifier 'Response'.
node_modules@types\whatwg-fetch\index.d.ts(107,11): error TS2300: Duplicate identifier 'Response'.
[20:47:06] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(107,11): error TS2300: Duplicate identifier 'Response'.
node_modules@types\whatwg-fetch\index.d.ts(115,6): error TS2300: Duplicate identifier 'ResponseType'.
[20:47:07] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-fetch\index.d.ts(115,6): error TS2300: Duplicate identifier 'ResponseType'.
node_modules@types\whatwg-streams\index.d.ts(32,15): error TS2300: Duplicate identifier 'ReadableStream'.
[20:47:07] gulp-notify: [Error running Gulp] Error: node_modules@types\whatwg-streams\index.d.ts(32,15): error TS2300: Duplicate identifier 'ReadableStream'.
__lib/lib.dom.d.ts(3896,11): error TS2300: Duplicate identifier 'Headers'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(3896,11): error TS2300: Duplicate identifier 'Headers'.
__lib/lib.dom.d.ts(3905,13): error TS2300: Duplicate identifier 'Headers'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(3905,13): error TS2300: Duplicate identifier 'Headers'.
__lib/lib.dom.d.ts(9029,11): error TS2300: Duplicate identifier 'ReadableStream'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(9029,11): error TS2300: Duplicate identifier 'ReadableStream'.
__lib/lib.dom.d.ts(9035,13): error TS2300: Duplicate identifier 'ReadableStream'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(9035,13): error TS2300: Duplicate identifier 'ReadableStream'.
__lib/lib.dom.d.ts(9051,11): error TS2300: Duplicate identifier 'Request'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(9051,11): error TS2300: Duplicate identifier 'Request'.
__lib/lib.dom.d.ts(9068,13): error TS2300: Duplicate identifier 'Request'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(9068,13): error TS2300: Duplicate identifier 'Request'.
__lib/lib.dom.d.ts(9073,11): error TS2300: Duplicate identifier 'Response'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(9073,11): error TS2300: Duplicate identifier 'Response'.
__lib/lib.dom.d.ts(9084,13): error TS2300: Duplicate identifier 'Response'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(9084,13): error TS2300: Duplicate identifier 'Response'.
__lib/lib.dom.d.ts(14687,18): error TS2451: Cannot redeclare block-scoped variable 'fetch'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14687,18): error TS2451: Cannot redeclare block-scoped variable 'fetch'.
__lib/lib.dom.d.ts(14692,6): error TS2300: Duplicate identifier 'BodyInit'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14692,6): error TS2300: Duplicate identifier 'BodyInit'.
__lib/lib.dom.d.ts(14713,6): error TS2300: Duplicate identifier 'HeadersInit'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14713,6): error TS2300: Duplicate identifier 'HeadersInit'.
__lib/lib.dom.d.ts(14723,6): error TS2300: Duplicate identifier 'RequestInfo'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14723,6): error TS2300: Duplicate identifier 'RequestInfo'.
__lib/lib.dom.d.ts(14771,6): error TS2300: Duplicate identifier 'ReferrerPolicy'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14771,6): error TS2300: Duplicate identifier 'ReferrerPolicy'.
__lib/lib.dom.d.ts(14772,6): error TS2300: Duplicate identifier 'RequestCache'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14772,6): error TS2300: Duplicate identifier 'RequestCache'.
__lib/lib.dom.d.ts(14773,6): error TS2300: Duplicate identifier 'RequestCredentials'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14773,6): error TS2300: Duplicate identifier 'RequestCredentials'.
__lib/lib.dom.d.ts(14774,6): error TS2300: Duplicate identifier 'RequestDestination'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14774,6): error TS2300: Duplicate identifier 'RequestDestination'.
__lib/lib.dom.d.ts(14775,6): error TS2300: Duplicate identifier 'RequestMode'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14775,6): error TS2300: Duplicate identifier 'RequestMode'.
__lib/lib.dom.d.ts(14776,6): error TS2300: Duplicate identifier 'RequestRedirect'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14776,6): error TS2300: Duplicate identifier 'RequestRedirect'.
__lib/lib.dom.d.ts(14777,6): error TS2300: Duplicate identifier 'RequestType'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14777,6): error TS2300: Duplicate identifier 'RequestType'.
__lib/lib.dom.d.ts(14778,6): error TS2300: Duplicate identifier 'ResponseType'.
[20:47:07] gulp-notify: [Error running Gulp] Error: __lib/lib.dom.d.ts(14778,6): error TS2300: Duplicate identifier 'ResponseType'.
[20:47:07] TypeScript: 39 semantic errors
[20:47:07] TypeScript: emit succeeded (with errors)
Finished 'buildTypeScript'
Starting 'writeBundles'...