Coder Social home page Coder Social logo

Comments (5)

PloughingAByteField avatar PloughingAByteField commented on July 21, 2024

I am getting something similar but only for spec files below is a snip

[INFO] WARNING in .//@ng-idle/core/src/keepalivesvc.js
[INFO] (Emitted value instead of an instance of Error) Cannot find source file '../../../../modules/core/src/keepalivesvc.ts': Error: Can't resolve '../../../../modules/core/src/keepalivesvc.ts' in '/Users/johnreynolds/src/tiatus/server/node_modules/@ng-idle/core/src'
[INFO] @ ./
/@ng-idle/core/index.js 10:0-35

I guess it is due to the source maps pointing to the modules folder containing which is stripped when packaging both core and keepalive

from ng2-idle.

arloduff avatar arloduff commented on July 21, 2024

I'm getting the same. Is there an update to this?

from ng2-idle.

PloughingAByteField avatar PloughingAByteField commented on July 21, 2024

I was having the issues in my webpack tests run using the source-map-loader and is due to the @ng-idle not having the ts sources in the npm tarball. This is as angular and rxjs do.
As angular and rxjs have this issue when using the source-map-loader I had excludes in place for them, I just added another entry to the source-map-loader exclude list.

see auth0/angular2-jwt#297 for the source-map-loader config.

from ng2-idle.

arloduff avatar arloduff commented on July 21, 2024

Ah I see. Thanks!

from ng2-idle.

toanxyz avatar toanxyz commented on July 21, 2024

I have the same issue too, is there any fix for this?

from ng2-idle.

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.