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

RangeError: Adding different instances of a keyed plugin (plugin$) #58

Closed
anopid opened this issue Jan 26, 2023 · 5 comments
Closed

RangeError: Adding different instances of a keyed plugin (plugin$) #58

anopid opened this issue Jan 26, 2023 · 5 comments

Comments

@anopid
Copy link

anopid commented Jan 26, 2023

on strapi 4.6.0 after
Install the dependency
npm install strapi-tiptap-editor
and
Build the Strapi Admin
npm run build

start dev server.
npm run develop

I got this error:

RangeError: Adding different instances of a keyed plugin (plugin$)
    at main.c8ae448b.js:3448:28828
    at Array.forEach (<anonymous>)
    at new V1 (main.c8ae448b.js:3448:28774)
    at V1.value (main.c8ae448b.js:3448:30624)
    at v.createView (main.c8ae448b.js:3441:3229)
    at new v2 (main.c8ae448b.js:3441:1039)
    at new v (main.c8ae448b.js:3443:21456)
    at main.c8ae448b.js:3443:27230
    at k6 (main.c8ae448b.js:1136:6971)
    at o.unstable_runWithPriority (main.c8ae448b.js:1164:3947)
@Que-tin
Copy link

Que-tin commented Jan 27, 2023

Same here...

@dasmikko
Copy link
Owner

Hmmm.. I can't replicate the issue on my end. Can you create a sample project that has this issue, I can test with?

@manishie
Copy link

Same here...

@manishie
Copy link

manishie commented Feb 1, 2023

Here's a sample project that has the issue. Thanks!
my-project.zip

@dasmikko
Copy link
Owner

dasmikko commented Feb 1, 2023

I managed to replicate the issue now. Thanks for the projekt @manishie. Turns out the issue doesn't appear when i run it in my development environment.

The issue does seem to not be related with my specific npm package, but rather the tiptap packages
ueberdosis/tiptap#2150

As of now, there isn't much i can do.

@dasmikko dasmikko closed this as completed Feb 9, 2023
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

No branches or pull requests

4 participants