Giter Site home page Giter Site logo

Comments (5)

emoralesb05 avatar emoralesb05 commented on May 30, 2024

Cant really replicate the error, can you give us more info about your env?

from vantage-ui-template.

enzonotario avatar enzonotario commented on May 30, 2024

Well the ng -v shows me that:

@angular/cli: 1.0.0
node: 6.10.0
os: linux x64
@angular/animations: 4.0.2
@angular/common: 4.0.2
@angular/compiler: 4.0.2
@angular/core: 4.0.2
@angular/flex-layout: 2.0.0-beta.7
@angular/forms: 4.0.2
@angular/http: 4.0.2
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.2
@angular/platform-browser-dynamic: 4.0.2
@angular/platform-server: 4.0.2
@angular/router: 4.0.2
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.0

Maybe it's only my problem. I don't know why... but, at the end, it works adding that line. I only submit this issue thinking that maybe you forgotten to add that line, or to know if I must not add that line and have to check other thing of my env...

from vantage-ui-template.

emoralesb05 avatar emoralesb05 commented on May 30, 2024

Yeah not sure either, but files only tell the compiler which items to include in its compilation (which main.ts is the entry point). So that should be fine if that works for you.

from vantage-ui-template.

enzonotario avatar enzonotario commented on May 30, 2024

ok, thanks so much!

from vantage-ui-template.

aervin avatar aervin commented on May 30, 2024

As a follow up--

Adding "files": ["main"] to tsconfig solved this problem for me as well.

While dealing w/ this issue, I noticed the CLI was serving up my main/vendor/inline/etc bundles, but not my lazy-loaded modules. After adding "files": ["main"] to tsconfig, lazy-loaded "chunks" are compiled like normal. Leads me to believe this may be an issue with lazy-loaded modules and the compiler? Just thought I'd share.

from vantage-ui-template.

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.