How to solve app script issue

I want to say that after your post i run npm install command so my old error removed
then i run ionic cordova build android --prod

so i got latest error

and how to update app-script to latest