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

pre-release v1.7.10 crash: Error: ENOTDIR: not a directory, stat xxx.tsconfig.json #3260

Closed
tjx666 opened this issue Jun 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tjx666
Copy link
Contributor

tjx666 commented Jun 8, 2023

node:fs:1588
  handleErrorFromBinding(ctx);
  ^

Error: ENOTDIR: not a directory, stat '/Users/yutengjing/code/xxx/apps/yyy/tsconfig.node.json/tsconfig.json'
    at statSync (node:fs:1588:3)
    at t.statSync (node:electron/js2c/asar_bundle:2:4510)
    at Object.stat (/Users/yutengjing/.vscode/extensions/vue.volar-1.7.10/dist/server.js:77:33259)
    at Object.stat (/Users/yutengjing/.vscode/extensions/vue.volar-1.7.10/dist/server.js:77:30050)
    at _ (/Users/yutengjing/.vscode/extensions/vue.volar-1.7.10/dist/server.js:77:11963)
    at runNextTicks (node:internal/process/task_queues:61:5)
    at process.processImmediate (node:internal/timers:437:9)
    at async m (/Users/yutengjing/.vscode/extensions/vue.volar-1.7.10/dist/server.js:77:11491)
    at async h (/Users/yutengjing/.vscode/extensions/vue.volar-1.7.10/dist/server.js:77:10931)
    at async Object.u [as getProjectAndTsConfig] (/Users/yutengjing/.vscode/extensions/vue.volar-1.7.10/dist/server.js:77:10422) {
  errno: -20,
  syscall: 'stat',
  code: 'ENOTDIR',
  path: '/Users/yutengjing/code/xxx/apps/yyy/tsconfig.node.json/tsconfig.json'
}

real project structure:

image
@johnsoncodehk johnsoncodehk added the bug Something isn't working label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants