Search code examples
gitnext.jsgit-clonerepo

Cloned repo not opening in local server


I cloned this repo to play around with it and ran npm install and npm run dev, which should be running it in the local server. but I got an error. and I have no idea what its going on about. since even the how to use instructions only say npm install npm run dev i even tried running the other scripts "build" and "start" but nothing changed. below is a screenshot of the terminal errors as well as the browser errorsbrowser error

terminal error


Solution

  • If you have your SHOPIFY_STORE_FRONT_ACCESS_TOKEN and SHOPIFY_STORE_DOMAIN it should work.

    Remember to create a .envfile and add the two credentials.