PatrickJS-starter icon indicating copy to clipboard operation
PatrickJS-starter copied to clipboard

template_compiler.js, __decorate is not defined

Open Snejk47 opened this issue 10 years ago • 10 comments

When run, Chrome logs

Uncaught ReferenceError: __decorate is not defined template_compiler.js:205
(anonymous function)    @   template_compiler.js:205
(anonymous function)    @   template_compiler.js:210
__webpack_require__ @   bootstrap ddec45ec191e3dad7a0d:50
(anonymous function)    @   runtime_compiler.ts:3
__webpack_require__ @   bootstrap ddec45ec191e3dad7a0d:50
(anonymous function)    @   compiler.ts:1
__webpack_require__ @   bootstrap ddec45ec191e3dad7a0d:50
(anonymous function)    @   compiler.ts:8
__webpack_require__ @   bootstrap ddec45ec191e3dad7a0d:50
(anonymous function)    @   browser.ts:21
__webpack_require__ @   bootstrap ddec45ec191e3dad7a0d:50
(anonymous function)    @   main.ts:5
__webpack_require__ @   bootstrap ddec45ec191e3dad7a0d:50
webpackJsonpCallback    @   bootstrap ddec45ec191e3dad7a0d:21
(anonymous function)    @   main.bundle.js:1

Snejk47 avatar Jan 26 '16 08:01 Snejk47

I'm also getting this error screen shot 2016-01-26 at 1 47 27 am

amilajack avatar Jan 26 '16 09:01 amilajack

I am also getting these 2 errors. I spent an hour trying to debug. My page just stuck with Loading...

jek-bao-choo avatar Jan 26 '16 13:01 jek-bao-choo

I'm also getting those errors, + additonal bunch of warring like in this issue https://github.com/AngularClass/angular2-webpack-starter/issues/256

eslotwinski avatar Jan 26 '16 13:01 eslotwinski

I'm also getting those errors

myccy8 avatar Jan 26 '16 15:01 myccy8

image

myccy8 avatar Jan 26 '16 15:01 myccy8

Just tried the quickstart on a fresh clone of the repo. I am also getting this error.

mshamma avatar Jan 26 '16 15:01 mshamma

Got it working by rolling back this commit: https://github.com/AngularClass/angular2-webpack-starter/commit/82c44112d2a499332816fc9cc8d91eccba27aa80

mshamma avatar Jan 26 '16 16:01 mshamma

yeah, fixed via https://github.com/AngularClass/angular2-webpack-starter/commit/fa910ad94cff83f938bb24b44df52c55e4692bbc

PatrickJS avatar Jan 26 '16 16:01 PatrickJS

:+1: just ran into this. Awesome. Works now :smile:

juristr avatar Jan 26 '16 16:01 juristr

sorry about that. the recent changes fixes the minified problem that's in beta.1 right now. there's another problem with routerLink that still needs to be addressed

PatrickJS avatar Jan 26 '16 16:01 PatrickJS