Skip to content

Building xl-ai and react package fails #1839

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Hector-Zhuang
Copy link

There are a few variables incorrectly imported from the wrong package, prosemirror-view, which does not export them. This causes the react package to fail during the build process.

image

Additionally, the xl-ai package is using a different version of prosemirror-view compared to the other packages, leading to type inconsistencies.

Copy link

vercel bot commented Jul 9, 2025

Someone is attempting to deploy a commit to the TypeCell Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@nperez0111 nperez0111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe this change to be valid.

@tiptap/pm/view is just a re-export of prosemirror-view and they are within the same version range so there should only ever be a single version installed in a consuming project.

As for xl-ai, this version is a version range, which should still be compatible with the other versions in the project (since it should accept minors).

Here is proof that only a single version of prosemirror-view exists in the repo:

Image

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

Successfully merging this pull request may close these issues.

2 participants