iamyuu / gridjs-svelte

A Svelte wrapper component for Grid.js
https://npm.im/gridjs-svelte
MIT License
57 stars 13 forks source link

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

Open Marycka9 opened 1 year ago

Marycka9 commented 1 year ago

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 /nodemodules/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";