Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Can't compile in NextJS Turbo mode #378

Open
imayolas opened this issue Sep 30, 2024 · 2 comments
Open

Can't compile in NextJS Turbo mode #378

imayolas opened this issue Sep 30, 2024 · 2 comments

Comments

@imayolas
Copy link

Context

Nextjs is developing their new bundler, named Turbopack, to speed up the development mode. It drastically reduces the hot reloading time, leading to a much better DX.

Problem

Hatchet does not compile when running next in Turbo mode.

Evidence / How to reproduce

  1. Download or clone Hatchet Nextjs Quickstart
  2. Update package.json to run next in Turbo mode: next dev --turbo
  3. Navigate to http://localhost:3000

The page will not compile and a Module not found exception will be thrown.
image

@snikch
Copy link

snikch commented Nov 25, 2024

We're running into the same issue. I would guess it's related to how the project is bundled :(

@vanshpatelx
Copy link

vanshpatelx commented Dec 18, 2024

Problem

The page build fails in Next.js Turbo mode due to incompatible dependencies, specifically with next.

Solution

  • Updated the next dependency to the latest compatible version.

Issue Solved in Template too: Pull Request

@imayolas @steinwaywhw @mrampton

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants