mgechev / ngrev

Tool for reverse engineering of Angular applications
MIT License
1.58k stars 106 forks source link

Error while parsing project #49

Open splincode opened 5 years ago

splincode commented 5 years ago

image

@Directive({
    selector: 'cdk-virtual-scroll-viewport[tableData]',
    providers: [
        {
            provide: VIRTUAL_SCROLL_STRATEGY,
            useFactory: (scroll: TableFixedSizeVirtualScroll) => scroll.scrollStrategy,
            deps: [forwardRef(() => TableFixedSizeVirtualScroll)]
        }
    ]
})
export class TableFixedSizeVirtualScroll<T = any> implements OnInit, OnChanges, OnDestroy {
}
cwayfinder commented 5 years ago

I faced the same issue. I suspect this is related to custom "baseUrl": "src" in tsconfig.json

mgechev commented 5 years ago

@cwayfinder did you resolve the issue after updating baseeUrl?

cwayfinder commented 5 years ago

@mgechev yes

DmitryEfimenko commented 5 years ago

I can't seem to be able to solve this one. Switching baseUrl to the default './' does not help. Can't really share the code either since it's a project at work :/

It might be related to #50. I do have custom paths defined in tsconfig.json