nuxt-modules / tailwindcss

Tailwind CSS module for Nuxt

Home Page:https://tailwindcss.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project install fails after updating past version 6.10.2

gal-cernilogar opened this issue · comments

Version

@nuxtjs/tailwindcss: v6.10.2
nuxt: v3.9.3

Steps to reproduce

  1. Disable/uninstall pnpm (the problem exists in a project setup, where npm is the only package manager)
  2. Start with a project using module v6.10.1 or less with the corresponding package-lock.json
  3. Make sure to remove all git ignored local folders, including .nuxt and node_modules or anything that might contain cache of previous installations
  4. Update the module to v6.10.2 and install dependencies with npm install

What is Expected?

Project dependencies should install.

What is actually happening?

The install fails with:

npm ERR! code 127
npm ERR! path /*****/node_modules/@nuxtjs/tailwindcss
npm ERR! command failed
npm ERR! command sh -c pnpm dev:prepare
npm ERR! sh: pnpm: command not found

The issue was discovered when hunting for a specific release that caused some layout breaks after updating to the latest version.
It seems that the install does not fail without removing the folders beforehand as described in the steps.

Not sure, if this is the cause of the issue but I suspect it has something to do with these changes

Please update to the latest version - it should resolve this.

Sorry, I missed the fix in the next release...
Thank you for your reply.
This is still the version from which onward we get some grid layout breaking, however.
We'll look into it a bit more and open a new issue if we find something since it's probably unrelated to this one.
Cheers!