First attempt failed with some messages that did not find android. Second attempt, after PATH, failed claiming that a dist (or something related) directory existed. Then I had to manually remove ./dist/* then tried again and worked.