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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants