Skip to content

Error message indicates that the "exports" field in the package.json #4960

Closed
@hariskhalid366

Description

@hariskhalid366

I don't know why im getting this error as i have upgraded the @reduxjs/toolkit to latest version.

using @reduxjs/toolkit in [email protected]
@reduxjs/toolkit:2.7.0

The package ..node_modules/@reduxjs/toolkit/query contains an invalid package.json configuration. Consider raising this issue with the package maintainer(s).
Reason: The target for "." defined in "exports" is "./../dist/query/cjs/index.js", however this value is an invalid subpath or subpath pattern because it includes "..". Falling back to file-based resolution.

Metadata

Metadata

Assignees

Labels

React-NativeIndicates an issue specific to the React Native environmentbugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions