Giter VIP home page Giter VIP logo

Comments (7)

urish avatar urish commented on July 4, 2024

Hi, there is an example with SystemJS in this plnkr:

http://plnkr.co/edit/ziBJ0mftSjnz0SrYPwbo?p=preview

Also, see these issues regarding SystemJS:

#19
#11

from ngx-moment.

pantonis avatar pantonis commented on July 4, 2024

urish,

Thanks for the example but it doesn't work. I think remote scripts do not load

from ngx-moment.

urish avatar urish commented on July 4, 2024

Seems like rawgit.com is experiencing some problems:

image

I suggest to try again in an hour or so, hopefully they will resolve these issues

from ngx-moment.

pantonis avatar pantonis commented on July 4, 2024

I tried this in my own project with the rawgit links and I still get

File 'C:/GIT/TestProj/TestProj.Web/node_modules/angular2-moment/TimeAgoPipe.ts' is not under 'rootDir' 'C:/GIT/TestProj/TestProj.Web/wwwroot/app'. 'rootDir' is expected to contain all source files.

Cannot find name 'ZoneSpec'.
Cannot find name 'ZoneDelegate'.
Cannot find name 'Zone'.

from ngx-moment.

urish avatar urish commented on July 4, 2024

Did you check out the solution proposed in #19 ?

from ngx-moment.

pantonis avatar pantonis commented on July 4, 2024

Yes,

I have even install moment typings globally

from ngx-moment.

pantonis avatar pantonis commented on July 4, 2024

Managed to eliminate all errors except the following:

File 'C:/GIT/TestProj/TestProj.Web/node_modules/angular2-moment/TimeAgoPipe.ts' is not under 'rootDir' 'C:/GIT/TestProj/TestProj.Web/wwwroot/app'. 'rootDir' is expected to contain all source files.

I have copied paste the angular2-moment folder under wwwroot/app but still get the same error.

from ngx-moment.

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.