Coder Social home page Coder Social logo

Comments (6)

moribvndvs avatar moribvndvs commented on July 2, 2024

How are you building/bundling your application? I think your configuration has some issues. I'd expect to find the main export for core to be in node_modules/@ng-idle/core/index.js

from ng2-idle.

gustavolira avatar gustavolira commented on July 2, 2024

Hi @hackedbychinese first of all, thank you for your attention.
I'm using angular2 seed. If I put @ng-idle/core/index I start receive another 404:
GET http://localhost:5555/node_modules/traceur.js 404 Not Found

from ng2-idle.

dlangsam avatar dlangsam commented on July 2, 2024

I am also having a similar problem

from ng2-idle.

ManasviA avatar ManasviA commented on July 2, 2024

@gustavolira @dlangsam Please add following to tools/config/project.config.ts file:

let additionalPackages: ExtendPackages[] = [{
      name: '@ng-idle/core',
      // Path to the package's bundle
      path: 'node_modules/@ng-idle/core/bundles/core.umd.js'
    }];
this.addPackagesBundles(additionalPackages);

This should resolve the issue.

from ng2-idle.

hutysta avatar hutysta commented on July 2, 2024

Hi, I had same issue. For me it helped when I added this line into map property in systemjs.config.js file:
'@ng-idle/core': 'npm:@ng-idle/core/bundles/core.umd.js'

from ng2-idle.

karel1980 avatar karel1980 commented on July 2, 2024

Another instance of this problem (combined with angular-seed): mgechev/angular-seed#2151

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.