Ionic 2 RC0 errors with sidemenu starter app

Installed the new CLI today, tried to start a sidemenu app with the new RC0. Ionic serve build fails.

Seems to be an issue with imports referencing ‘@angular/core’. I updated Angular using “npm update angular2 --save”, no change. VS Code reports TS error with lines like:

import { Component, ViewChild } from ‘@angular/core’;

Any thoughts?



Your system information:

Cordova CLI: 5.4.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.0.0-beta.20
OS: Windows 7 SP1
Node Version: v0.12.1

This is most likely an issue with the node version and npm version. You need to upgrade to node6 and npm3

1 Like

Thanks for the response!

Turns out I was on the right track in my own debugging… however, I had already tried to update npm but somehow it is failing to update properly. I am stuck at npm version 2.5.1. However, I figure that Node itself is out of date – so I will try to update that, update npm, and report back.


I had the very same issue last night, it was certainly NPM and Node which needed the update.

Worked just fine after that.

Yep – I just got it working myself. Had to uninstall and clean my old node version (Windows), reinstall, and then rebuild the sass module. Also had to start a new project, the one i previously built didn’t work. But now I’m up and running, and old projects are working as well.