Skip to content

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

Description

@arthuracs

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions