Support

Most problems have a fix that takes a minute. Paste the message the panel shows, or describe what happens, and the matching answer opens.

Four quick checks

These cover most first-day problems. Run them in a terminal outside your editor.

1Node.js 20.19 or newer

node -v

Older versions can't run the bridge. Update Node.js, then install the bridge again.

2The bridge is installed

codelocator --version

If the command isn't found, install it with npm install -g codelocator.

3Setup ran once

codelocator setup

This lets the panel's Connect button start the bridge. Run it again after you move or reinstall Node.js.

4Your app runs in dev mode, here

Start it on this computer with ng serve, npm start, nx serve, next dev or vite, and open it from localhost. A plain HTML page can be served by Live Server or opened from disk. Chrome 123 or newer.

Connecting the bridge

The bridge is the small program on your computer that finds your code and opens your editor.

The panel says Not connected, or the bridge is not running“The bridge is not reachable at …” · “CodeLocator is disconnected”

Why: the bridge isn't running. It stops when Chrome closes if Connect started it, and when its terminal closes if you started it yourself.

  1. Press Connect (or Start the bridge) in the side panel.
  2. If nothing happens, run codelocator setup once, then press Connect again.
  3. Or start it by hand in a terminal outside VS Code and keep that terminal open. VS Code's own terminal closes with VS Code, and the bridge with it.
    codelocator
Connect says to run setup“Could not start the bridge: run "codelocator setup" once in a terminal, then try again.”

Why: Chrome can start the bridge only after codelocator setup has registered a small helper for it. You do this once per computer.

  1. Run setup in a terminal:
    codelocator setup
  2. Press Connect in the panel again.
Connect worked before, now it fails“Could not start the bridge: its helper stopped.”

Why: Node.js moved or was reinstalled (an update, or a switch with nvm), so the helper points to a Node.js that's gone.

  1. Run setup again so it points to the Node.js you have now:
    codelocator setup
  2. If it still fails, the reason is in the bridge's log: ~/.codelocator/bridge.log (on Windows %USERPROFILE%\.codelocator\bridge.log).
Your company's computer blocks Connect or setup“Could not start the bridge: this browser does not allow it” · “Could not register the helper with Chrome”

Why: some company policies block Chrome helpers or registry changes. CodeLocator still works, you just start the bridge yourself.

  1. Open a terminal outside VS Code and run:
    codelocator
  2. Keep that terminal open while you work, then press Connect in the panel.
Port 47310 is busy“Port 47310 is busy: bridge … is running there” · “… is already running on port 47310”

Why: a bridge is already running, usually one that Connect started or one in another terminal. Only one can use the port. Since bridge 1.0.3, a newer bridge stops an older one and takes its place by itself.

  1. Use the bridge that's already running: press Connect in the panel.
  2. Or stop it, then start again:
    codelocator stop
  3. With a bridge older than 1.0.3: Ctrl+C in its terminal, or Disconnect in the panel's Settings.
The bridge or its helper doesn't answer“The bridge helper did not answer.” · “The bridge did not answer on port 47310.”

Why: the bridge started but stopped right away, or took too long. Starting it by hand shows the reason.

  1. Run codelocator in a terminal and read what it prints. A busy port or an old Node.js are the usual causes (see the quick checks).
  2. If it runs fine by hand, keep it open and press Connect.

Picking elements

Selecting an element on your page and finding its code.

CodeLocator can't select on this page“CodeLocator cannot select on this page yet. Click the CodeLocator icon … on the page once.”

Why: for your privacy, Chrome lets the extension into a page only after you click its icon or press its shortcut on that page.

  1. Click the CodeLocator icon in Chrome's toolbar, or press Alt+Shift+C, once on the page.
  2. Pin the icon (the puzzle piece, then the pin) so it's always one click away.
Alt+Shift+C does nothing“Chrome has no shortcut for CodeLocator.”

Why: Chrome doesn't give an extension a shortcut that another extension already uses, and sometimes it doesn't assign the suggested one at all.

  1. Press Set one in the panel, or paste this into Chrome's address bar:
    chrome://extensions/shortcuts
  2. Find CodeLocator and choose any free keys. Until then, the toolbar icon works the same.
No running app was found“No running Angular app was found on this computer.” · “No running Next.js app was found on this computer.” · “No running Vue or Nuxt app was found on this computer.”

Why: the bridge finds your project from the app that serves the page, on this computer. It didn't find one.

  1. Start the app here: ng serve or npm start for Angular, next dev or npm run dev for Next.js, Vite, Vue and Nuxt.
  2. Open the page from localhost and pick again.

On a staging or production site, allow it in the side panel: CodeLocator then opens the line in your own copy of the project (Angular; React, Next.js and plain HTML pages in Beta; Vue and Nuxt sites not yet). Apps behind a proxy, in Docker or in WSL aren't supported yet.

The app runs, but its project folder isn't found“An app is running on port …, but its Angular project folder could not be found.”

Why: the bridge asks the system which program serves the port, then walks up to angular.json, or the Next.js, Nuxt or Vite config. On Windows, a global ng serve or ng s is found through the builder it starts, which can take a few seconds after the app starts.

  1. Wait a few seconds and pick again.
  2. If it still fails, start the app with the project's own CLI, from the project folder:
    npx ng serve
    or npm start (Angular), npm run dev (Next.js, Vite, Vue, Nuxt).
None of your apps has this component“None of your running Angular apps (…) has this component.”

Why: the page comes from an app that isn't running on this computer, for example a staging site, or another project.

  1. Start the app that contains the component on this computer.
  2. Open the same page from localhost and pick there.
It opens the right component but the wrong lineWeak match · “Other possible matches”

Why: matching is exact in dev mode. Without it, for example on a production build, CodeLocator has less to go on.

  1. Run the app with ng serve (dev mode) and pick again.
  2. Open Other possible matches in the panel and choose the right one.
  3. Still wrong in dev mode? Please send me the example. That's exactly what I want to fix.
It shows “Not sure: choose one”On a React, Next.js or HTML site (Beta)

Why: several lines in your copy look like the element you picked, so CodeLocator opens none of them.

  1. Click the right line in the panel's list. It opens in your editor.
  2. None of them is right? Pick the element's parent, which often has a clearer class or text.
It opened the wrong project or pageOn a staging or production site

Why: more than one copy of the project or the page is on this computer, and the one CodeLocator chose is not this site's.

  1. Press Not this project? above the pick and choose your copy.
  2. Your choice is remembered for that site.
It can't find my copy of the page“Can't find … on this computer” · “None of your React projects …”

Why: the bridge looks for your copy among your running apps and the folders open in your editor (for an HTML page also Desktop, Documents and Downloads). It never asks the site for its files.

  1. Open your copy's folder in VS Code, Cursor or Antigravity (File › Open Folder).
  2. Pick again.
The panel asks to update the bridge for React or HTML sites“Update the bridge for React and Next.js sites” · “… for HTML pages on sites”

Why: picks on React, Next.js and plain HTML sites need a newer bridge.

  1. Update the bridge:
    npm install -g codelocator@latest
  2. Press Connect in the panel.
A component you just added can't be pickedNew file, old result

Why: while an Angular app runs, the bridge watches its files (the apps menu shows Live). If the app isn't marked Live, the bridge hasn't seen your change yet.

  1. Open the apps menu at the top of the panel (it shows the port, like :4200).
  2. Press Refresh list, then pick again.
The Value tab says the pick is gone“The bridge no longer has this pick (it was restarted).”

Why: the bridge restarted after your pick, so it no longer has that pick's details.

  1. Pick the element again.
Nothing happens on some pageschrome:// pages · Chrome Web Store

Why: Chrome doesn't let any extension work on its own pages, such as chrome:// pages and the Chrome Web Store.

  1. Use CodeLocator on your app's page, for example http://localhost:4200.

Your editor

Opening the file in VS Code, Cursor, Antigravity or IntelliJ IDEA.

The editor doesn't open“VS Code didn't start” · “Could not start the editor "…".” · “No editor was found on this computer.”

Why: the bridge looks for VS Code, Cursor, Antigravity and IntelliJ IDEA on your PATH and in their usual install folders. Yours is somewhere else, or not installed. Since version 1.0.4, Automatic opens picks in the first of these that is installed when VS Code isn't, in the order VS Code, Cursor, Antigravity, IntelliJ IDEA.

  1. When the panel says an editor didn't start, press Open in Cursor (or the other editor it found). The line opens there, and that editor is kept in Settings.
  2. Or choose your editor in the panel: Settings › When you pick › Open files in.
  3. VS Code on macOS: in VS Code, open the Command Palette and run Shell Command: Install 'code' command in PATH.
  4. Otherwise add the editor's bin folder to your PATH, or give the bridge its full path, then restart codelocator:
    codelocator --editor "full path to your editor"

Any other editor that accepts -g file:line:column works through --editor too.

The file opens, but the editor stays behind ChromeWindows · “Editor to the front: …”

Why: the bridge brings the editor to the front itself, but some company Windows policies block the small PowerShell helper it uses.

  1. Look for the line starting with Editor to the front in the bridge's window, or in bridge.log. “unavailable” means a policy blocks it.
  2. The file is already open at the right line: switch to the editor from the taskbar.
Picks or opening feel slowFirst pick · new editor window

Why: the first pick on a project waits for the bridge to scan it. After that a pick takes well under a second. An editor that has no window for the project yet takes a few seconds to open one.

  1. Keep the project open in your editor, so files open in its window right away.
  2. The bridge prints how long each pick and open took (in its window, or in bridge.log). Send me those lines if it stays slow.

React and Next.js

Apps on next dev or vite.

React gives no location for the element“React gave no source location for this element.”

Why: the page is a production build (next build / next start, or vite build), which drops the debug details CodeLocator reads.

  1. Run the app in dev mode and pick again:
    npm run dev
A React page on an Angular app's port“This is a React page, but the app on its port (…) is an Angular project.”

Why: the tab's port belongs to an Angular app. CodeLocator reads React pages from Next.js and Vite apps.

  1. Make sure the tab shows the React app's own port, then pick again.
The panel asks to update the bridge for React“Update the bridge for React”

Why: React apps on Vite, and the Styles, Code and Value tabs for React, need a newer bridge than the one installed.

  1. Install the latest bridge:
    npm install -g codelocator@latest
  2. Press Disconnect then Connect in the panel, and pick again.

Vue and Nuxt

Apps on vite, vue-cli-service or nuxt dev.

Vue gives no .vue file for the element“Vue gave no .vue file for this element.”

Why: the page is a production build (vite build, nuxt build or nuxt preview), which drops the .vue file names CodeLocator reads.

  1. Run the app in development mode and pick again:
    npm run dev
A Vue page on another app's port“This is a Vue page, but the app on its port (…) is an Angular project.”

Why: the tab's port belongs to an app that isn't Vue. CodeLocator reads Vue pages from Vue (Vite or the Vue CLI) and Nuxt apps.

  1. Make sure the tab shows the Vue or Nuxt app's own port, then pick again.
Picks on a Vue site open nothing“Staging and production sites are not read for Vue yet.”

Why: Vue and Nuxt picks need the app running on this computer: production builds drop the .vue file names. Vue sites are not supported yet.

  1. Run your copy of the app with npm run dev and pick on localhost.
The panel asks to update the bridge for Vue“Update the bridge for Vue”

Why: Vue and Nuxt picks need bridge 1.0.4 or newer.

  1. Install the latest bridge:
    npm install -g codelocator@latest
  2. Press Restart bridge in the panel, and pick again.
Shift+click opens nothing for a Bootstrap classA class such as btn or card from a UI library

Why: the class is styled by a library in node_modules (Bootstrap, for example), so there is no rule for it in your code to open.

  1. Open the Styles tab: it lists the rules from your own files that apply to the element.

Plain HTML pages

Pages served by Live Server or opened from disk.

The bridge can't find the page's file“Can't find … on this computer. Open its folder in VS Code, then pick again.”

Why: the bridge looks for the page in the folders open in your editor and the ones opened in the last 30 days, then in your Desktop, Documents and Downloads. It opens a copy only when its text is the page the server sends.

  1. Open the page's folder in VS Code, Cursor or Antigravity (File › Open Folder).
  2. Save the file, so the copy on disk matches the page, and pick again.
