Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

error Command failed #1

Open
gmartin83 opened this issue Jun 24, 2021 · 10 comments
Open

error Command failed #1

gmartin83 opened this issue Jun 24, 2021 · 10 comments

Comments

@gmartin83
Copy link

yarn run v1.22.10
$ cross-env NODE_ENV=production gulp get
/bin/sh: cross-env: command not found
error Command failed with exit code 127.

@gmartin83
Copy link
Author

now i'm getting this error.
Error: invalid environment [production]: (missing theme_id,missing store domain,missing password)

@VienDinhCom
Copy link
Owner

@gmartin83 Which OS are you using?

@gmartin83
Copy link
Author

i'm using mac os

@VienDinhCom
Copy link
Owner

@gmartin83 Please run this command to set up the project.

image

If you don't know how to install yarn. You could follow this instruction: https://classic.yarnpkg.com/en/docs/install/#mac-stable

@gmartin83
Copy link
Author

yep. did that already

1/4] 🔍 Resolving packages...
success Already up-to-date.
✨ Done in 0.32s.

cd shopify-theme-customizer
yarn install
change config.yml file
yarn get

yarn run v1.22.10
$ cross-env NODE_ENV=production gulp get
[19:15:33] Using gulpfile ~/Desktop/shop_theme/shopify-theme-customizer/gulpfile.js
[19:15:33] Starting 'get'...
[19:15:33] Starting 'clean'...
[19:15:33] Finished 'clean' after 19 ms
[19:15:33] Starting 'process'...
invalid environment [production]: (missing theme_id,missing store domain,missing password)

[19:15:33] 'process' errored after 57 ms
[19:15:33] Error: invalid environment [production]: (missing theme_id,missing store domain,missing password)

@VienDinhCom
Copy link
Owner

@gmartin83 Could you try on another computer? I tested it again. It worked perfectly.

@gmartin83
Copy link
Author

i'll try it on my windows comp.

@gmartin83
Copy link
Author

same issue on my windows computer. I must be missing a step or something. i renamed the file config.yml, and added all of my store and theme details. i'm in the correct folder, I think? Not sure what i'm missing.

@VienDinhCom
Copy link
Owner

Hi @gmartin83

I released version 2.0.0. I hope it could solve your problems.

@gmartin83
Copy link
Author

i will try it and let you know. thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants