Skip to content

Version 0.30.0: Could not resolve "@db-ui/ngx-elements-enterprise/dist/lib" #2606

@jonaskuske

Description

@jonaskuske

In versions 0.29.3 and below, @db-ui/ngx-elements-enterprise included a separate package.json in dist/lib that pointed at the entry file(s), so that the following import worked (as suggested by the docs):

import { DBUIElementsModule } from '@db-ui/ngx-elements-enterprise/dist/lib';

Now in version 0.30.0, this package.json is missing. As there's also no index.js, the import from dist/lib can not be resolved and the application build errors:

Application bundle generation failed. [4.257 seconds]

✘ [ERROR] Could not resolve "@db-ui/ngx-elements-enterprise/dist/lib"

    src/app/app.module.ts:13:35:
      13 │ ...UIElementsModule } from '@db-ui/ngx-elements-enterprise/dist/lib';

Metadata

Metadata

Assignees

Labels

angularbugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions