The JSON-API warning is unrelated and only a warning (for now, it will turn into an error in future SDK version).
Did you see the suggestion to delete the yarn.lock
as well at Daml-ui-template React function and Action with 2 arguments? Note that you should do that before running the other steps.