Oh, you were on 2.0.0-beta.10
- that changes everything
But of course makes sense as it is from Nov 3, 2016.
On the other side now makes sense that stuff didn’t work before and requires a bit more work to get it working.
New plan:
- I would checkout this version that you build your app from into a new, clean folder.
- Then create a new Ionic project in another folder with
ionic start blank blank
. (folder will be named “blank” then) - Copy the
scripts
part of the blank’spackage.json
to your project’s. - Remove your
devDependencies
and replace it with this:
"devDependencies": {
"@ionic/app-scripts": "0.0.47",
"typescript": "2.0.9"
}
(this is from https://github.com/ionic-team/ionic/releases/tag/v2.0.0-rc.4 which is the closest to you version I could find)
5. Then run ionic info
on it. What does it tell you?
6. If no errors, try ionic serve
. What does it tell you?