Open Monyer opened 2 years ago
Kindly modify those 2 lines to be: "tiptap": "^1.32.2", "tiptap-extensions": "^1.35.2", and add those to you package.json file, "@tiptap/core": "^2.0.0-beta.182", "@tiptap/starter-kit": "^2.0.0-beta.191", rebuild and Voalaaa
And it doesn't work in v1 !
I could not reproduce this issue when building from scratch.
When inspecting the container I only have one prosemirror-tables
module installed.
@Monyer : I fixed issues by switching to yarn (frontend/docker-compose.dev.yml)
@Monyer : I fixed issues by switching to yarn (frontend/docker-compose.dev.yml)
This issue can be fixed.
I would need to be able to reproduce in order to fix the issue. I don't know the impact of switching from npm to yarn. Can you tell what OS you use ? Did you try to delete your docker containers and images and retry from scratch ?
Here is error message from browser console, I've run docker system prune -a -f
before docker-compose -f frontend/docker-compose.dev.yml up -d --build
tamqm@runner:~/pwndoc$ cat /etc/issue Ubuntu 18.04.6 LTS \n \l
tamqm@runner:~/pwndoc$ docker --version Docker version 20.10.16, build aa7e414
I installed a fresh Ubuntu system, cloned the repo and built the containers and did not have that error (tried both prod and dev)
Can you try using a fresh cloned repository of pwndoc ? Maybe it's an issue with a package.json lock file
When running "docker-compose -f frontend/docker-compose.dev.yml up -d --build" at the first time, then visit https://127.0.0.1:8081/vulnerabilities , browser throw an error and the page keep blank :
This error was talked at: https://github.com/ueberdosis/tiptap/issues/316
The reason is : Folder .../node_modules/ contains subfolder '/prosemirror-tables' (version 1.1.1) Folder .../node_modules/tiptap-extensions/node-modules/ contains subfolder '/prosemirror-tables' (version 1.0.0) Loading duplicated modules with different versions raises the error.
So my temporary way to fix it was rename .../node_modules/tiptap-extensions/node-modules to .../node_modules/tiptap-extensions/node-modules--
I didn't find a normal way to fix it.