Skip to content Skip to sidebar Skip to footer

Difficulties Loading Angular2-infinite-scroll

I am getting 2 errors on my app: Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3002/angular2-infinite-scroll angular2-polyfills.js

Solution 1:

You have to configure the angular2-infinite-scroll in your systemjs config. See the config.js file in the example plunk:

https://plnkr.co/edit/DzKAiAxtAleIrT0tsqtj?p=preview

map: {

   'angular2-infinite-scroll': 'node_modules/angular2-infinite-scroll'
}

and for the packages object add:

'angular2-infinite-scroll': {
  main: 'angular2-infinite-scroll.js',
  defaultExtension: 'js'
}

Post a Comment for "Difficulties Loading Angular2-infinite-scroll"