Angular 4 - safe to update?


#1

Am I able to safely update to Angular 4.0.0?

I am currently using meteor 1.4.3.1


#2

Angular 4 ? isn’t it a bit early to try


#3

The final has been released today


#4

Sooo it’s ok to update?


#5

Hi @Urigo, does MGD have any plans to support Angular 4?


#6

Yes, is anything not working for you when you upgrade?
If so, please open an issue and we can track down individual problems but there shouldn’t be a reason it won’t work


#7

Thanks You @Urigo. This is great news! Here’s a link to the issue I filed: https://github.com/Urigo/angular-meteor/issues/1590

Let me know if you need anything else.


#8

Hi @cesargalindo
Have you had any luck upgrading to 4? not much going on under the git issue you opened.

Cheers, Rodrigo


#9

Hello @elrodrigo,

I’m consumed with other aspects of our project. I haven’t looked into further than what I’ve posted here.

@Urigo is looking for some help here: Angular 2 Ahead of Time Compiling and Tree Shaking

Here are some other links which could shed more light on the task?

Angular 4 / Meteor 1.5 / Lazy Loading Example


#10

It works now! After reading various posts that Angular 4 works with Meteor, I decided to give it another try.
I added the latest version of Meteor 1.5 and Angular 4.2.0-rc.2 to the Socially tutorial and it worked.

Here’s a git repo of the working project.


#11

Hi everyone!

I have cloned the @cesargalindo repository and updated the package.json to the stable versions. to this day Angular 4.4.5. Everything works perfectly!

I leave them here:

  "dependencies": {
    "@angular/common": "4.4.5",
    "@angular/compiler": "4.4.5",
    "@angular/core": "4.4.5",
    "@angular/forms": "4.4.5",
    "@angular/http": "4.4.5",
    "@angular/animations": "4.4.5",
    "@angular/material": "2.0.0-beta.6",
    "@angular/platform-browser": "4.4.5",
    "@angular/platform-browser-dynamic": "4.4.5",
    "@angular/router": "4.4.5",
    "angular2-google-maps": "0.17.0",
    "angular2-meteor": "0.8.0",
    "angular2-meteor-accounts-ui": "1.0.0",
    "angular2-meteor-polyfills": "0.2.0",
    "angular2-meteor-tests-polyfills": "0.0.2",
    "babel-runtime": "6.26.0",
    "bcrypt": "=1.0.3",
    "hammerjs": "^2.0.8",
    "meteor-node-stubs": "0.2.11",
    "meteor-rxjs": "0.4.7",
    "meteor-typings": "1.4.1",
    "ng2-pagination": "2.0.2",
    "reflect-metadata": "0.1.10",
    "rxjs": "5.4.3",
    "zone.js": "0.8.18"
  },
  "devDependencies": {
    "@types/chai": "4.0.4",
    "@types/meteor": "1.4.10",
    "@types/mocha": "2.2.43",
    "chai": "4.1.2",
    "chai-spies": "0.7.1"
  }

#12

Just an update on this old thread - we’ve released a lot of new things recently and now everything works with Angular 5 and Meteor 1.6.


#13

This is a wonderful and very helpful thread. May I ask a kinda noob question: how do I upgrade when upgradimg both meteor and angular? npm install on each? Does it matter which when I upgrade first? Thank you so much!

Hank