Trying to update a angular2-meteor app on one Meteor 1.2 to 1.3. After upgrading to 1.3 and removing urigo:angular2-meteor then adding angular2-meteor with “npm install angular2-meteor --save”, “npm install angular2-meteor-auto-bootstrap --save”, “meteor add angular2-compilers”, “meteor add angular2-compilers@0.5.4” and “meteor npm install --save angular2”, then running my app I get the error below.
SyntaxError: expected expression, got '<'
<!DOCTYPE html>localhost:3000 (line 1)uncaught exception: SyntaxError: expected expression, got '<'
Evaluating http://localhost:3000/angular2-meteor
Error loading http://localhost:3000/client/app
I also tried creating a new Meteor 1.3 project, installing everything I needed for angular2-meteor and then copied into the project my code from my current project and still get the same error.
Any ideas of what I maybe doing wrong or how I could better debug the issue? Below is also my current packages and package.json if that maybe helps.
Thanks
meteor-base # Packages every Meteor app needs to have
mobile-experience # Packages for a great mobile UX
mongo # The database Meteor supports right now
session # Client-side reactive dictionary for your app
jquery # Helpful client-side library
tracker # Meteor's client-side reactive programming library
es5-shim # ECMAScript 5 compatibility for older browsers.
standard-minifier-css
standard-minifier-js
angular2-compilers@0.5.4
accounts-password
aldeed:simple-schema
aldeed:collection2
dburles:collection-helpers
dburles:factory
audit-argument-checks
mdg:validated-method
check
reactive-var
barbatus:ng2-pagination
tmeasday:publish-counts
email
twbs:bootstrap
fortawesome:fontawesome
alanning:roles
underscore
momentjs:moment
{
"name": "abtake4",
"version": "1.0.0",
"description": "",
"main": "abtake4.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"angular2": "^2.0.0-beta.12",
"angular2-meteor": "^0.5.2",
"angular2-meteor-auto-bootstrap": "^0.5.1",
"es6-shim": "^0.35.0",
"reflect-metadata": "^0.1.2",
"rxjs": "^5.0.0-beta.2",
"zone.js": "^0.6.6"
}
}