I am trying to use Angular2-Toaster but I can't get past this error
(SystemJS) XHR error (404 Not Found) loading http://localhost:4311/node_modules/angular2-toaster/angular2-toaster(…)
I have looked at the sources in the browser debug and the angular2-toaster folder is not being loaded into the browser.
I have installed it using npm, it does appear in the node_modules in the file system, as well as in package.json.
Typescript compiles and visual studio is happy. It just blows up when trying to run the application
here is what I have
main.ts
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app.module';
import { BrowserModule } from '@angular/platform-browser';
import { ToasterModule } from 'angular2-toaster/angular2-toaster';
const platform = platformBrowserDynamic();
platform.bootstrapModule(AppModule);
app.module
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component'
import { FormsModule } from '@angular/forms';
import { ToasterModule,} from 'angular2-toaster/angular2-toaster';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, HttpModule, FormsModule, ToasterModule],
bootstrap: [AppComponent]
})
export class AppModule { }
and that's all I have done. Not even trying to use it yet just trying to get past the imports. Any thoughts at all what do check next? What controls the packages being loaded up from node_modules?