Unrecognized archive format #15413
-
What version of Tailwind CSS are you using? 3.4.16 What build tool (or framework if it abstracts the build tool) are you using? Next.js 15.1.0 What version of Node.js are you using? For example: v22.12.0 What browser are you using? N/A What operating system are you using? macOS [email protected] Reproduction URL
Try installing tailwind
Describe your issue Created nextjs application using npm command as follows
I was getting an error TAR_BAD_ARCHIVE error when selected Tailwind CSS as yes at the time of project creation. When it checked the npm logs it was having error installing cssesc and was not able to download this using the tar link as well. So tried creating the project without tailwind and it was successful and created a project. Then I tried manually installing tailwind using documentation here https://tailwindcss.com/docs/guides/nextjs but faced the same issue. Here is the npm debug logs for the same:
May be to reproduce might have to clear the npm cache so it will try to reach the npm repository directly and don't point to local one as I am trying it on fresh laptop. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Even we are facing the same issue and not able to build any frontend projects |
Beta Was this translation helpful? Give feedback.
-
we are using Vite. We are also getting the same issue. |
Beta Was this translation helpful? Give feedback.
-
i am getting the same issue and someone scolded me for using the wrong directory without actually looking 😭 |
Beta Was this translation helpful? Give feedback.
-
This was happening due to NPM |
Beta Was this translation helpful? Give feedback.
This was happening due to NPM
https://status.npmjs.org/incidents/bxvmmvlqzfds
This is now fixed