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

Cant import Grid #4

Open
Pac0o opened this issue Dec 4, 2024 · 4 comments
Open

Cant import Grid #4

Pac0o opened this issue Dec 4, 2024 · 4 comments

Comments

@Pac0o
Copy link

Pac0o commented Dec 4, 2024

Hi, since a couple of days I can't seem to use the Grid component anymore.
When I build the next message appears

Cannot find module '/Users/pac/WebstormProjects/woza/app_sprilur_bind/node_modules/.pnpm/wx-grid-locales@1.3.3/node_modules/wx-grid-locales/locales/en' imported from /Users/pac/WebstormProjects/woza/app_sprilur_bind/node_modules/.pnpm/wx-grid-locales@1.3.3/node_modules/wx-grid-locales/index.js

Im using wx-svelte-grid@1.3.3 with sveltejs/kit@2.6.4 and svelte@4.2.19

Also when I import the Grid the next message appears

Svelte: Cannot find module wx-svelte-grid or its corresponding type declarations.
Cannot resolve definitions for module 'wx-svelte-grid'
@xFrigginx
Copy link

I also get

Cannot find module wx-svelte-grid or its corresponding type declarations.

when trying to follow the demo steps in a typescript environment.

@bdueck-oftr
Copy link

Same here

@nortonandreev
Copy link

Same.

Svelte 5 and wx-svelte-grid@2.0.1

Image

@xgwang-scienceos
Copy link

xgwang-scienceos commented Feb 5, 2025

Before the #8 is merged, feel free to use this pre-release as a work around: /~https://github.com/ScienceOS-Tech/grid/releases/tag/v2.0.2

package.json

  "dependencies": {
    "wx-svelte-grid": "/~https://github.com/ScienceOS-Tech/grid/releases/download/v2.0.2/wx-svelte-grid-2.0.2.tgz"
  }

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.

5 participants