-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Error on "yarn watch" #2435
Comments
Temporary Solution: // vti/src/typing.d.ts
declare module 'eslint-plugin-vue';
declare module 'eslint';
declare module 'js-beautify';
declare module 'prettier'; I'm not sure how to fix it. @@ |
I only really care about the server part and I can run Another workaround would be to install those |
I did a mix of the two in #2437 |
I think the correct answer is that vls must contain these definitions |
Types don't exist for The other ones have type declarations and those declarations are already included in respective directories ( |
The unreasonable point is that everyone who uses vls must do same thing. |
|
It actually works just like the commonjs library. It same as |
I see. In any case, using So I'm not sure whether your comments are suggesting to try a different approach or whether you are agreeing with my solution. |
I'm not sure what the right answer is yet. All I can think of now is...
Maybe the final solution is bundled |
I agree with @yoyo930021 that we shouldn't make those packages devDeps on the top level. I also think you shouldn't need to install extra typings when using Let's first make the CI green. I'll open another issue to track VLS typing issue. |
When using You only interact with |
Isn't the current issue that So I'm suggesting that we:
|
Let's keep this open to fully fix it. |
Vetur: Restart VLS
Info
Problem
Trying to run
yarn watch
in the latest repo gives an error:Reproducible Case
yarn && yarn watch
The text was updated successfully, but these errors were encountered: