Closed thompsonsj closed 5 months ago
@thompsonsj are you still seeing this error? I am now on M2 but am unable to recreate. Let me know if you have time to test it again, thanks!
I'm getting this error with an M1 mac @JarrodMFlesch
I have a workaround working. I installed sharp@0.33.0-alpha.6
Hey there @thompsonsj and @timoconnellaus, this repo will soon be archived because it's been merged into the main Payload repo here: https://github.com/payloadcms/payload/tree/main/packages/next. Payload 3.0 ships with native support for Next.js and is currently out in beta here: https://github.com/payloadcms/payload-3.0-demo. I'm going to close this issue now but feel free to keep the conversation going either as a GitHub Discussion or on Discord. If think issue persists, feel free to open a new ticket on either the demo repo or the monorepo with the 3.x-beta
label, and be sure to include a reproduction so we can fix it faster.
When payloadcms/next-payload detects that
sharp
should be bundled,npm run dev
fails.I see a similar issue in https://github.com/payloadcms/next-payload/issues/48 and this was resolved. My install is new with the latest version of all packages.
Could this be because I am on the M2 chip? I have no idea where to start 😅 .
Have tried including
node-loader
but this yields more errors.