question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v14.1 broken path for tailwindcss-data

See original GitHub issue
error - ./node_modules/@tailwindcssinjs/macro/lib/tailwindcssinjs.js:9:0
Module not found: Can't resolve '../../tailwindcss-data/lib/utilities'

After upgrading from v13 to v14 now getting this coming from macros

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
browniefedcommented, Oct 19, 2020

@narze delete .next folder and run dev again.

On Sun, Oct 18, 2020, 11:47 PM narze notifications@github.com wrote:

I encountered the same problem (using next.js)

ready - started server on http://localhost:3000 info - Using external babel configuration from /Users/narze/Code/redacted/.babelrc event - compiled successfully event - build page: / wait - compiling… error - ./pages/index.tsx Error: /Users/narze/Code/redacted/pages/index.tsx: Cannot find module ‘…/…/tailwindcss-data/lib/utilities’ Require stack:

  • /Users/narze/Code/redacted/node_modules/@tailwindcssinjs/macro/lib/tailwindcssinjs.js
  • /Users/narze/Code/redacted/node_modules/@tailwindcssinjs/macro/lib/macro.js
  • /Users/narze/Code/redacted/node_modules/babel-plugin-macros/dist/index.js
  • /Users/narze/Code/redacted/node_modules/@babel/core/lib/config/files/plugins.js
  • /Users/narze/Code/redacted/node_modules/@babel/core/lib/config/files/index.js
  • /Users/narze/Code/redacted/node_modules/@babel/core/lib/index.js
  • /Users/narze/Code/redacted/node_modules/next/dist/compiled/babel-loader/index.js
  • /Users/narze/Code/redacted/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js
  • /Users/narze/Code/redacted/node_modules/loader-runner/lib/loadLoader.js
  • /Users/narze/Code/redacted/node_modules/loader-runner/lib/LoaderRunner.js
  • /Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/NormalModule.js
  • /Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/NormalModuleFactory.js
  • /Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/Compiler.js
  • /Users/narze/Code/redacted/node_modules/next/node_modules/webpack/lib/webpack.js
  • /Users/narze/Code/redacted/node_modules/next/node_modules/@next/react-dev-overlay/lib/middleware.js
  • /Users/narze/Code/redacted/node_modules/next/dist/server/hot-reloader.js
  • /Users/narze/Code/redacted/node_modules/next/dist/server/next-dev-server.js
  • /Users/narze/Code/redacted/node_modules/next/dist/server/next.js
  • /Users/narze/Code/redacted/node_modules/next/dist/server/lib/start-server.js
  • /Users/narze/Code/redacted/node_modules/next/dist/cli/next-dev.js
  • /Users/narze/Code/redacted/node_modules/next/dist/bin/next event - build page: /next/dist/pages/_error wait - compiling…

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Arthie/tailwindcssinjs/issues/12#issuecomment-711782005, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANCT4LUMIA5EENHSDTID6DSLPVHLANCNFSM4SVEDTKA .

1reaction
browniefedcommented, Oct 18, 2020

Closing this, not totally certain what is happening. Likely something weird with my config. I got it re-working but not certain why ha

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tailwind CSS classes is not working in my project?
This error is due to tailwind not finding any classes to scan in what it 'thinks' is your HTML code directories.
Read more >
Optimizing for Production - Tailwind CSS
Tailwind CSS is incredibly performance focused and aims to produce the smallest CSS file possible by only generating the CSS you are actually...
Read more >
Tailwindcss v3.0.23 generates broken classes #7843 - GitHub
I recently installed the latest version (v3.0.23) of Tailwind CSS as suggested in its document (webpack v5.70.0, node v16.14.0, postcss-cli ...
Read more >
Upgrading to Tailwind CSS v3.0 - YouTube
In this video, I'll walk you through the most important steps when upgrading an existing project to Tailwind CSS v3.0.
Read more >
How to Use Tailwind on a Svelte Site | CSS-Tricks
Let's spin up a basic Svelte site and integrate Tailwind into it for styling. One advantage of working with Tailwind is that there...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found