Hi, I just created an Ionic v4 project and when I write ‘ionic serve’ command to the folder of the project in cmd i get this error
`C:\v4>ionic serve
ng run app:serve --host=localhost --port=8100
[ng] An unhandled exception occurred: Unknown browser query basedir=$(dirname "$(echo "$0" | sed -e 's. Maybe you are using old Browserslist or made typo in query.
[ng] See “C:\Users\win10\AppData\Local\Temp\ng-LPbrdk\angular-errors.log” for further details.
[ERROR] ng has unexpectedly closed (exit code 127).
The Ionic CLI will exit. Please check any output above for error details.`
But Ionic1 projects are working normal. I uninstalled ionic and reinstalled, it did not change.
ionic -v 5.2.6
node -v v10.15.3
java version “1.8.0_221”
You have lasted version of Angular?
Try install ANGULAR CLI in lasted version and open console in folder of the project and execute npm install, and try run serve.
Thank you for your interest. This is the project : https://github.com/aocii/v4
But the only change I did on standart sidemenu ionicv4 project is adding two ‘check’ word to the homapage.html for get the ability to adding the project to github. Nothing different.
Noting happen different in command line that I shared in first post at this topic. So making a gif of command line, I think it wont be so useful.