vocably / pontis

Painless Chrome extension authentication via AWS Amplify websites
MIT License
7 stars 0 forks source link

Error when running pontis #2

Closed henrikra closed 1 year ago

henrikra commented 1 year ago

Hey and thanks for the nice idea for a simple Chrome extension authentication!

After I have installed this package and when I run it I get error Module not found: Error: Can't resolve '@aws-amplify/core' since I am using amazon-cognito-identity-js as auth package. Maybe you should move @aws-amplify/core from devDependencies to dependencies to fix this issue?

sneas commented 1 year ago

Thank you for the suggestion, @henrikra 👍 In the end, I decided to add @amplify/core as a peer dependency and update pontis installation instructions instead of adding it to dependencies. The reason for not having @amplify/core in the project's dependencies is @amplify/core is too big and way better maintained. Having it in dependencies will inevitably make me responsible for syncing with new major versions of @amplify/core.

sneas commented 1 year ago

:tada: This issue has been resolved in version 1.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: