I am working on a project that was created using Ionic v4.0.0-beta.3
I hit a bug that was fixed in beta.12, so I updated to beta.12 (the method I used was to do npm remove -g ionic, followed by npm install -g ionic)
Deleted node_modules folder and ran npm install to install all dependencies again.
Now when I do Ionic serve I get:
ERROR in node_modules/@ionic/core/dist/types/interface.d.ts(41,42): error TS1005: ‘;’ expected.
I googled around and saw that this is due to typescript being an old version, but my typescript version is 3.1.1
Any idea how to fix this?
(note: I’m new to Ionic and I’m not sure if the way I upgraded the Ionic version was the “proper” way of doing it… Is there any step-by-step guide on how all this updating should be done? e.g. how to update Node.js, npm, ionic cli, ionic framework, capacitor etc etc) I’ve searched quite a bit and everything I could find have missing pieces or don’t work as described.)