Starport build is failing

k.BankKeeper.MintCoins undefined (type “github.com/cosmos/cosmos-sdk/x/bank/internal/keeper”.Keeper has no field or method MintCoins)

This is the error msg.
There is no “internal” directory in the bank module.
I do not understand why starport is looking for that.

k.BankKeeper.SendCoins( )
this function works perfectly