Skip to content
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

npx shadcx@latest add plate/editor-ai not working #4078

Open
junaid33 opened this issue Feb 11, 2025 · 0 comments
Open

npx shadcx@latest add plate/editor-ai not working #4078

junaid33 opened this issue Feb 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@junaid33
Copy link

Description

I tried adding plate to my Next.js project but kept getting this error:

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)

I then tested and created a new Next app using npx create-next-app@latest which worked, but when I ran npx shadcx@latest add plate/editor-ai, I got the same error.

Is there a straightforward way of creating a Next.js with Plate?

Reproduction URL

No response

Reproduction steps

1. npx create-next-app@latest
2. npx shadcx@latest add plate/editor-ai

Plate version

Latest

Slate React version

Latest

Screenshots

Logs

Browsers

No response

@junaid33 junaid33 added the bug Something isn't working label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant