Open wpplumber opened 6 months ago
Welcome,
I followed the guide in setting .env with the requirements but I got the following errors!
.env
horizon git:(main) pnpm dev > @swell/horizon@0.5.0 dev /Users/wpplumber/Workspace/Tools/Ecommerce/Swell/oss/horizon > yarn setup && next dev yarn run v1.22.19 $ yarn sync && yarn graphql:generate && yarn theme:generate $ node -r dotenv/config ./build-utils/sync-storefront.mjs exec error: Error: Command failed: swell model push -c -f ./config/content/full_width_media.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/memberships.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/divider.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell storefronts push --id $SWELL_STOREFRONT_ID -t editor -s defaults -f ./config/editor.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell storefronts push --id $SWELL_STOREFRONT_ID -t settings -s defaults -f ./config/defaults.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/category.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/quiz_question.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/heading_with_text.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/categories_preview.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/multiple_features.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/product.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/page.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/multiple_panels.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/products_preview.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/press_mentions_carousel.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/quiz.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/reviews.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell model push -c -f ./config/content/quiz_transition.json --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID exec error: Error: Command failed: swell storefronts toggle-editor --id $SWELL_STOREFRONT_ID --theme-id horizon --enable true --secret-key $SWELL_SECRET_KEY --store $SWELL_STORE_ID $ graphql-codegen --config codegen.yml -r dotenv/config ✔ Parse Configuration ⚠ Generate outputs ❯ Generate to ./graphql.schema.json ✔ Load GraphQL schemas ✔ Load GraphQL documents ✖ GraphQL Document Validation failed with 2 errors; Error 0: Cannot query field "content" on type "SwellCategory". at /Users/wpplumber/Workspace/Tools/Ecommerce/Swell/oss/horizon/lib/graphql/quer… Error 1: Cannot query field "content" on type "SwellProduct". at /Users/wpplumber/Workspace/Tools/Ecommerce/Swell/oss/horizon/lib/graphql/quer… ❯ Generate to lib/graphql/generated/sdk.ts ✔ Load GraphQL schemas ✔ Load GraphQL documents ✖ GraphQL Document Validation failed with 2 errors; Error 0: Cannot query field "content" on type "SwellCategory". at /Users/wpplumber/Workspace/Tools/Ecommerce/Swell/oss/horizon/lib/graphql/quer… Error 1: Cannot query field "content" on type "SwellProduct". at /Users/wpplumber/Workspace/Tools/Ecommerce/Swell/oss/horizon/lib/graphql/quer… error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ELIFECYCLE Command failed with exit code 1. ➜ horizon git:(main) pnpm dev
Welcome,
I followed the guide in setting
.env
with the requirements but I got the following errors!