A page opened from disk does nothingfile:/// · “Allow access to file URLs”

Why: Chrome keeps extensions away from pages opened from disk until you allow it.

  1. Open chrome://extensions, press Details on CodeLocator and turn on Allow access to file URLs. The panel's Open CodeLocator in Chrome button takes you there.
  2. Reload the page and pick again.
The panel asks to update the bridge for HTML pages“Update the bridge for HTML pages”

Why: plain HTML pages need a newer bridge than the one installed.

  1. Install the latest bridge:
    npm install -g codelocator@latest
  2. Press Disconnect then Connect in the panel, and pick again.

Versions and updates

Keeping the extension and the bridge in step.

The panel says the bridge is too old“Bridge … is too old for this extension” · “Bridge … is older than extension …” · “… are from different releases”

Why: Chrome updates the extension by itself, but the bridge updates only when you install it again.

  1. Install the latest bridge (the panel also shows the exact command):
    npm install -g codelocator@latest
  2. Restart it: press Restart bridge in the warning. With an older extension, press Disconnect then Connect, or restart codelocator in its terminal.
The panel still shows the old bridge after updating“This bridge was started in a terminal” · “The restart started … again” · Settings: “Connected · old version”

Why: npm install changes only the files on disk. The old bridge keeps running its old code until it restarts, and with nvm or an old Node.js a second copy of codelocator can keep starting the old version. Bridge 1.0.3 and later stop an older bridge by themselves when you install them.

  1. Press Restart bridge in the warning. It stops the old bridge and starts the one you installed.
  2. “This bridge was started in a terminal”: close that terminal window, or run the command the panel shows (taskkill /PID … /F on Windows), then press Connect.
  3. “The restart started … again”, or codelocator --version shows an older version than you installed: two copies are installed. Run this in a new terminal; it lists every copy, points Connect at the new one and stops the old bridge:
    codelocator doctor
  4. It says “Unknown command”? That terminal finds the old copy too: run npm install -g codelocator@latest there first, or remove the old copy with npm uninstall -g codelocator using the Node.js that installed it (with nvm: nvm use that version first).
Which versions do I have?Extension · bridge
  1. Both are in the panel: Settings › About shows the extension version and the bridge version.
  2. Or in a terminal:
    codelocator --version
Switch the panel to ArabicLanguage menu · some texts still in English
  1. Click the globe in the panel's header, next to the gear, and choose العربية. The panel turns right to left at once. Choose English in the same menu to switch back. This needs extension 1.0.6 or later.
  2. The steps of Follow the value, the notes or the errors are still in English? They come from the bridge, which writes them in Arabic from bridge 1.0.5. Install the latest bridge; it stops the old one by itself. Then start it again from the panel:
    npm install -g codelocator@latest
Start over: remove and reinstall the bridgeClean install
  1. Remove the helper and the bridge:
    codelocator setup --remove
    npm uninstall -g codelocator
  2. Install it again and run setup:
    npm install -g codelocator
    codelocator setup
  3. Press Connect in the panel.

Still stuck? Write to me

I read every message. A report with the details below lets me find the cause on the first reply instead of asking back.

Email support yassin_mohamed310@outlook.com
Copy this into your email
CodeLocator version:   (panel › Settings › About)
Bridge version:        (codelocator --version)
Framework and version: (Angular 19, Next.js 15, React with Vite, Vue 3, Nuxt 4, plain HTML, …)
How the app runs:      (ng serve, npm start, next dev, vite, Live Server, …)
Operating system:      (Windows 11, macOS 15, Ubuntu 24.04, …)
Editor:                (VS Code, Cursor, Antigravity, IntelliJ IDEA)

What I did:
What happened:         (the exact message in the panel)
What I expected:
  • A screenshot of the panel helps a lot.
  • If Connect started the bridge, attach its log: ~/.codelocator/bridge.log (on Windows %USERPROFILE%\.codelocator\bridge.log). It lists your running apps, their folders, timings and errors. Look it over and remove anything you'd rather not share.