Shopify / slate

Slate is a toolkit for developing Shopify themes. It's designed to assist your workflow and speed up the process of developing, testing, and deploying themes.
https://shopify.github.io/slate
MIT License
1.28k stars 364 forks source link

Purchase code is already used #1061

Open antonioOrtiz opened 4 years ago

antonioOrtiz commented 4 years ago

Problem

I am barred from interacting with my theme locally https://localhost:3006/?_fd=0&pb=0 I am getting:

Purchase code is already used for americancrewshop.myshopify.com website. You can paste code in Customize Theme > Theme settings > Purchase Code ENVATO PURCHASE CODE You can use 1 license for 1 domain

Here is a screenshot to illustrate the error:

Screenshot 2019-10-01 17 15 58

And one from the console:

Screenshot 2019-10-02 12 26 32

Is there a place in one of the config files where you would enter the purchase code to account for localhost?

dan-gamble commented 4 years ago

You could try using the first URL that is given to you on Slate instead of the localhost:3000 URL.

✔  Compiled successfully in 13.102s!

✔  Files uploaded successfully!

★  You are editing files in theme {theme_id} on the following store:

      https://{store}?preview_theme_id={theme_id} <-- This one
antonioOrtiz commented 4 years ago

Hey thanks Dan for responding! But would that give me the Hot reloading of the css/scss and js?

dan-gamble commented 4 years ago

It would Antonio.

Sometimes you need to use this URL as some Shopify apps don't work when the URL is localhost either.