'ionic serve' gives an error - v4 - ionic 4

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.

Thanks for your reply, I tried but still i got same error.

You can share me the project for check the error? or share a gif image when you excecute the comand ionic 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.

are you sure you just create a new project? and why you have so many files?

yeah i am sure. but we ve overcome the error. One of my friend helped me. we deleted localforage file under nodemodules/epubjs. and got some other errors. And finally we did the stuffs written in this link https://stackoverflow.com/questions/52210218/error-in-ansi-html-10-module-parse-failed-unexpected-character-10