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

SvelteWrapper plugin does not render #29

Open
brunobely opened this issue Jan 31, 2023 · 3 comments
Open

SvelteWrapper plugin does not render #29

brunobely opened this issue Jan 31, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@brunobely
Copy link

Example shows the error, in the console:

"[Grid.js] [ERROR]: Duplicate plugin ID: email"
Error: Component is not a constructor
message: "Component is not a constructor"
stack: "TypeError: Component is not a constructor…"

Is the plugin broken or maybe the example just needs to be updated?

@iamyuu iamyuu added the help wanted Extra attention is needed label Mar 5, 2023
@rogiervandenberg
Copy link

Having the same issue too:

  • Running locally gives the error Component is not a constructor at SvelteWrapper.componentDidMount (plugins.js:13:25)
  • Running the official example to run a Svelte component in cell (at REPL), gives 2 errors:
"[Grid.js] [ERROR]: Duplicate plugin ID: email"

and

Error: Component is not a constructor
message: "Component is not a constructor"
stack: "TypeError: Component is not a constructor\n" +
" at SvelteWrapper.componentDidMount (eval at handle_message (about:srcdoc:14:8), <anonymous>:895:29)\n" +
" at eval (eval at handle_message (about:srcdoc:14:8), <anonymous>:471:8380)\n" +
" at Array.some (<anonymous>)\n" +
" at eval (eval at handle_message (about:srcdoc:14:8), <anonymous>:471:8361)\n" +
" at Array.some (<anonymous>)\n" +
" at O (eval at handle_message (about:srcdoc:14:8), <anonymous>:471:8321)\n" +
" at eval (eval at handle_message (about:srcdoc:14:8), <anonymous>:471:3683)\n" +
" at Array.some (<anonymous>)\n" +
" at I (eval at handle_message (about:srcdoc:14:8), <anonymous>:471:3495)"

I'm not sure why yet...

@FlorianHoornaar
Copy link

FlorianHoornaar commented Apr 25, 2023

As a workaround I downgraded gridjs to version 5.1.0.

npm install [email protected]

@GlistenSTAR
Copy link

As a workaround I downgraded gridjs to version 5.1.0.

npm install [email protected]

Thanks, it's working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants