Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Missing dependency warning @frontegg/rest-api #1113

Open
arthuracs opened this issue Feb 26, 2024 · 0 comments
Open

[BUG] Missing dependency warning @frontegg/rest-api #1113

arthuracs opened this issue Feb 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@arthuracs
Copy link

Describe the bug
When trying to build a project that includes @frontegg/react we're seeing a missing dependency build warning:

Error: "@frontegg/rest-api" is imported by "../../../node_modules/@frontegg/js/HostedLogin/index.js", but could not be resolved – treating it as an external dependency.

To Reproduce

  1. Create a project with the @frontegg/react dependency
  2. Fail or log build warnings
  3. A warning appears for a missing dependency for @frontegg/rest-api

Expected behavior
No missing dependency warnings.

Additional context
It looks like there is a reference to @frontegg/rest-api in the yarn.lock file in @frontegg/react but it is not referenced in the package.json.

@arthuracs arthuracs added the bug Something isn't working label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants