question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

got an error in terminal with provider FAILED , Cannot read property 'flags' of undefined

See original GitHub issue
  • [ x ] I have searched through existing issues
  • [ x ] I have read through docs
  • [ x ] I have read FAQ
  • [ x ] I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: windows 10
  • Vetur version: 0.34.1
  • VS Code version: 1.57.0 system setup

Problem

[2021-07-04 21:49:51.482] [exthost] [error] [octref.vetur] provider FAILED
[2021-07-04 21:49:51.482] [exthost] [error] Error: Request textDocument/semanticTokens/full failed with message: Cannot read property 'flags' of undefined
    at c:\Users\yuey\.vscode\extensions\octref.vetur-0.34.1\dist\vueMain.js:1:64858
    at c:\Users\yuey\.vscode\extensions\octref.vetur-0.34.1\dist\vueMain.js:1:65153
    at Immediate.<anonymous> (c:\Users\yuey\.vscode\extensions\octref.vetur-0.34.1\dist\vueMain.js:1:65518)
    at processImmediate (internal/timers.js:461:21)

Reproducible Case

i dont know how to reappeared in this error , just install and use it long time,recently go some error with vscode is could’t paste txt in vscode ,It takes a long time , then i open extensions terminal ,see error with “Vetur can’t find package.json in /xxxx/xxxxxx.” I solved the problem according to the solution, but I still have this problem. I can’t solve it, so let’s ask a Issue.

thanks

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zsmithjccommented, Dec 29, 2021

Hi, I’m still getting this error when starting up Vetur. Vetur version 0.35.0 TS version 4.4 Is this something breaking or anything I need to be worrying about? image

0reactions
IOLOIIcommented, Apr 13, 2022

Hi, I’m still getting this error when starting up Vetur. Vetur version 0.35.0 TS version 4.4 Is this something breaking or anything I need to be worrying about? image me too.

In my experience,it affect your your coding, so just type code , do not pay attention to this error report. If you try to format code , but not formated, you can see this logs, may be some tags has no ending tag, jsut this

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR in TypeError: Cannot read property 'flags' of undefined
First check ng --version . Go to next step if you get: Angular CLI: 9.1.4 Node: ...
Read more >
ERROR in TypeError: Cannot read property 'flags' of undefined
I have the same issue with Angular 9.1.4 and a blank new project. 1
Read more >
cannot read property 'insert' of undefined npm install - You.com
Trying to install express or any other package with npm brings forth this error "npm ERR! Cannot read property 'insert' of undefined". Ubuntu...
Read more >
Changelog - Cypress Documentation
Fixed an issue with Angular Component Testing where urls within SASS/SCSS files were not being correctly resolved which could result in incomplete styling....
Read more >
ERROR TypeError: Cannot read property title of undefined
HEY, SET YOUR LIKE THERE ! ... Your browser can't play this video. ... Solved: ERROR TypeError: Cannot read property title of undefined....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found