-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
Version v2.0.28 can't resolve .vue files #4632
Comments
Seeing the same issue here. Reverted to 2.0.26 and all is fine now. We have a similar project structure with components in another package in a monorepo. We also have the vscode file watcher disabled. |
Can't reproduce. Please provide a minimal example repo |
Here you go (check in https://github.com/arpadgabor/vue-volar-bug-repro And here are a couple of screenshot with the behaviour in VSCode in v2.0.28 vs v2.0.26: |
follow with interest |
Please try updating all dependencies to the latest version. |
Confirmed, Update: Only until you reload the window. We need to look into this |
@davidmatter it would be better to identify the exact dependency that I should update. |
This issue is affecting external component libraries. Here is an example of the use of the It only happens with Example 1: This component from the Example 2: This component from
|
Script block is don't matter. If restart the server, it will degrade to any, too. |
For anyone else coming here who like me thought the ticket might be about project references (i.e. similar to #4711): OP's example code does involve project references but it uses separate pnpm workspaces for their folders
so as to make it available in their app's node_modules. So the issue seems to be not so much about project references (#4711) but more similar in nature to #4611 and #4607 (though of course maybe those issues are all the same under the hood – I have no idea). |
Vue - Official extension or vue-tsc version
v2.0.26
VSCode version
Version: 1.91.1 (Universal)
Vue version
3.3.13
TypeScript version
5.4.5
System Info
Steps to reproduce
in a pnpm monorepo with this structure
apps
|_foo
packages
|_ui
packages/ui includes vue components, when a component is imported from
packages/ui
inapps/foo
vscode shows this error.reverting to a previous version doesn't show the error
What is expected?
The component should be resolved properly
What is actually happening?
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: