'How to properly set up and display BigEcommcerce checkout in my local environment?

Summary

I'm trying to run in my local environment the open-source bigcommerce checkout-js repo but despite following along the indications stated in the README file, I'm unable to get this work. My plan is to study the code structure by first displaying the checkout.

Approach

I cloned the repo url and followed along by the README file. Typing on the command line npm ci and npm run dev.

Reference consulted

checkout-sdk react example

medium setup guide

Execution

After running npm run dev and npm run:server the localhost shows the list of files from the local directory Can someone please help me with this? enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source