Skip to content

(1.2.6) Uncaught TypeError: undefined is not a function #7221

@SimonHawesome

Description

@SimonHawesome
- [x] bug report
- [ ] feature request

Versions.

@angular/cli: 1.2.6
node: 8.2.1
os: win32 x64
@angular/animations: 4.3.2
@angular/common: 4.3.2
@angular/compiler: 4.3.2
@angular/core: 4.3.2
@angular/forms: 4.3.2
@angular/http: 4.3.2
@angular/platform-browser: 4.3.2
@angular/platform-browser-dynamic: 4.3.2
@angular/router: 4.3.2
@angular/cli: 1.2.6
@angular/compiler-cli: 4.3.2
@angular/language-service: 4.3.2

Repro steps.

Ran a clean install of Angular CLI (1.2.6) on my machine this morning (07/31/2017) and am getting an error in the browser when running ng serve or opening index.html after running ng build. As a result, nothing loads on screen.

The log given by the failure.

Uncaught TypeError: undefined is not a function common.es5.js:3084

(anonymous function)common.es5.js:3084 combine common.es5.js:2934 webpackJsonp.../../../common/@angular/common.es5.js bootstrap 98ea677b4159c7bace8e:54 __webpack_require__core.es5.js:14792 webpackJsonp.../../../platform-browser-dynamic/@angular/platform-browser-dynamic.es5.js bootstrap 98ea677b4159c7bace8e:54 __webpack_require__environment.ts:8 webpackJsonp.../../../../../src/main.ts
bootstrap 98ea677b4159c7bace8e:54 _webpack_require _main.ts:11
webpackJsonp.2 bootstrap 98ea677b4159c7bace8e:54 webpack_require bootstrap 98ea677b4159c7bace8e:25 webpackJsonpCallback main.bundle.js:1
(anonymous function)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions