Skip to main content

Identifying development errors and Starter bugs

While developing with FastStore, you may run into errors. Some of these may require fixes in FastStore libraries, while others may require adjusting your code.

Hence, before proceeding with any advanced troubleshooting, we recommend that you first check if you are facing a bug from FastStore/WebOps or a mistake on your side.

Step by step​

  1. Open the terminal and clone the Base Store repository.
npx degit vtex-sites/nextjs.store
  1. Change to the cloned repository and run yarn.
cd nextjs.store && yarn
  1. Open the store.config.js file and update the value of the storeId field with the account name of your store.

     module.exports = {
    platform: 'vtex',

    api: {
    + storeId: {account}
    environment: 'vtexcommercestable'
    }
    }
  2. Start a local server.

    yarn develop
  3. Access http://localhost:8000/ and test the features you are having trouble with.

If the problem persists with the Base Store starter, we recommend opening an issue and reporting the problem. However, if the error only occurs in your own project, please refer to the Tracing the error source guide to continue debugging your store.

Didn't find your answers? Ask the Community. For documentation suggestions, submit your feedback.

JOIN THE COMMUNITY

ON THIS PAGE