Failed to resolve import source when using PNPM #10121
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: sfc
Vue version
3.4.14
Link to minimal reproduction
https://github.com/issueset/vue-sfc-pnpm-issue
Steps to reproduce
Open the following three links. They are the same minimal repo with different package managers.
npm
andyarn
work fine, butpnpm
throws the following error.It seems that the build would be fine if I remove the
defineProps<VueNodeViewProps>
insrc/comp.vue
.While this could be a bug on the
pnpm
, this error is thrown by@vue/compiler-sfc
, so I am submitting the issue here so that maybe the Vue team could check it out and give some more information.(I don't have a link for
bun
because I cannot getbun
installed in stackblitz. However, when I testbun
locally, it works fine too).What is expected?
No error
What is actually happening?
[vite:vue] [@vue/compiler-sfc] Failed to resolve import source "@prosekit/vue".
System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: