Skip to content

Error Module Not found #403

@stevep96

Description

@stevep96

Hello! I have a problem when trying to add the library to my project

Error: Module not found: Error: Package path ./public-api is not exported from package C:\Users\Utilisateur\Desktop\project\admin-cbe-app\node_modules\ngx-pagination (see exports field in C:\Users\Utilisateur\Desktop\project\admin-cbe-app\node_modules\ngx-pagination\package.json)

this is the exports

"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./ngx-pagination.d.ts",
"esm2020": "./esm2020/ngx-pagination.mjs",
"es2020": "./fesm2020/ngx-pagination.mjs",
"es2015": "./fesm2015/ngx-pagination.mjs",
"node": "./fesm2015/ngx-pagination.mjs",
"default": "./fesm2020/ngx-pagination.mjs"
}
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions