Skip to content

Bundling Warning NAMESPACE_CONFLICT #475

@peterpeterparker

Description

@peterpeterparker

Describe the bug
Since I added the @dfinity/auth-client and peed dependencies to my project I get the following bundling warnings:

[ WARN  ]  Bundling Warning NAMESPACE_CONFLICT
           Conflicting namespaces: ./node_modules/@dfinity/agent/lib/esm/index.js re-exports 'Expiry' from both
           ./node_modules/@dfinity/agent/lib/esm/agent/http/transforms.js and
           ./node_modules/@dfinity/agent/lib/esm/agent/http/transforms.js (will be ignored)

[ WARN  ]  Bundling Warning NAMESPACE_CONFLICT
           Conflicting namespaces: ./node_modules/@dfinity/agent/lib/esm/index.js re-exports 'makeNonceTransform' from
           both ./node_modules/@dfinity/agent/lib/esm/agent/http/transforms.js and
           ./node_modules/@dfinity/agent/lib/esm/agent/http/transforms.js (will be ignored)

[ WARN  ]  Bundling Warning NAMESPACE_CONFLICT
           Conflicting namespaces: ./node_modules/@dfinity/agent/lib/esm/index.js re-exports 'makeExpiryTransform' from
           both ./node_modules/@dfinity/agent/lib/esm/agent/http/transforms.js and
           ./node_modules/@dfinity/agent/lib/esm/agent/http/transforms.js (will be ignored)

To Reproduce
Steps to reproduce the behavior:

  1. npm init stencil
  2. add the the dependencies
  3. npm run build

Expected behavior
No warning and no re-exports

Dependencies
Following dependencies:

"@dfinity/agent": "^0.9.2",
    "@dfinity/auth-client": "^0.9.2",
    "@dfinity/authentication": "^0.9.2",
    "@dfinity/candid": "^0.9.2",
    "@dfinity/identity": "^0.9.2",
    "@dfinity/principal": "^0.9.2",
    ```

Metadata

Metadata

Assignees

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