Skip to content

Unable to upgrade Native Federation because of missing ngx-bootstrap packages #6797

@thelongshot

Description

@thelongshot

I've been working on upgrading native federation from 20.1.7 to 20.3.1 and I now get the following when building:

error: Could not resolve "E:\code\portal\angular\node_modules\ngx-bootstrap\datepicker\esm2022\ngx-bootstrap-datepicker.mjs"
error: Could not resolve "E:\code\portal\angular\node_modules\ngx-bootstrap\tabs\esm2022\ngx-bootstrap-tabs.mjs"

I brought this to the Native Federation folks, and they told me that they read package information from the esm field rather than the default because sometimes they get commonjs. The problem is, there isn't an esm2022 folder. Removing the esm property or populating that folder would fix my issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions