Skip to content

An unhandled exception occurred while processing the request. #381

Closed
@mahavirjadhav

Description

@mahavirjadhav

Hi, I am facing following issues. After building application from command line it is giving following errors. Also I modified nav component. In that I have added one image but its not working. detailed error is as following.

` ERROR in G:/aspnetcore-angular2-universal-master/node_modules/rxjs/Subject.d.ts (16,22): Class 'Subject' incorrectly extends base class 'Observable'.
Types of property 'lift' are incompatible.
Type '(operator: Operator<T, R>) => Observable' is not assignable to type '(operator: Operator<T, R>) => Observable'.
Type 'Observable' is not assignable to type 'Observable'.
Type 'T' is not assignable to type 'R'.

ERROR in G:/aspnetcore-angular2-universal-master/Client/app/shared/route.resolver.ts (7,14): Class 'ConnectionResolver' incorrectly implements interface 'Resolve<SignalRConnection>'.
  Types of property 'resolve' are incompatible.
    Type '() => Promise<ISignalRConnection>' is not assignable to type '(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => SignalRConnection | Observable<Sig...'.
      Type 'Promise<ISignalRConnection>' is not assignable to type 'SignalRConnection | Observable<SignalRConnection> | Promise<SignalRConnection>'.
        Type 'Promise<ISignalRConnection>' is not assignable to type 'Promise<SignalRConnection>'.
          Type 'ISignalRConnection' is not assignable to type 'SignalRConnection'.
            Property '_status' is missing in type 'ISignalRConnection'.

ERROR in G:/aspnetcore-angular2-universal-master/Client/app/shared/route.resolver.ts (7,14): Class 'ConnectionResolver' incorrectly implements interface 'Resolve<SignalRConnection>'.
  Types of property 'resolve' are incompatible.
    Type '() => Promise<ISignalRConnection>' is not assignable to type '(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => SignalRConnection | Observable<Sig...'.
      Type 'Promise<ISignalRConnection>' is not assignable to type 'SignalRConnection | Observable<SignalRConnection> | Promise<SignalRConnection>'.
        Type 'Promise<ISignalRConnection>' is not assignable to type 'Promise<SignalRConnection>'.
          Type 'ISignalRConnection' is not assignable to type 'SignalRConnection'.
            Property '_status' is missing in type 'ISignalRConnection'.

ERROR in ./Client/app/Content/Images/user2.jpg
Module parse failed: G:\aspnetcore-angular2-universal-master\Client\app\Content\Images\user2.jpg Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
 @ ./Client/app/components/navmenu/navmenu.component.html 1:5263-5304 1:5997-6038 1:9885-9926 1:10240-10281
 @ ./Client/app/components/navmenu/navmenu.component.ts
 @ ./Client/app/app.module.ts
 @ ./Client/app/server-app.module.ts
 @ ./Client/main.server.ts`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions