-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
Angular CLI: 1.5.0
Node: 7.9.0
OS: darwin x64
Angular: 4.4.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, tsc-wrapped
@angular/cdk: 2.0.0-beta.12
@angular/cli: 1.5.0
@angular/flex-layout: 2.0.0-beta.9
@angular/material: 2.0.0-beta.12
@angular/service-worker: 1.0.0-beta.16
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.0
typescript: 2.4.2
webpack: 3.8.1
Repro steps.
- Clone this repo: https://github.com/ngx-rocket/starter-kit
npm install
npm run start -- --prod
orng serve --prod
The log given by the failure.
Build is successful, but app is throwing an error that seems to be due to zone.js polyfill:
polyfills.5ae6b10132b7e8411589.bundle.js:1 Uncaught ReferenceError: req is not defined
at polyfills.5ae6b10132b7e8411589.bundle.js:1
at polyfills.5ae6b10132b7e8411589.bundle.js:1
at polyfills.5ae6b10132b7e8411589.bundle.js:1
at Function.r.__load_patch (polyfills.5ae6b10132b7e8411589.bundle.js:1)
at polyfills.5ae6b10132b7e8411589.bundle.js:1
at u (polyfills.5ae6b10132b7e8411589.bundle.js:1)
at Object.<anonymous> (polyfills.5ae6b10132b7e8411589.bundle.js:1)
at Object.eFQL (polyfills.5ae6b10132b7e8411589.bundle.js:1)
at n (inline.f05f710f0631368b608c.bundle.js:1)
at Object.TU+8 (polyfills.5ae6b10132b7e8411589.bundle.js:1)
Desired functionality.
App does not throw any error.
Mention any other details that might be useful.
Was working fine with angular-cli@1.4
MikaAK, 5T0NkZ5V2j0H76y0, idoglik6, bh86, TK11235 and 43 more
Metadata
Metadata
Assignees
Labels
No labels