Skip to content

Not able to load the shims #6364

@ExTheSea

Description

@ExTheSea

Bug Report or Feature Request (mark with an x)

- [ x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.0.3
node: 6.9.4
os: win32 x64 (Windows 7)
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.0.3
@angular/compiler-cli: 4.1.3

Repro steps.

  • Create a new project using the latest Cli
  • Add the script link to shim.min.js described in Angular Documentation - Browser Support
  • ng serve the application and see e.g. in Chrome dev tools whether the shim was loaded

The log given by the failure.

:4200/node_modules/core-js/client/shim.min.js Failed to load resource: the server responded with a status of 404 (Not Found)

Desired functionality.

The shim is available and will load

Mention any other details that might be useful.

It has been working on some of the older projects but all my newer projects seem to have this problem.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions