nuxt / nuxt/devtools

Inspector cannot open cursor's page file

Open
#862 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
3.3k
Forks
214
Avg merge
13h 22m
Merged PRs (30d)
18

Description

🐛 The bug

Inspector selects elements on the page, cursor reports an error
Image

🛠️ To reproduce

https://github.com/lixiaofa/nuxt-devtools-test.git

🌈 Expected behavior

After selecting elements on the page, the inspector opens the code file of the page I selected, and the cursor appears at the position where I selected the elements

ℹ️ Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the linked nuxt-devtools-test repository and the Inspector flow described in the report. Trace how selecting an element resolves its page file and opens it in the cursor, using the reported error as the starting clue. Done means selecting an element opens the corresponding page file with the cursor at the selected position.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.