-
-
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
Can't find module about non-relative path #545
Comments
Can you provide a repo for this? On the other hand, can you import non relative path in typescript file? |
@HerringtonDarkholme this project is here yarn
yarn run dev Yes, I can import other file. |
do you nedd backend service?@HerringtonDarkholme |
@HerringtonDarkholme My mistake, after exit and restart my vscode, all the problem goes away. As far as I'm concerened, the problem may be caused by the vscode, because I hava a couple of days not closing the vscode. And the tsconfig.json is not right before. Thanks anyway. |
wow, didn't think vscode can be such a long-life process :) Anyway, I think this issue has been solved. BTW, @types/vue isn't needed and probably will cause errors. Vue2 has included typing in its distribution. You probably need to delete @types from deps. |
yes, can't agree more, MS' product needs rebooting |
Info
Problem
Hi, I use typescript to write the .vue file. And vetur always alert this error.
I have tried all of the solution on Google, but failed all the time.
I have tried all the combination of resolve of the tsconfig.json and reinstall yarn the package of the project.
And I have read the #423 , however, i can't find the solution working for me.
Reproducible Case
I don't know why vetur can't read the tsconfig.json and resolve the non-relative path, did I do something wrong?
The text was updated successfully, but these errors were encountered: