Closed mainrs closed 3 years ago
I could solve it by temporarily switching back to the old behaviour that uses node_modules
, running vue add tauri
and enabling pnp again:
# .yarnrc.yml
nodeLinker: node-modules
This is an issue with Vue CLI, not this plugin. See https://github.com/vuejs/vue-cli/issues/2850 for more details. Vue CLI doesn't yet support yarn pnp, but when it does I will reopen this if it is still a problem.
Thanks for letting me know!
Describe the bug My current project uses yarn v2 with pnp enabled. Running
vue add tauri
results in this output. I also manually ranvue invoke
to try to install it that wayEnvironment (please complete the following information):
npx tauri info
/yarn tauri info
:yarn run [--inspect] [--inspect-brk] ...