I import some modules into anular 2. I use system.config and get the error http://localhost:3000/traceur 404 not found . For example, importing the angular2-google-maps module.

system.config.js

 var map = { ... 'angular2-google-maps/core': 'node_modules/angular2-google-maps/src/core', ... }; var packages = { 'angular2-google-maps/core': { main: 'core-module.ts', // или index.ts defaultExtension: 'ts' }, ... }; 

app / app.module.ts

 import { AgmCoreModule } from 'angular2-google-maps/core'; 

mistake:

 http://localhost:3000/traceur 404 not found 

I understand the error is related to the compilation of the module, why does it occur? how to connect the module?

0