Skip to content

[Discussion]: Local Development Not Working #2701

@nisharg-codal

Description

@nisharg-codal

Hello Team,

I’m a MERN stack developer and new to BigCommerce. I’m currently trying to learn the platform and complete a task, but I’m stuck because I’m not seeing any errors or warnings in the console. So, I’ll explain everything I’ve done so far to see if you can help.

I want to make some changes to the checkout page — for example, changing the “Billing Address” label to “My Billing Address.”

Image

I could edit the theme directly using plain JavaScript (e.g., document.querySelector), but since I need to make more complex changes, I decided to use this repository.
To run the theme, I’m using Stencil, and the file I’m targeting is checkout.html.

I followed the documentation here: https://developer.bigcommerce.com/docs/storefront/cart-checkout/open-checkouts

I completed all the steps and built the project successfully — no errors.

In BigCommerce Admin, I selected Custom Checkout, entered the URL to my build/dist folder (pointing to the auto-loader), and tried different hosting setups —
localhost, 127.0.0.1, ngrok, srv, and even S3 - but none of them worked.

However, when I visit my store’s checkout page (https://*.mybigcommerce.com/checkout), I don’t see any console logs, which makes me think the custom checkout isn’t being rendered.

To debug, I also tried running the theme locally using Stencil and opened /checkout, but it didn’t work either.

I also tried using SRI, but still no luck.

So I’m not sure what I’m missing here. I’ve probably overlooked something important, which is why I’m opening this discussion. Hopefully, someone can guide me on how to properly run and connect the custom checkout.

For context, this project came from another client using version 1.389.0. If the version might be the cause, please let me know as well.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions