Skip to content
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

Volar Doctor: Vue module not found #1962

Closed
quadratz opened this issue Oct 9, 2022 · 2 comments
Closed

Volar Doctor: Vue module not found #1962

quadratz opened this issue Oct 9, 2022 · 2 comments

Comments

@quadratz
Copy link

quadratz commented Oct 9, 2022

Since updating to v1.0.0 (currently using v.1.0.2), Volar doctor gives me an error: Vue module not found from workspace, you may have not install node_modules yet.

Here is my workspace structure:

.
├── .git/
├── some_folders/
├── site/
│   ├── node_modules/
│   ├── docs/
│   │   └── .vuepress/
│   │       └── components/
│   │           └──   MyComponent.vue
│   ├── package.json
│   └── package-lock.json
└── tsconfig.json

The tsconfig.json:

{
  "compilerOptions": {
    "module": "ESNext",
    "moduleResolution": "Node",
    "resolveJsonModule": true,
    "useDefineForClassFields": true,
    "jsx": "preserve",
    "noImplicitThis": true,
    "strict": true,
    "isolatedModules": true,
    "preserveValueImports": true,
    "importsNotUsedAsValues": "error",
    "target": "ESNext",
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "skipLibCheck": true,
    "useUnknownInCatchVariables": false
  },
  "vueCompilerOptions": {
    "skipTemplateCodegen": true
  },
  "include": ["**/.vuepress/**/*"],
  "exclude": ["node_modules", ".temp", "lib", "dist"],
  "allowTrailingCommas": true
}
@leindfraust
Copy link

I have the same problem.

@bonham
Copy link

bonham commented Nov 26, 2022

I have the same issue. I am using yarnpkg. Does that make a difference?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants