Open njdubois opened 1 year ago
Adding "@tiptap/core": "^2.0.1"
to the package.json resolutions section has gotten us past this current issue.
This probably happened because TipTap went out of beta and their packages installed multiple versions of themselves... I suggest moving their other packages to resolutions
as well:
"@tiptap/core": "2.0.1",
"@tiptap/extension-bubble-menu": "2.0.1",
"@tiptap/extension-character-count": "2.0.1",
"@tiptap/extension-code": "2.0.1",
"@tiptap/extension-document": "2.0.1",
"@tiptap/extension-floating-menu": "2.0.1",
"@tiptap/extension-heading": "2.0.1",
"@tiptap/extension-image": "2.0.1",
"@tiptap/extension-link": "2.0.1",
"@tiptap/extension-table": "2.0.1",
"@tiptap/extension-table-cell": "2.0.1",
"@tiptap/extension-table-header": "2.0.1",
"@tiptap/extension-table-row": "2.0.1",
"@tiptap/extension-text": "2.0.1",
"@tiptap/extension-text-align": "2.0.1",
"@tiptap/extension-typography": "2.0.1",
"@tiptap/pm": "2.0.1",
"@tiptap/react": "2.0.1",
"@tiptap/starter-kit": "2.0.1",
Thanks for the recommendation @dziraf !
Do we have any plan for the next release include a updated package.json? For some need a workaround fix, just add a resolution to your package.json
{
"resolutions": {
"@tiptap/core": "2.0.3",
"@tiptap/pm": "2.0.3",
"@tiptap/starter-kit": "2.0.3"
}
}
Maybe I'm responding too late, but to add to the discussion:
I noticed that the error only happens when I install the dependencies with Yarn. With NPM it works just fine
We have a dependabot alert for the package
Flat
and to update this package, we need to update adminjs to at least 6.7.6. We are upgrading from 5.0.0 and this was not an issue with that version.When attempting to start the project, we get the following error:
Also note that after deleting the node_modules folder and running yarn I see the following warnings output:
yarn.lock entries for adminJs:
package.json deps and dev-deps:
there isn't much else in the package.json file, scripts and the standards (name, version, author...)
I've updated adminJs all the way to the last versions before the v7.0.0 betas start. I cannot update to 7 as it requires a node version bump that we are unable to do ATM. I get the same error across the board.
Please advice on how best to address this? It is required that we get the Flat package updated and cannot do so.
Note: This seems related to https://github.com/ueberdosis/tiptap/issues/3689