You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error logs referencing actual file on file system (not file with .ts appended).
Actual Behaviour
appendTsSuffixTo makes paths in error message point to non-existent file.
ERROR in C:\DeveloperArea\Troubleshooting\vue_ts\MyComponent.vue.ts
17:12-18
[tsl] ERROR in C:\DeveloperArea\Troubleshooting\vue_ts\MyComponent.vue.ts(17,13)
TS2552: Cannot find name 'onCick'. Did you mean 'onClick'?
I understand that it is supposed to add ts-suffix internally.
But including the suffix in the error output means one can't click them in, for example VS Code, and end up at the place of the error.
Steps to Reproduce the Problem
Download repo yarn
yarn build
See file path in build error
Location of a Minimal Repository that Demonstrates the Issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behaviour
Error logs referencing actual file on file system (not file with .ts appended).
Actual Behaviour
appendTsSuffixTo makes paths in error message point to non-existent file.
ERROR in C:\DeveloperArea\Troubleshooting\vue_ts\MyComponent.vue.ts
17:12-18
[tsl] ERROR in C:\DeveloperArea\Troubleshooting\vue_ts\MyComponent.vue.ts(17,13)
TS2552: Cannot find name 'onCick'. Did you mean 'onClick'?
I understand that it is supposed to add ts-suffix internally.
But including the suffix in the error output means one can't click them in, for example VS Code, and end up at the place of the error.
Steps to Reproduce the Problem
Download repo
yarn
yarn build
See file path in build error
Location of a Minimal Repository that Demonstrates the Issue.
https://github.com/SimmeNilsson/vue_ts
Additional info
Line numbers would still be off.
But added workaround from vuejs/vue-loader#1778 to get correct ones.
The text was updated successfully, but these errors were encountered: