google-pay / google-pay-button

Google Pay button - React, Angular, and custom element
Apache License 2.0
250 stars 61 forks source link

The entrypoint for '@google-pay/button-angular' could not successfully be resolved #182

Closed Zryru closed 1 year ago

Zryru commented 1 year ago

Describe the bug

Latest version v3.0.2 breaks in Angular with the following error

The entrypoint for '@google-pay/button-angular' could not successfully be resolved

To Reproduce Steps to reproduce the behavior:

  1. Go to StackBlitz obtained from example page at https://github.com/google-pay/google-pay-button/tree/main/src/button-angular
  2. Install the new version
    image
  3. See error

Expected behavior

Described error should not happen

Screenshots If applicable, add screenshots to help explain your problem.

image

Component information:

Environment:

dmengelt commented 1 year ago

Thanks for reporting. Packaging for the angular component is broken since the upgrade to Angular 15. Will have a look. Please use 3.0.0 for now. Sorry for the inconvenience.

dmengelt commented 1 year ago

@Zryru please switch to version 3.0.5 and try again.

dmengelt commented 1 year ago

Fixed by https://github.com/google-pay/google-pay-button/pull/190