Php - Vue PWA compile error

How can I solve the error in the picture?
Thanks for your help in advance

I just added a user table and I am trying to compile it, it works as SPA but when I try to compile as PWA I get the error in the picture. Is there any special requirement to compile as PWA?

Does anyone have experience with PWA? please help