For you and whoever stumbles upon this issue in the future
Solution
I faced same issue, and I’m using Cordova Native Audio plugin on ionic Capacitor project… so inside each platform (android and ios) the folder isn’t named www, it’s named public/assets…etc so I followed the solution in the link below where you need to dive in the plugin source code inside each platform and replace “www” with “public”
Follow the comment of this github issue below
Good luck!