Implicit dependency `pathe` being used

This issue has been tracked since 2023-01-19.

Tailwindcss module directly imports from pathe (introduced in #499) but is not in the dependencies. This makes issues with pnpm and monorepos. (PS: there might be other implicit deps. i just found this by chance making issue to not forget)

HenrijsS wrote this answer on 2023-01-24

I'm getting an error:

 ERROR  Cannot find package 'pathe' imported from C:\_DEV\_Sites\TukumaMetals\node_modules\@nuxtjs\tailwindcss\dist\module.mjs                                                                                                                                                                     23:40:01  

  at new NodeError (node:internal/errors:393:5)
  at packageResolve (node:internal/modules/esm/resolve:860:9)
  at moduleResolve (node:internal/modules/esm/resolve:909:20)
  at defaultResolve (node:internal/modules/esm/resolve:1124:11)
  at nextResolve (node:internal/modules/esm/loader:163:28)
  at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
  at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
  at link (node:internal/modules/esm/module_job:75:36)

Does that mean I need to install it separately?

pi0 wrote this answer on 2023-01-24

As a bugfix, yes

More Details About Repo
Owner Name nuxt-modules
Repo Name tailwindcss
Full Name nuxt-modules/tailwindcss
Language TypeScript
Created Date 2019-04-04
Updated Date 2023-03-29
Star Count 1285
Watcher Count 12
Fork Count 157
Issue Count 57


Issue Title Created Date Updated Date