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

NextJs fails with turbopack #29443

Open
1 of 4 tasks
sacru2red opened this issue Dec 20, 2024 · 2 comments
Open
1 of 4 tasks

NextJs fails with turbopack #29443

sacru2red opened this issue Dec 20, 2024 · 2 comments

Comments

@sacru2red
Copy link

sacru2red commented Dec 20, 2024

Current Behavior

If you use postcss to use tailwind,
turbopack throws an error.

Please refer to my repo for more details.

(In fact, you can check it right away by creating a new tailwind+next project and running it with --turbo.)

Expected Behavior

Run without errors

GitHub Repo

https://github.com/sacru2red/nx-next-turbo-issue

Steps to Reproduce

  1. run nx dev org
  2. check It works
  3. turn on ""turbo": true"
  4. check It throws error

Nx Report

Node           : 22.11.0
OS             : win32-x64
Native Target  : x86_64-windows
npm            : 10.8.3

nx                     : 20.2.2
@nx/js                 : 20.2.2
@nx/jest               : 20.2.2
@nx/eslint             : 20.2.2
@nx/workspace          : 20.2.2
@nx/devkit             : 20.2.2
@nx/eslint-plugin      : 20.2.2
@nx/module-federation  : 20.2.2
@nx/next               : 20.2.2
@nx/react              : 20.2.2
@nx/web                : 20.2.2
@nx/webpack            : 20.2.2
typescript             : 5.6.3
---------------------------------------
Registered Plugins:
@nx/next/plugin
@nx/jest/plugin
@nx/eslint/plugin

Failure Logs

Package Manager Version

npm --version 10.8.3

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

It related with #26510

No response

@tonipepperoni
Copy link

#26510 (comment)
Pls see here. createGlobalDependencies has an issue.

@sacru2red
Copy link
Author

@tonipepperoni

hello. As you can see from the link below, my problem was not related to that feature.
https://github.com/sacru2red/nx-next-turbo-issue/blob/5f2901f95aeacf83269e4667b31856b11b6678e0/apps/org/tailwind.config.js#L11

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

No branches or pull requests

2 participants