udecode / plate-playground-template

A Next.js 15 template with Plate Playground. AI, Plugins, Components.
https://playground.platejs.org
MIT License
56 stars 21 forks source link

Cannot run #3

Closed damikun closed 9 months ago

damikun commented 9 months ago

I have issue to make it run after installing i get some errors for peer deps.. I'm using pnpm as was in Readme but also tried yarn cannot install and build properly...

image

slate-hyperscript seem to be issue... What Noe you use ?

damikun commented 9 months ago

Ok solution there is missing .npmrc file with content auto-install-peers=true

zbeyens commented 9 months ago

Thanks for the issue. Added slate-hyperscript to deps.

damikun commented 9 months ago

Pls @zbeyens also check for this

image

zbeyens commented 9 months ago

Fixed:

"pnpm": {
    "peerDependencyRules": {
      "allowAny": ["react", "react-dom"],
      "ignoreMissing": ["scheduler"]
    }
  }
damikun commented 9 months ago

I`m still facing more issues when i wanna run locally..

const nextConfig = {
  experimental: {
    appDir: true,
  },
}

And after setting up still not able to run locally after dev server starts isn`t there some missing config ?

zbeyens commented 9 months ago

I think it's an issue on your side. It works flawlessly on a new clone repo: pnpm install then pnpm dev.

damikun commented 9 months ago

Ahh i was using template by pnpm create next-app -e https://github.com/udecode/plate-playground-template from ReadMe

damikun commented 9 months ago

Can confirm that using pnpm install and pnpm dev it works.. But seems template way not..

zbeyens commented 9 months ago

Updated the README