dasmikko / strapi-tiptap-editor

A drop-in replacement for the strapi editor
MIT License
64 stars 29 forks source link

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

Closed anopid closed 1 year ago

anopid commented 1 year ago

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 commented 1 year ago

Same here...

dasmikko commented 1 year ago

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 commented 1 year ago

Same here...

manishie commented 1 year ago

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

dasmikko commented 1 year ago

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 https://github.com/ueberdosis/tiptap/issues/2150

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