I'm trying to use ng2-bootstrap-modal in Angular 4 and ASP NET 5(VS 2017). I've followed instructions provided there:
In systemjs.config.js I've added:
map: {....
'ng2-bootstrap-modal': 'npm:ng2-bootstrap-modal',
...
packages: {
....
'ng2-bootstrap-modal': {main: 'index.js', defaultExtension: 'js' }
}
But,after importing in app.module:
...
import { BootstrapModalModule } from 'ng2-bootstrap-modal';
....
@NgModule({
declarations: [
AppComponent
],
imports: [
....
BootstrapModalModule
],
bootstrap: [AppComponent]
})
export class AppModule {}
my app doesn't start,in console I have:
Error: (SystemJS) XHR error (403 Forbidden) loading
http://localhost:3590/node_modules/ng2-bootstrap-modal
thanks
EDIT: I've found this plnkr example and I've updated my systemjs.config.js(see it above),now the erorr is
Error: (SystemJS) XHR error (403 Forbidden) loading http://localhost:3590/node_modules/rxjs