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
- Create a project with the
@frontegg/react dependency
- Fail or log build warnings
- 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.
Describe the bug
When trying to build a project that includes
@frontegg/reactwe're seeing a missing dependency build warning:To Reproduce
@frontegg/reactdependency@frontegg/rest-apiExpected behavior
No missing dependency warnings.
Additional context
It looks like there is a reference to
@frontegg/rest-apiin the yarn.lock file in@frontegg/reactbut it is not referenced in the package.json.