mgechev / ngrev

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

Doesn't work with application generated by JHipster #37

Closed gmarziou closed 6 years ago

gmarziou commented 6 years ago

Hello,

On Windows, there's an error which seems to be due to confusion between /and \:

This was run against this project and works fine on Ubuntu.

image

mgechev commented 6 years ago

Would you share your tsconfig.json file?

gmarziou commented 6 years ago

Sure, for AOT: https://github.com/jhipster/jhipster-sample-app/blob/master/tsconfig-aot.json

mgechev commented 6 years ago

Perfect, thanks! Will try this when I find some spare time.

mgechev commented 6 years ago

JFYI, this app doesn't work on Mac either. It fails with an error during parsing of the project. Hopefully later this month or in March, I'll be able to take a look at this.

gmarziou commented 6 years ago

Thanks, there's no emergency. I am able to run it on Ubuntu though it finds some issues with my tests and AOT, so maybe I should fix them or find a way to exclude tests from being parsed by ngrev.

mgechev commented 6 years ago

This will be very helpful!

mgechev commented 6 years ago

@gmarziou would you try now? Version 0.0.18 updates the compiler.

gmarziou commented 6 years ago

Thanks, I'll try tonight or tomorrow

gmarziou commented 6 years ago

It works fine. I just had to delete tests which were not AOT-ready. Thanks.

image

mgechev commented 6 years ago

❤️