Ionic-app-scripts has unexpectedly closed

I’m getting this error while running command ionic serve

Main error message-

‘app directory\node_modules.bin\ionic-app-scripts’ is not recognized as an internal or external command,operable program or batch file.

which ionic version you are using?


   ionic (Ionic CLI)  : 4.12.0 (C:\Users\nuria\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework    : ionic-angular 3.5.2
   @ionic/app-scripts : 2.0.2


   cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms     : android 6.4.0
   Cordova Plugins       : no whitelisted plugins (16 plugins total)


   NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe)
   npm    : 6.4.1
   OS     : Windows 10

Getting the same problem, have you got any solution