Giter Club home page Giter Club logo

Comments (8)

kiranmate avatar kiranmate commented on September 4, 2024 7

Requesting to provide solution for the issue. I am also getting same

from ngrev.

AndrewAllison avatar AndrewAllison commented on September 4, 2024 3

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.

mgechev avatar mgechev commented on September 4, 2024 2

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.

sebastien-A256 avatar sebastien-A256 commented on September 4, 2024

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.

Neuroforge avatar Neuroforge commented on September 4, 2024

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.

evan-boissonnot avatar evan-boissonnot commented on September 4, 2024

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.

mgechev avatar mgechev commented on September 4, 2024

#57 (comment)

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.

mgechev avatar mgechev commented on September 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.