Angular-CLI Meets Webpack
Jeff Boothe
12527

great post!!! I have a question. after following your steps to strat-up with angular-cli@webpack, many many errors like this:

client?93b6:49 [default] 
Cannot find global type ‘Array’.errors @ client?93b6:49sock.onmessage @ client?93b6:83EventTarget.dispatchEvent @ eventtarget.js:51(anonymous function) @ main.js:274SockJS._transportMessage @ main.js:272EventEmitter.emit @ emitter.js:50WebSocketTransport.ws.onmessage @ websocket.js:35wrapFn @ zone.js:769ZoneDelegate.invokeTask @ zone.js:356Zone.runTask @ zone.js:256ZoneTask.invoke @ zone.js:423
client?93b6:49 [default] 
Cannot find global type ‘Boolean’.errors @ client?93b6:49sock.onmessage @ client?93b6:83EventTarget.dispatchEvent @ eventtarget.js:51(anonymous function) @ main.js:274SockJS._transportMessage @ main.js:272EventEmitter.emit @ emitter.js:50WebSocketTransport.ws.onmessage @ websocket.js:35wrapFn @ zone.js:769ZoneDelegate.invokeTask @ zone.js:356Zone.runTask @ zone.js:256ZoneTask.invoke @ zone.js:423
client?93b6:49 [default] 
Cannot find global type ‘Function’.errors @ client?93b6:49sock.onmessage @ client?93b6:83EventTarget.dispatchEvent @ eventtarget.js:51(anonymous function) @ main.js:274SockJS._transportMessage @ main.js:272EventEmitter.emit @ emitter.js:50WebSocketTransport.ws.onmessage @ websocket.js:35wrapFn @ zone.js:769ZoneDelegate.invokeTask @ zone.js:356Zone.runTask @ zone.js:256ZoneTask.invoke @ zone.js:423
client?93b6:49 [default] 
Cannot find global type ‘IArguments’.errors @ client?93b6:49sock.onmessage @ client?93b6:83EventTarget.dispatchEvent @ eventtarget.js:51(anonymous function) @ main.js:274SockJS._transportMessage @ main.js:272EventEmitter.emit @ emitter.js:50WebSocketTransport.ws.onmessage @ websocket.js:35wrapFn @ zone.js:769ZoneDelegate.invokeTask @ zone.js:356Zone.runTask @ zone.js:256ZoneTask.invoke @ zone.js:423
client?93b6:49 [default] 
Cannot find global type ‘Number’.errors @ client?93b6:49sock.onmessage @ client?93b6:83EventTarget.dispatchEvent @ eventtarget.js:51(anonymous function) @ main.js:274SockJS._transportMessage @ main.js:272EventEmitter.emit @ emitter.js:50WebSocketTransport.ws.onmessage @ websocket.js:35wrapFn @ zone.js:769ZoneDelegate.invokeTask @ zone.js:356Zone.runTask @ zone.js:256ZoneTask.invoke @ zone.js:423
client?93b6:49 [default] 
Cannot find global type ‘Object’.errors @ client?93b6:49sock.onmessage @ client?93b6:83EventTarget.dispatchEvent @ eventtarget.js:51(anonymous function) @ main.js:274SockJS._transportMessage @ main.js:272EventEmitter.emit @ emitter.js:50WebSocketTransport.ws.onmessage @ websocket.js:35wrapFn @ zone.js:769ZoneDelegate.invokeTask @ zone.js:356Zone.runTask @ zone.js:256ZoneTask.invoke @ zone.js:423
client?93b6:49 [default] 
Cannot find global type ‘RegExp’.errors @ client?93b6:49sock.onmessage @ client?93b6:83EventTarget.dispatchEvent @ eventtarget.js:51(anonymous function) @ main.js:274SockJS._transportMessage @ main.js:272EventEmitter.emit @ emitter.js:50WebSocketTransport.ws.onmessage @ websocket.js:35wrapFn @ zone.js:769ZoneDelegate.invokeTask @ zone.js:356Zone.runTask @ zone.js:256ZoneTask.invoke @ zone.js:423
client?93b6:49 [default] 
Cannot find global type ‘String’.errors @ client?93b6:49sock.onmessage @ client?93b6:83EventTarget.dispatchEvent @ eventtarget.js:51(anonymous function) @ main.js:274SockJS._transportMessage @ main.js:272EventEmitter.emit @ emitter.js:50WebSocketTransport.ws.onmessage @ websocket.js:35wrapFn @ zone.js:769ZoneDelegate.invokeTask @ zone.js:356Zone.runTask @ zone.js:256ZoneTask.invoke @ zone.js:423
client?93b6:49 [default] /Users/pp/learnAngularCliwebpack/node_modules/@angular/common/src/directives/ng_class.d.ts:81:33 
Cannot find name ‘Set’.

but the app seems to works. Where i’m wrong? Can you help me?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.