Coder Social home page Coder Social logo

AOT compilation fails about angular-pipes HOT 12 CLOSED

fknop avatar fknop commented on May 13, 2024
AOT compilation fails

from angular-pipes.

Comments (12)

fknop avatar fknop commented on May 13, 2024

What version of ngc are you using ? I tried a few days ago I didn't have any issues.

from angular-pipes.

aegyed91 avatar aegyed91 commented on May 13, 2024

"@angular/compiler": "2.3.0",
"@angular/compiler-cli": "2.3.0",

from angular-pipes.

fknop avatar fknop commented on May 13, 2024

Can you try with 2.3.1 ?

from angular-pipes.

aegyed91 avatar aegyed91 commented on May 13, 2024

Got the same result with (double checked the node_module to make sure npm isnt loading the cached version):

    "@angular/common": "^2.3.1",
    "@angular/compiler": "^2.3.1",
    "@angular/compiler-cli": "^2.3.1",
    "@angular/core": "^2.3.1",
    "@angular/forms": "^2.3.1",
    "@angular/http": "^2.3.1",
    "@angular/platform-browser": "2.3.1",
    "@angular/platform-browser-dynamic": "2.3.1",
    "@angular/router": "3.3.1",
    "@angular/tsc-wrapped": "^0.5.0",
    "angular-pipes": "^5.5.0",

I think the error is caused because the lack of a metadata.json file, dougludlow/ng2-bs3-modal#105 (comment). But not sure are all.

Is it working on your side?

from angular-pipes.

fknop avatar fknop commented on May 13, 2024

Did it work with the previous versions ? 5.4.0 or 5.3.0 ?

from angular-pipes.

aegyed91 avatar aegyed91 commented on May 13, 2024

I dont know, havent tried it for a long time.

from angular-pipes.

fknop avatar fknop commented on May 13, 2024

I'm busy I won't be able to try it today. If not tonight, I'll try tomorrow.

from angular-pipes.

aegyed91 avatar aegyed91 commented on May 13, 2024

Alright, if i get to the end of my tasks today and still got some time left from work time ill try to fix it as well

from angular-pipes.

aegyed91 avatar aegyed91 commented on May 13, 2024

Btw it seems you also generate the metadata files from what ngc feeds from.

Also compared your build files to some other ng2 modules i use. The only difference i recognized is: only ur files contains index.suffix.extension. No other project uses index files. Maybe this doesnt matter at all, maybe it does. (some weird module resolution option)

It is not much help i know. 💃

from angular-pipes.

fknop avatar fknop commented on May 13, 2024

Just tried, it compiles with ngc 2.3.1 and angular-pipes 5.5.0

from angular-pipes.

aegyed91 avatar aegyed91 commented on May 13, 2024

I wanted to create a reproduction repo but the aot compilation ran down perfectly there.

It is really weird why i keep getting Unexpected value 'NgPipesModule' imported by the module 'AppM', will further debug it. Sorry for tripping you with a non-existed issue.

from angular-pipes.

fknop avatar fknop commented on May 13, 2024

No problem.

Check this comment. angular/angular#11438 (comment).
I remember having the issue, but it was in JIT mode.

from angular-pipes.

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.