Coder Social home page Coder Social logo

Deployment failed about commerce HOT 4 CLOSED

vercel avatar vercel commented on April 30, 2024
Deployment failed

from commerce.

Comments (4)

okbel avatar okbel commented on April 30, 2024

Hey Jeremy, we already reported BC Team about this. Have you tried running it locally just in case?

By adding, .env.local

BIGCOMMERCE_STOREFRONT_API_URL=<>
BIGCOMMERCE_STOREFRONT_API_TOKEN=<>
BIGCOMMERCE_STORE_API_URL=<>
BIGCOMMERCE_STORE_API_TOKEN=<>
BIGCOMMERCE_STORE_API_CLIENT_ID=<>

Let me know!

from commerce.

jheyer159 avatar jheyer159 commented on April 30, 2024

Ran vercel env pull .env.local - the file looks like the one above.
yarn dev -> opening localhost:3000 still seeing the same error locally.

I noticed that the 'Next.js Commerce' Storefront was showing as 'inactive' in the Channel Manager on BigCommerce. I've tried toggling it to active, it disappears, but it doesn't change the error.

from commerce.

okbel avatar okbel commented on April 30, 2024

Any updates here? Do you have the same issue now? We updated our README - So if you deployed and integrated with Vercel then you should be able to pull the env vars. I'll recommend to erase all and start fresh if you still can't make it work. LMK!

from commerce.

jheyer159 avatar jheyer159 commented on April 30, 2024

Still getting the same error. I tried going through the deployment process again with a separate Github, Vercel, and BigCommerce account with no issues.

The main differences that happened between successful and failed deployment

  • I tried linking Vercel to a GH org account, which caused an error and I had to delete / re-create the Vercel project because the redirect was stuck.
  • I already had a BigCommerce account and went through the Sign In flow rather than the Sign Up flow.

My credentials are still resulting in a store that's not found, but starting fresh with the Sign Up flow resulted in a successful deployment. I'm assuming the failed credentials are stale because I had to delete / re-create the connections.

from commerce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.