Skip to content

404 whilst accessing the NPX Built in Overlay #385

Closed

Description

@daniel-johns-99

As per https://spotlightjs.com/sidecar/npx/ running the sidecar:
If you start the sidecar independently, you can visit the overlay at http://localhost:8969/ and use a built in overlay to view your application.

However, when navigating to http://localhost:8969/ I am getting a 404 with no content.

I am running a react-native app so can not launch spotlight through the web frontend and am on windows so the bundled MacOS electron app is not available.

Activity

  1. Shubhdeep12 commented on Mar 28, 2024

    @Shubhdeep12
    Contributor

    Hi @daniel-johns-99 looks like you are running sidecar from CLI, right?
    are you running it manually?
    if yes, what's the output when you ran that?
    is it something like

    $ npx @spotlightjs/spotlight
    🔎 [Spotlight] Sidecar listening on 8969
    🔎 [Spotlight] You can open: http://localhost:8969 to see the Spotlight overlay directly
    
  2. daniel-johns-99 commented on Mar 28, 2024

    @daniel-johns-99
    Author

    Hi @Shubhdeep12

    I see this:

    C:\>npx @spotlightjs/spotlight
    🔎 [Spotlight] Sidecar listening on 8969
    

    I dont see anything about the overlay. Is there a way to run it with verboe/debug options to provide you some more info?

  3. Shubhdeep12 commented on Mar 28, 2024

    @Shubhdeep12
    Contributor

    Hi @daniel-johns-99 looks like you are running the sidecar in C drive
    To access the Spotlight overlay on http://localhost:8969 you need to run the sidecar from the root directory of the project where the spotlight is installed.
    run command - npx @spotlightjs/spotlight in root of your project folder.

    we will update the docs as well.

  4. daniel-johns-99 commented on Mar 28, 2024

    @daniel-johns-99
    Author

    Hi @Shubhdeep12 Still same problem, however you mentioned I need to run from where "spotlight" is installed.

    From the instructions in the release notes of Sentry/React-native it did not mention I would have to install spotlight: https://github.com/getsentry/sentry-react-native/releases/tag/5.18.0
    Just add the integration to add the integration to your Sentry.init, and run the overlay.

    So I have not installed it, I assumed it came bundled with Sentry?

  5. Shubhdeep12 commented on Mar 28, 2024

    @Shubhdeep12
    Contributor

    Hi @daniel-johns-99
    No, Spotlight is not bundled with Sentry.

    Its standalone and it is comprised of Overlay and Sidecar.

  6. BYK commented on Jul 2, 2024

    @BYK
    Member

    @daniel-johns-99 do you still experience issues?

  7. added a commit that references this issue on Jul 25, 2024
    920bfb7
  8. self-assigned this
    on Jul 25, 2024
  9. added
    Type: Bug-confirmed
    and removed
    Type: Bug-unconfirmed
    on Jul 25, 2024
  10. BYK commented on Jul 25, 2024

    @BYK
    Member

    I was able to replicate this locally and isolate the root cause. Fix will be out with the next release.

  11. added a commit that references this issue on Jul 29, 2024
    6cf5de8
  12. added a commit that references this issue on Jun 3, 2025
    0d0e0d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions