You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
[23:54:50.263] Running build in Washington, D.C., USA (East) – iad1
[23:54:50.401] Cloning github.com/rishiimmehra/horizon (Branch: main, Commit: 94e4ad0)
[23:54:50.422] Skipping build cache, deployment was triggered without cache.
[23:54:51.494] Cloning completed: 1.092s
[23:54:51.882] Running "vercel build"
[23:54:52.375] Vercel CLI 33.0.1
[23:54:52.811] Error: Node.js version 16.x has reached End-of-Life. Deployments created on or after 2024-06-15 will fail to build. Please set "engines": { "node": "20.x" } in your
package.json
file to use Node.js 20.[23:54:52.824] Installing dependencies...
[23:54:53.434] yarn install v1.22.17
[23:54:53.543] [1/5] Validating package.json...
[23:54:53.546] [2/5] Resolving packages...
[23:54:54.252] [3/5] Fetching packages...
[23:55:24.753] [4/5] Linking dependencies...
[23:55:24.786] warning " > @graphql-codegen/[email protected]" has unmet peer dependency "graphql-tag@^2.0.0".
[23:55:24.798] warning " > @storybook/[email protected]" has unmet peer dependency "require-from-string@^2.0.2".
[23:55:24.802] warning " > [email protected]" has unmet peer dependency "@storybook/addons@^6.0.0 || ^7.0.0".
[23:55:46.388] [5/5] Building fresh packages...
[23:55:51.509] $ husky install
[23:55:51.578] husky - Git hooks installed
[23:55:51.581] Done in 58.15s.
[23:55:51.621] Detected Next.js version: 12.3.4
[23:55:51.623] Running "yarn run build"
[23:55:51.778] yarn run v1.22.17
[23:55:51.811] $ yarn setup && next build
[23:55:52.001] $ yarn sync && yarn graphql:generate && yarn theme:generate
[23:55:52.191] $ node -r dotenv/config ./build-utils/sync-storefront.mjs
[23:55:54.016] ✔ Successfully set editor values for onegetup storefront zvLjatm5.
[23:55:54.017] Enabled editor: true
[23:55:54.017] Source theme id: horizon
[23:55:54.017]
[23:55:54.063] 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
[23:55:54.064]
[23:55:54.150] 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
[23:55:54.150]
[23:55:54.431] ✔ Successfully pushed theme.horizon.categories_preview model to onegetup store.
[23:55:54.432]
[23:55:54.539] ✔ Successfully pushed theme.horizon.divider model to onegetup store.
[23:55:54.539]
[23:55:54.558] ✔ Successfully pushed theme.horizon.full_width_media model to onegetup store.
[23:55:54.558]
[23:55:54.616] ✔ Successfully pushed theme.horizon.heading_with_text model to onegetup store.
[23:55:54.616]
[23:55:54.660] ✔ Successfully pushed theme.horizon.multiple_features model to onegetup store.
[23:55:54.660]
[23:55:54.677] ✔ Successfully pushed theme.horizon.quiz_transition model to onegetup store.
[23:55:54.678]
[23:55:54.682] ✔ Successfully pushed theme.horizon.press_mentions_carousel model to onegetup store.
[23:55:54.682]
[23:55:54.697] ✔ Successfully pushed theme.horizon.memberships model to onegetup store.
[23:55:54.697]
[23:55:54.698] ✔ Successfully pushed theme.horizon.quiz_question model to onegetup store.
[23:55:54.699]
[23:55:54.718] ✔ Successfully pushed theme.horizon.products_preview model to onegetup store.
[23:55:54.718]
[23:55:54.719] ✔ Successfully pushed theme.horizon.reviews model to onegetup store.
[23:55:54.719]
[23:55:54.720] ✔ Successfully pushed theme.horizon.multiple_panels model to onegetup store.
[23:55:54.720]
[23:55:54.863] {
[23:55:54.863] errors: {
[23:55:54.863] fields: {
[23:55:54.863] message: "Model field 'sections' is already defined by content model 'theme.origin.page' with conflicting properties",
[23:55:54.864] code: 'CONTENT_CONFLICT',
[23:55:54.864] field: 'sections'
[23:55:54.864] }
[23:55:54.865] }
[23:55:54.865] }
[23:55:54.865]
[23:55:54.946] ✔ Successfully pushed theme.horizon.category model to onegetup store.
[23:55:54.947]
[23:55:55.061] ✔ Successfully pushed theme.horizon.quiz model to onegetup store.
[23:55:55.061]
[23:55:55.315] ✔ Successfully pushed theme.horizon.product model to onegetup store.
[23:55:55.315]
[23:55:55.506] $ graphql-codegen --config codegen.yml -r dotenv/config
[23:55:56.416] [STARTED] Parse Configuration
[23:55:56.417] [SUCCESS] Parse Configuration
[23:55:56.417] [STARTED] Generate outputs
[23:55:56.418] [STARTED] Generate to ./graphql.schema.json
[23:55:56.419] [STARTED] Generate to lib/graphql/generated/sdk.ts
[23:55:56.420] [STARTED] Load GraphQL schemas
[23:55:56.420] [STARTED] Load GraphQL schemas
[23:55:58.059] [SUCCESS] Load GraphQL schemas
[23:55:58.059] [SUCCESS] Load GraphQL schemas
[23:55:58.059] [STARTED] Load GraphQL documents
[23:55:58.060] [STARTED] Load GraphQL documents
[23:55:58.109] [SUCCESS] Load GraphQL documents
[23:55:58.110] [SUCCESS] Load GraphQL documents
[23:55:58.110] [STARTED] Generate
[23:55:58.110] [STARTED] Generate
[23:55:58.636] [SUCCESS] Generate
[23:55:58.636] [SUCCESS] Generate
[23:55:58.637] [SUCCESS] Generate to ./graphql.schema.json
[23:55:58.637] [SUCCESS] Generate to lib/graphql/generated/sdk.ts
[23:55:58.637] [SUCCESS] Generate outputs
[23:55:58.880] $ node -r dotenv/config ./build-utils/generate-theme.mjs
[23:55:59.389] file:///vercel/path0/build-utils/styles.mjs:14
[23:55:59.390] Object.entries(object).forEach(([key, value]) => {
[23:55:59.390] ^
[23:55:59.390]
[23:55:59.390] TypeError: Cannot convert undefined or null to object
[23:55:59.391] at Function.entries ()
[23:55:59.391] at getVarsFromObject (file:///vercel/path0/build-utils/styles.mjs:14:10)
[23:55:59.391] at generateCssVars (file:///vercel/path0/build-utils/styles.mjs:32:21)
[23:55:59.391] at file:///vercel/path0/build-utils/generate-theme.mjs:12:19
[23:55:59.391] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[23:55:59.406] error Command failed with exit code 1.
[23:55:59.408] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[23:55:59.425] error Command failed with exit code 1.
[23:55:59.426] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[23:55:59.443] error Command failed with exit code 1.
[23:55:59.443] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[23:55:59.452] Error: Command "yarn run build" exited with 1
[23:56:00.108]
NEXT_PUBLIC_SWELL_STORE_URL=https://onegetup.swell.store
NEXT_PUBLIC_SWELL_PUBLIC_KEY=pk_1N9lXd5g9awWEhTZzEHUzDfg7AFERYNd
SWELL_STORE_ID=onegetup
SWELL_SECRET_KEY=sk_PJ2Cntz7IaKjaVGTR •••••••••••••••
SWELL_STOREFRONT_ID=zvLjatm5
NEXT_PUBLIC_SWELL_EDITOR=true
Beta Was this translation helpful? Give feedback.
All reactions