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

Next JS 14 Turbo Compatibility #938

Open
sherakama opened this issue Nov 6, 2023 · 0 comments
Open

Next JS 14 Turbo Compatibility #938

sherakama opened this issue Nov 6, 2023 · 0 comments

Comments

@sherakama
Copy link
Member

Error when using Turbo pack and NextJS 14

The Error

Error: error - node_modules/decanter/tailwind.config.js:80:5  Error resolving commonjs request

  78 |     require(`${dir}/components/layout/grid-gap.js`)(),
  79 |     require(`${dir}/components/link/stretched-link.js`)(),
> 80 |     require(`${dir}/components/lists/lists.js`)(),
     |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  81 |     require(`${dir}/components/logo/logo.js`)(),
  82 |     require(`${dir}/components/media/embed-container.js`)(),
  83 |     require(`${dir}/components/responsive-spacing/responsive-spacing.js`)(),
unable to resolve server relative "/ROOT/node_modules/decanter/src/plugins/components/lists/lists.js"
It was not possible to find the requested file.
    Parsed request as written in source code: server relative "/ROOT/node_modules/decanter/src/plugins/components/lists/lists.js"
    Path where resolving has started: [project]/node_modules/decanter/tailwind.config.js
    Type of request: commonjs request
    Import map: No import map entry

Next dev command
"dev": "NODE_OPTIONS='--inspect' DEV=true next dev --turbo",

Repo to reproduce the error:
https://github.com/pookmish/cardinal-sites-next/tree/main

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

1 participant