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

Implicit dependency pathe being used #595

Closed
pi0 opened this issue Jan 19, 2023 · 2 comments
Closed

Implicit dependency pathe being used #595

pi0 opened this issue Jan 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@pi0
Copy link
Contributor

pi0 commented Jan 19, 2023

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)

@pi0 pi0 added the bug Something isn't working label Jan 19, 2023
@HenrijsS
Copy link

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
Copy link
Contributor Author

pi0 commented Jan 24, 2023

As a bugfix, yes

@Atinux Atinux closed this as completed in 3508f7d Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants