Comments (8)
Requesting to provide solution for the issue. I am also getting same
from ngrev.
I've just stumbled across this on a project we recently upgraded.
Error during template compile of 'AppRoutingModule;
Function expressions are not supported in decorators in 'routes'
Consider changing the function expression into an exported function
It looks to be where we have started using the () => import('../app/')
syntax for lazy loading modules.
from ngrev.
Here's #58 as a reference.
In the post version 9 release ngrev will not be functional for certain period of time. It'll require rewrite of the parsing library ngast
. It's not yet clear when I'll be able to prioritize it.
from ngrev.
I've just stumbled across this on a project we recently upgraded.
Error during template compile of 'AppRoutingModule; Function expressions are not supported in decorators in 'routes' Consider changing the function expression into an exported function
It looks to be where we have started
using the () => import('../app/')
syntax for lazy loading modules.
I can confirm the link between this usage and the issue.
from ngrev.
Any update on this issue? Would love to use this project but we have an Angular 9 project and the same error above.
from ngrev.
Got a pretty same error :
[Window Title]
Error
[Main Instruction]
Error while parsing project
[Content]
Cannot parse your project. Make sure it's compatible with the Angular's AoT compiler. Error during parsing:
Could not resolve module @angular/core
My project is on angular 10.
from ngrev.
This is still relevant. If anyone has the bandwidth to migrate the project to the latest version to ngast, I'd be more than happy to help.
Until then, I'll lock the thread since the problem is in the lack of Ivy support.
from ngrev.
Some good news. Over the past few days I've been working on Ivy support. You can find it here. It's still not trivial to get the app up and running, but make sure you follow this issue for updates.
from ngrev.
Related Issues (20)
- Broken build HOT 6
- Duplicated application root module HOT 4
- basic question angularJS and JSP
- can't parse nx app HOT 1
- Support - I cannot understand how it's working.
- Cannot drag vertically
- error parsing dependencies if a service has an inherited constructor.
- Error while parsing project for Angular 12 App HOT 3
- Macos version
- Error parsing with lazy loading modules HOT 1
- useFactory with Lambda fails HOT 1
- Injectables visualisation HOT 4
- feature: component's detail view
- feature: component's view
- feature: additional view with analysed info
- bug: show libs option doesn't work in module view
- feature: change colour of libs modules
- feature(module view): show modules where the selected module is imported
- Add support for template visualization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngrev.