smartblock icon indicating copy to clipboard operation
smartblock copied to clipboard

Fresh install & Fatal error

Open bitbreakr opened this issue 2 years ago • 1 comments

Hi, my project requires Smartblock.

After installing the library, project cannot render because of a prosemirrorState.PluginKey is not a constructor

CleanShot 2023-07-05 at 19 09 06@2x

Here is my react version:

{
  "react": "^18.2.0",
   "react-dom": "^18.2.0",
   "react-i18next": "^13.0.1",
   "react-router-dom": "^6.10.0",
   "react-scripts": "5.0.1"
}

Thanks

bitbreakr avatar Jul 05 '23 17:07 bitbreakr

@bitbreakr I tried it at hand and could not reproduce it. One possibility is that there is a dependency problem. Try deleting the node_modules directory and package.json and retry npm install. Please refer to the following article https://github.com/ueberdosis/tiptap/issues/316

If you still can't do it, can you provide more detailed information about your environment? Good luck and best wishes!

1000-x-t30 avatar Jul 07 '23 07:07 1000-x-t30