Closed
Description
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
System:
OS: macOS 14.5
CPU: (10) arm64 Apple M1 Pro
Memory: 186.03 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.15.1 - ~/.nvm/versions/node/v20.15.1/bin/node
npm: 10.7.0 - ~/.nvm/versions/node/v20.15.1/bin/npm
pnpm: 9.4.0 - ~/.nvm/versions/node/v20.15.1/bin/pnpm
Browsers:
Safari: 17.5
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
in apps/foo
vscode shows this error.
Cannot find module "path to component" or its corresponding type declarations
reverting to a previous version doesn't show the error
What is expected?
The component should be resolved properly
What is actually happening?
Cannot find module "path to component" or its corresponding type declarations
Link to minimal reproduction
No response
Any additional comments?
No response