[Bug]: Cannot install UI Components while working in JS using CLI #6287
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
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
The text was updated successfully, but these errors were encountered: