question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ngrev fails to parse the project

See original GitHub issue

Here is a link to the project: https://github.com/ipassynk/angular-springboot-jwt

ngrev on mac version 0.0.9

Trying to use ngrev on Mac. The following exception is displayed:

julia-mac:angular-springboot-jwt$/Applications/ngrev.app/Contents/MacOS/ngrev 
{ name: 'production' }
Loading project: "/Users/juliapassynkova/angular2/code/angular-springboot-jwt/package.json"
/Users/juliapassynkova/angular2/code/angular-springboot-jwt/package.json
Error: Error encountered resolving symbol values statically. Could not resolve app/guards/auth-guard.service relative to /Users/juliapassynkova/angular2/code/angular-springboot-jwt/src/app/app-routing.module.ts.
    at simplify (/Applications/ngrev.app/Contents/Resources/app.asar/node_modules/@angular/compiler/bundles/compiler.umd.js:23849:54)
    at simplify (/Applications/ngrev.app/Contents/Resources/app.asar/node_modules/@angular/compiler/bundles/compiler.umd.js:23680:56)
    at /Applications/ngrev.app/Contents/Resources/app.asar/node_modules/@angular/compiler/bundles/compiler.umd.js:23857:85
    at /Applications/ngrev.app/Contents/Resources/app.asar/node_modules/@angular/compiler/bundles/compiler.umd.js:23948:38
    at Array.forEach (native)
    at mapStringMap (/Applications/ngrev.app/Contents/Resources/app.asar/node_modules/@angular/compiler/bundles/compiler.umd.js:23947:24)
    at simplify (/Applications/ngrev.app/Contents/Resources/app.asar/node_modules/@angular/compiler/bundles/compiler.umd.js:23857:28)
    at simplify (/Applications/ngrev.app/Contents/Resources/app.asar/node_modules/@angular/compiler/bundles/compiler.umd.js:23680:56)
    at simplifyInContext (/Applications/ngrev.app/Contents/Resources/app.asar/node_modules/@angular/compiler/bundles/compiler.umd.js:23862:24)
    at /Applications/ngrev.app/Contents/Resources/app.asar/node_modules/@angular/compiler/bundles/compiler.umd.js:23624:69

The project complies with AOT without problem:

julia-mac:angular-springboot-jwt$ng build --prod --aot
Hash: 4d86fd37fd5320274fcf                                                              
Time: 16897ms
chunk    {0} polyfills.5aae015f16e5b66f61e9.bundle.js (polyfills) 157 kB {4} [initial] [rendered]
chunk    {1} main.c31742351d49e328b5f3.bundle.js (main) 96.5 kB {3} [initial] [rendered]
chunk    {2} styles.b17b8c150ef19d5eb7a6.bundle.css (styles) 122 bytes {4} [initial] [rendered]
chunk    {3} vendor.3048f582ab3c6e829f9b.bundle.js (vendor) 1.39 MB [initial] [rendered]
chunk    {4} inline.dab39c4f3c13a4e0b67f.bundle.js (inline) 0 bytes [entry] [rendered]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mgechevcommented, May 12, 2017

Thanks for reporting the issue and providing a sample repo! Tomorrow I’ll see what’s wrong.

0reactions
ipassynkcommented, May 15, 2017

I will try to reproduce the issue on another Mac today and let you know. Thanks a lot for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ngrev - Bountysource
Hi,. I've got the following issue : Cannot parse your project. Make sure it's compatible with the Angular's AoT compiler. Error during parsing:...
Read more >
Teradata/covalent - Gitter
Has anyone tried to analyze project with ngrev (https://github.com/mgechev/ngrev )? I am getting this issue: "Cannot parse your project.
Read more >
Announcing ngrev - Reverse Engineering Tool for Angular
In case your application is compatible with Angular's Ahead-of-Time compiler ngast can parse your entire codebase and return an abstract ...
Read more >
Angular CLI project failed to compile - node.js - Stack Overflow
first remove node module and Uninstall the node. reinstall the application angular.io with globally than. npm install -g @angular/cli.
Read more >
Top 5 ngast Code Examples - Snyk
Further connect your project with Snyk to gain real-time vulnerability scanning and ... tsconfig.json'; } if (!existsSync(projectPath)) { error('Cannot find ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found