nuxtrdev / nuxtr-vscode

An extension offering commands and tools to make your experience with Nuxt more pleasant.
https://marketplace.visualstudio.com/items?itemName=Nuxtr.nuxtr-vscode
336 stars 13 forks source link

[Bug]: Error "Nuxtr: No package manager found" when trying to run a action #142

Closed victor-perez closed 1 month ago

victor-perez commented 5 months ago

Environment

- Operating System: Linux
- Node Version:     v20.11.0
- Nuxt Version:     3.11.2
- CLI Version:      3.11.1
- Nitro Version:    2.9.6
- Package Manager:  yarn@1.22.15
- Builder:          -
- User Config:      srcDir, build, devtools, vite, ssr, modules
- Runtime Modules:  @vite-pwa/nuxt@0.7.0, ()
- Build Modules:    -

nuxtr config

{
  "nuxtr.monorepoMode.DirectoryName": "apps/front-end",
  "nuxtr.defaultPackageManager": "Yarn",
}

What went wrong?

When using mono repo setting the actions don't work, get error "Nuxtr: No package manager found" even if manager is set in the config

image

How to reproduce it?

nuxtr config

{
  "nuxtr.monorepoMode.DirectoryName": "apps/front-end",
  "nuxtr.defaultPackageManager": "Yarn",
}

and click on any action