Ok so maybe I kind of jumped the gun on this I never tried building the spa and then adding tauri cli.
I was using initially the template above and modifying it in an ad-hoc to make it work.
I was getting some error in a specific place where a Promise was created.
Building the spa first and then add tauri works!
Thanks a lot!