Error looking for rxjs – 403 (Forbidden) (Angular 6, rxjs 6.1.0)

I developed ASP.NET MVC 5 single page application using Angular 5. Then I updated versions of packages in package.json to Angular 6 and latest rxjs (“rxjs”: “6.1.0”) and restored latest packages. When I run application I get error:

GET http://localhost:8689/node_modules/rxjs/ 403 (Forbidden)

How to configure systemjs.config.js in the correct way to make application work?

1 possible answer(s) on “Error looking for rxjs – 403 (Forbidden) (Angular 6, rxjs 6.1.0)

  1. i have changed the package part of system.config.js and it works for me .

    packages: {
    app: { main: ‘main.js’, defaultExtension: ‘js’ },
    app: { defaultExtension: ‘js’, },
    rxjs: { defaultExtension: ‘js’, main: “index.js” },
    “rxjs-compat”: { defaultExtension: ‘js’, main: “index.js” },
    “rxjs/operators”: { “main”: “index.js”, “defaultExtension”: “js” },
    “rxjs/internal-compatibility”: { “main”: “index.js”, “defaultExtension”: “js” },
    “rxjs/testing”: { “main”: “index.js”, “defaultExtension”: “js” },
    ‘rxjs/ajax’: { main: ‘index.js’, defaultExtension: ‘js’ },
    ‘rxjs/webSocket’: { main: ‘index.js’, defaultExtension: ‘js’ },
    ‘..’: { defaultExtension: ‘js’ }
    }