Open gustavolira opened 7 years ago
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
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
I am also having a similar problem
@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.
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'
Another instance of this problem (combined with angular-seed): https://github.com/mgechev/angular-seed/pull/2151
Hi, I just update NgIdleModule to beta 2.0.0-beta.4. My code looks like:
import {NgIdleModule} from '@ng-idle/core';
...
imports: [NgIdleModule.forRoot()]
But I'm receiving
GET http://localhost:5555/node_modules/@ng-idle/core.js 404 Not Found