ShMcK / Meteor-Angular2

Meteor-Angular2 package
21 stars 4 forks source link

Compatibility issues with Meteor 1.2 #5

Open fuatsengul opened 9 years ago

fuatsengul commented 9 years ago

Hi there, I just going on the ten-step tutorial but with new 1.2 update of meteor seems to be render your package incompatible. It crashes with this log:

Uncaught ReferenceError: require is not defined(anonymous function) @ app.js:9(anonymous function) @ app.js:23
shmck_angular2.js:35 XHR finished loading: GET "http://localhost:3000/client/app.js".f @ shmck_angular2.js:35$__Object$defineProperty.value @ shmck_angular2.js:35c @ shmck_angular2.js:35b @ shmck_angular2.js:35$__Object$defineProperty.value @ shmck_angular2.js:35$__global.upgradeSystemLoader.e.fetch @ shmck_angular2.js:54$__global.upgradeSystemLoader.e.fetch @ shmck_angular2.js:54$__global.upgradeSystemLoader.e.fetch @ shmck_angular2.js:54(anonymous function) @ shmck_angular2.js:35O @ shmck_angular2.js:35K @ shmck_angular2.js:35h.7.y.when @ shmck_angular2.js:35h.7.v.run @ shmck_angular2.js:35h.3.a._drain @ shmck_angular2.js:35h.3.a.drain @ shmck_angular2.js:35b @ shmck_angular2.js:35
app.js:1 Uncaught SyntaxError: Unexpected token <doEval @ shmck_angular2.js:54__eval @ shmck_angular2.js:54a @ shmck_angular2.js:54$__global.upgradeSystemLoader.e.instantiate.e.global.e.metadata.format.e.metadata.execute @ shmck_angular2.js:54f @ shmck_angular2.js:54l @ shmck_angular2.js:54$__global.upgradeSystemLoader.e.instantiate.Promise.all.then.r.execute @ shmck_angular2.js:54o @ shmck_angular2.js:35p @ shmck_angular2.js:35j @ shmck_angular2.js:35k @ shmck_angular2.js:35(anonymous function) @ shmck_angular2.js:35O @ shmck_angular2.js:35K @ shmck_angular2.js:35h.7.y.when @ shmck_angular2.js:35h.7.v.run @ shmck_angular2.js:35h.3.a._drain @ shmck_angular2.js:35h.3.a.drain @ shmck_angular2.js:35b @ shmck_angular2.js:35
shmck_angular2.js:35 Potentially unhandled rejection [2] Error loading "client/app" at http://localhost:3000/client/app.js
Error evaluating http://localhost:3000/client/app.js
Uncaught SyntaxError: Unexpected token < (WARNING: non-Error used)(anonymous function) @ shmck_angular2.js:35f @ shmck_angular2.js:35i @ shmck_angular2.js:357.fnNames.map.forEach.global.zone.(anonymous function).arguments.(anonymous function) @ shmck_angular2.js:496(anonymous function) @ shmck_angular2.js:188run @ shmck_angular2.js:208zoneBoundFn @ shmck_angular2.js:181
ShMcK commented 9 years ago

I would recommend using urigo:meteor-angular2. I'll put a deprecation warning on the package.