Skip to content

Request workspace/symbol failed with message: Cannot read properties of undefined (reading 'uri') Code: -32603 #5325

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

Open
yaniv-peretz opened this issue Apr 18, 2025 · 1 comment

Comments

@yaniv-peretz
Copy link

Vue - Official extension or vue-tsc version

Vue - Official

VSCode version

1.96.2

Vue version

3.5.13

TypeScript version

TS 5.7.2

System Info

[Error - 3:13:32 PM] Request workspace/symbol failed.
  Message: Request workspace/symbol failed with message: Cannot read properties of undefined (reading 'uri')
  Code: -32603 
[Error - 3:13:58 PM] Request workspace/symbol failed.
  Message: Request workspace/symbol failed with message: Cannot read properties of undefined (reading 'uri')
  Code: -32603 
[Error - 3:14:08 PM] Request workspace/symbol failed.
  Message: Request workspace/symbol failed with message: Cannot read properties of undefined (reading 'uri')
  Code: -32603 
[Error - 3:14:11 PM] Request workspace/symbol failed.
  Message: Request workspace/symbol failed with message: Cannot read properties of undefined (reading 'uri')
  Code: -32603 
[Error - 3:14:36 PM] Request workspace/symbol failed.
  Message: Request workspace/symbol failed with message: Cannot read properties of undefined (reading 'uri')
  Code: -32603

package.json dependencies

"dependencies": {
    "@tailwindcss/vite": "^4.1.4",
    "nuxt": "^3.16.2",
    "tailwindcss": "^4.1.4",
    "vue": "^3.5.13",
    "vue-router": "^4.5.0"
  },
  "devDependencies": {
    "daisyui": "^5.0.27"
  }

Steps to reproduce

Nuxt UI

npm create nuxt
npm install -d tailwindcss @tailwindcss/vite daisyui


nuxt.config.ts

import tailwindcss from "@tailwindcss/vite";
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: true },
vite: {
plugins: [tailwindcss()],
},
css: ["~/assets/app.css"],
});


assets/app.css

@import "tailwindcss";
@plugin "daisyui";

What is expected?

no errors

What is actually happening?

In Cursor, I constantly getting these error/warnings

Image

Link to minimal reproduction

No response

Any additional comments?

No response

@KazariEX
Copy link
Member

Please provide a minimal reproducion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants