microsoft/Bing-Maps-Fleet-Tracker

build issue

jakeatmsft opened this issue · 3 comments

Following error when compiling frontend


ERROR in ./src/app/devices/device-editor/device-editor.component.ts
Module not found: Error: Can't resolve '@aspnet/signalr-client' in 'C:\repos\git\Bing-Maps-Fleet-Tracker\Frontend\src\app\devices\device-editor'
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device-editor/device-editor.component.ts (9,31): Cannot find module '@aspnet/signalr-client'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (31,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (61,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (64,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (67,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (71,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (72,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (73,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (74,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (75,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (78,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (82,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (15,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (17,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (31,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (33,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (36,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (39,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (41,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (43,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (46,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (48,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (50,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (53,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (55,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (57,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/data.service.spec.ts (9,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/data.service.spec.ts (10,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings.service.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings.service.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings.service.spec.ts (15,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings.service.spec.ts (16,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (11,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (15,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (22,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (28,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (29,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (12,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (14,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (15,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (27,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (29,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (32,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (35,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (37,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (39,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (42,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (44,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (46,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (49,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (51,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (54,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching.service.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching.service.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching.service.spec.ts (15,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching.service.spec.ts (16,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (12,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (12,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (12,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location.service.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location.service.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location.service.spec.ts (15,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location.service.spec.ts (16,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (27,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (15,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (20,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (36,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (42,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (43,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (6,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (7,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (9,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (12,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (14,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (11,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (15,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (22,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (28,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (29,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (11,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (15,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (22,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (28,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (29,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,47): ';' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,90): '(' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,104): ']' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,112): ',' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,113): Property assignment expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,121): ')' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,147): '(' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,162): ']' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,163): ',' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,164): Property assignment expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,165): Property assignment expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,179): ',' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,183): ':' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,208): '{' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,217): ':' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,222): ',' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,227): ':' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,228): Expression expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,230): ')' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,30): ';' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (720,1): Declaration or statement expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,224): An object literal cannot have multiple properties with the same name in strict mode.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (575,13): Invalid use of 'arguments'. Modules are automatically in strict mode.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,68): 'ReadonlyArray' only refers to a type, but is being used as a value here.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,92): The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,94): Cannot find name 'methodName'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,106): Cannot find name 'string'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,124): 'ReadonlyArray' only refers to a type, but is being used as a value here.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,149): The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,150): A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,151): Cannot find name 'P'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,156): Cannot find name 'keyof'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,162): Cannot find name 'T'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,180): Cannot find name 'P'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,217): Cannot find name 'T'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,219): Cannot find name 'P'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,49): Cannot find name 'T'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,51): Cannot find name 'k'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,56): 'Spy' only refers to a type, but is being used as a value here.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,62): Cannot find name 'T'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,64): Cannot find name 'k'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (642,24): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (644,32): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (646,41): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (648,33): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (650,34): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (652,17): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (691,37): Cannot find name 'Reporter'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (697,21): Cannot find name 'RunDetails'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (701,19): Cannot find name 'Suite'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (702,33): Cannot find name 'SuiteOrSpec'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (711,15): Cannot find name 'Spec'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (712,16): Cannot find name 'Clock'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (716,30): Cannot find name 'HtmlReporter'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (717,32): Cannot find name 'HtmlSpecFilter'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (725,26): Namespace '"C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index".jasmine' has no exported member 'Jasmine'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device-editor/device-editor.component.ts (9,31): Cannot find module '@aspnet/signalr-client'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (12,3): Cannot find name 'beforeEach'.

webpack: Failed to compile.

See following error on npm install, is there a way to install deprecated client?


PS C:\repos\git\Bing-Maps-Fleet-Tracker\Frontend> npm install @aspnet/signalr-client
npm WARN deprecated @aspnet/signalr-client@1.0.0-alpha2-update1: This package has been deprecated, please use @aspnet/signalr instead

> @aspnet/signalr-client@1.0.0-alpha2-update1 install C:\repos\git\Bing-Maps-Fleet-Tracker\Frontend\node_modules\@aspnet\signalr-client
> echo "This package has been deprecated. Use '@aspnet/signalr' instead." && exit 1

"This package has been deprecated. Use '@aspnet/signalr' instead."

PS C:\repos\git\Bing-Maps-Fleet-Tracker\Frontend> ng -v
Your global Angular CLI version (8.1.2) is greater than your local
version (1.7.4). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".

_                      _                 ____ _     ___

/ \ _ __ __ _ _ | | __ _ _ __ / | | | |
/ △ \ | '
\ / _ | | | | |/ _ | '
| | | | | | |
/ ___ | | | | (
| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/

Angular CLI: 1.7.4
Node: 10.14.2
OS: win32 x64
Angular: 4.4.7
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic, router
... tsc-wrapped

@angular/cdk: 2.0.0-beta.12
@angular/cli: 1.7.4
@angular/material: 2.0.0-beta.12
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.3.4
webpack: 3.11.0

Fixed,

  • upgrade to typescript 3.5.3.
  • Had to update signal-r client library to @aspnet/signalr
  • Fix hubconnection to use new HubConnectionBuilder.

device-editor.component.ts (74):

const signalR = require("@aspnet/signalr");

this.hubConnection = new signalR.HubConnectionBuilder().withUrl(this.deviceService.getDeviceAdditionNotificationUrl()).build();