Description
Please provide us with the following information:
OS?
windows 10
Versions.
__ _ _ __ __ _ _ _ | | __ _ _ __ ___ | |()
/|| '_ \ / _
|| | | || | / ` || '|___ / __|| || |
| (| || | | || (| || || || || (| || | |___|| ( | || |
_,||| || _, | _,||| _,||| _|||||
|_/
angular-cli: 1.0.0-beta.25.5
node: 6.9.2
os: win32 x64
@angular/common: 2.4.3
@angular/compiler: 2.4.3
@angular/core: 2.4.3
@angular/forms: 2.4.3
@angular/http: 2.4.3
@angular/platform-browser: 2.4.3
@angular/platform-browser-dynamic: 2.4.3
@angular/router: 3.4.3
@angular/compiler-cli: 2.4.3
Repro steps.
ng serve --port 3000 --open true
The log given by the failure.
Uncaught TypeError: Cannot convert undefined or null to object
at hasOwnProperty ()
at Function.webpack_require.o (inline.bundle.js:136)
at Object. (main.bundle.js:1827)
at webpack_require (inline.bundle.js:53)
at Object. (main.bundle.js:4865)
at webpack_require (inline.bundle.js:53)
at Object. (main.bundle.js:4654)
at webpack_require (inline.bundle.js:53)
at Object. (main.bundle.js:14615)
at webpack_require (inline.bundle.js:53)
at webpackJsonpCallback (inline.bundle.js:24)
at main.bundle.js:1
my bundle is valid
Hash: 82c35e8cba93eecbbd9b
Time: 8538ms
chunk {0} main.bundle.js, main.bundle.map (main) 721 kB {3} [initial]
chunk {1} styles.bundle.js, styles.bundle.map (styles) 10.1 kB {4} [initial] [rendered]
chunk {2} scripts.bundle.js, scripts.bundle.map (scripts) 375 kB {4} [initial]
chunk {3} vendor.bundle.js, vendor.bundle.map (vendor) 5.69 MB [initial]
chunk {4} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry]
webpack: bundle is now VALID.