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

typecheck: no such file or directory 'HelloWorld.vue_________render.tsx' #58

Closed
cexbrayat opened this issue Nov 11, 2020 · 6 comments · Fixed by #69
Closed

typecheck: no such file or directory 'HelloWorld.vue_________render.tsx' #58

cexbrayat opened this issue Nov 11, 2020 · 6 comments · Fixed by #69

Comments

@cexbrayat
Copy link

Using @vuedx/typecheck version 0.3.1-insiders-1604891675.0 I'm running into an error straight away in a bare CLI project.

Repro:

npx @vue/cli@ create vue-integration -m yarn --inlinePreset '{"useConfigFiles": true,"plugins": {"@vue/cli-plugin-typescript": {"classComponent": false},"vue-cli-plugin-vue-next": {}}}'
yarn add --dev --exact @vuedx/typecheck@insiders
yarn typecheck

Throws:

$ /vue-cli-tests/template-typechecking/node_modules/.bin/typecheck
Loading plugin from node_modules/@vuedx/typescript-plugin-vue/dist/index.cjs.js
Loading project from tsconfig.json
./src/components/HelloWorld.vue
===============================
Unexpected error. Please report 👉 https://github.com/znck/vue-developer-experience/issues/new
Error: ENOENT: no such file or directory, open '/vue-cli-tests/template-typechecking/src/components/HelloWorld.vue_________render.tsx'
    at Object.openSync (fs.js:465:3)
    at Object.readFileSync (fs.js:368:35)
    at readFile (/vue-cli-tests/template-typechecking/node_modules/@vuedx/typecheck/bin/typecheck.js:23:31)
@znck znck added the requires repro The issue lacks an example to reproduce the bug. label Nov 16, 2020
@cexbrayat
Copy link
Author

cexbrayat commented Nov 18, 2020

I see you added requires repro to this issue.

In case you missed it there is a repro step, but I added a branch here to demonstrate the issue if you want: cexbrayat/template-typechecking#3

Just checkout the branch, run yarn and yarn typechek

It happens with both node v12 12.15.0 and v14

@znck znck removed the requires repro The issue lacks an example to reproduce the bug. label Nov 18, 2020
@znck znck closed this as completed in #69 Nov 21, 2020
@znck
Copy link
Collaborator

znck commented Nov 21, 2020

Thanks for the repro. 🙌

@cexbrayat
Copy link
Author

Thank you for the quick fix ;) Do you plan to release an insider version soon so we can give it a spin?

@znck
Copy link
Collaborator

znck commented Nov 21, 2020

@cexbrayat
Copy link
Author

Thanks! But it looks like the release job failed?

@znck
Copy link
Collaborator

znck commented Nov 21, 2020

😞 release token expired, updating.

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

Successfully merging a pull request may close this issue.

2 participants