Giter Club home page Giter Club logo

Comments (3)

linhuiw avatar linhuiw commented on May 12, 2024

@agiledigits Fixed. you can reference the ng demo code here

from viser.

agiledigits avatar agiledigits commented on May 12, 2024

@linhuiw With the demo app I'm still getting this error:
$ ng build --prod
Date: 2018-01-22T19:29:37.376Z
Hash: 5ffe57570d0b80e57423
Time: 3738ms
chunk {0} styles.9c0ad738f18adc3d19ed.bundle.css (styles) 79 bytes [initial] [rendered]
chunk {1} polyfills.3bc34265385d52184eab.bundle.js (polyfills) 86 bytes [initial] [rendered]
chunk {2} main.e402deade8b026b7d50e.bundle.js (main) 84 bytes [initial] [rendered]
chunk {3} inline.22b7623ed7c5ac6f9a35.bundle.js (inline) 1.45 kB [entry] [rendered]

ERROR in : Unexpected value 'Axis in /xxxxx/viser-ng-demo/node_modules/viser-ng/src/components/index.ts' declared by the module 'ViserModule in /xxxxx/viser-ng-demo/node_modules/viser-ng/src/module.ts'. Please add a @Pipe/@Directive/@component annotation.

I'm not sure why the build would go into "node_modules/viser-ng/src". The build works without the "--prod" switch.

My TypeScript version is 2.6.2.

from viser.

linhuiw avatar linhuiw commented on May 12, 2024

It looks that in Aot mode , works error.

perhaps related to this issue angular/angular#15890
Let me see how to fix it.

from viser.

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.