I have installed Ionic 4, but my current project is made with @3.9.2 and every time I start the project I get this:
[WARN] Detected locally installed Ionic CLI, but it’s too old–using global CLI.
I also get really weird random errors, when changing project code and testing. I have to shut down command prompt and start it up again to get it working again. For instance, app-script error comes very often. Says that it’s not installed or something. And then I have start the command prompt again and the error goes away for a while.
I tried to run command to change version: npm i --save -E firstname.lastname@example.org, but it doesn’t work. When I run ionic info, it allways says using ionic version 4.0.5… Why doesn’t it change to use the local project version?
I don’t what to downgrade the global ionic to 3.9.2, because my computer setup is clean and fresh and I also what to make some “training projects” with Ionic 4.
What can I do to resolve this? Google doesn’t seem to have an idea how to fix this…