WalletConnect is not a constructor (evaluating 'new Connector(opitions)')

can anyone tell me how to resolve this issue for the first time when click the button is not showing any alert but second time it showing this alert …any solution?