Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package path . is not exported from package */node_modules/gridjs (see exports field in */node_modules/gridjs/package.json) #31

Open
Marycka9 opened this issue Sep 27, 2023 · 0 comments · May be fixed by #32

Comments

@Marycka9
Copy link

Marycka9 commented Sep 27, 2023

After install with npm install gridjs gridjs-svelte I've got the next error:

Module not found: Error: Package path . is not exported from package */node_modules/gridjs (see exports field in */node_modules/gridjs/package.json)
Did you mean './gridjs'?
Requests that should resolve in the current directory need to start with './'.

Versions of gridjs and gridjs-svelte:
"gridjs": "^6.0.6",
"gridjs-svelte": "^2.1.1",

The next import is the source of error (inside of the svelte component):

import Grid from "gridjs-svelte";

@rijuma rijuma linked a pull request Feb 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant