Skip to content

[Bug]: Cannot install UI Components while working in JS using CLI #6287

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
1 task done
iambiswajitdas opened this issue Apr 22, 2025 · 0 comments
Open
1 task done
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@iambiswajitdas
Copy link

Affected Packages

UI Components

Version(s)

latest

Bug Description

in ts, everything works. But while I am working in JS in my nextjs app I cannot install UI Components using CLI commands I get this error:

C:\Users\name\Desktop\code\myapp>npx @tiptap/cli init
✔ Verifying framework. Found Next.js.
✔ Validating import alias.
✔ Would you like to add a template or UI components to your project? Yes

✔ What would you like to integrate: Components

✔ Select the components you want to add: Heading Dropdown Menu (Free)

✔ Checking registry.
✔ Installing dependencies.
✔ Installing development dependencies.
⠴ Updating files.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Unexpected token (1:0)

Browser Used

Chrome

Code Example URL

No response

Expected Behavior

It fails during Updating files everytime.

Additional Context (Optional)

No response

Dependency Updates

  • Yes, I've updated all my dependencies.
@iambiswajitdas iambiswajitdas added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Apr 22, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Tiptap: Issues Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant