Bump Angular from 2.x to 4.x
ericmdantas opened this issue ยท 9 comments
When trying to compile, I'm getting the following error:
node_modules/@angular/router/src/router_module.d.ts(140,41): error TS1110: Type expected.
Updated tsc
to 2.2.2
and now I'm getting:
node_modules/@angular/core/src/change_detection/differs/iterable_differs.d.ts(15,48):
error TS2304: Cannot find name 'Iterable'.
Anything on this? i'm thinking of using this generator but I want to use Angular 4.x, is this error still popping up?
Hello, @luiscabanillas.
I tried to update it and got some typing errors (as described above) and I haven't touched it since then. I'm kinda busy these days, but I might be free this weekend, so I'll try to release a patch with the bump.
In the meantime, if you're interested, you can send a PR and I'll gladly merge it.
I found angular/angular#14595 (comment), which seems to fix the errors.
I'll release a new version in master
and next
with the bump.
Versions published with the ng2 bump to 4.x.
# Install v1.9
$ npm i -g generator-ng-fullstack
# Install next (with some stuff from v1.10)
$ npm i -g generator-ng-fullstack@next
Are these diffs the only things to do to upgrade an already generated app to 4.x ?
(^2.4.4-> ^4.1.0 + tsconfig.json: "noImplicitAny": false, "skipLibCheck": true )
3c57a13
yup