Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel Deployment failed. #96

Open
ernestkamara opened this issue Apr 8, 2022 · 0 comments
Open

Vercel Deployment failed. #96

ernestkamara opened this issue Apr 8, 2022 · 0 comments

Comments

@ernestkamara
Copy link

Hi,

I followed the setup guide along with this video Using React WooCommerce Theme | Gatsby Source WordPress Experimental | React WordPress WooCommerce, but keeps failing with the error below.

Is there something I'm missing?

Here is my configuration:

Screenshot 2022-04-08 at 22 28 04

Error

[22:20:51.859] Cloning github.com/ernestkamara/gatsby-woocommerce-themes (Branch: main, Commit: 86d7be5)
[22:21:02.507] Cloning completed: 10.648s
[22:21:02.929] Installing build runtime...
[22:21:05.195] Build runtime installed: 2.265s
[22:21:05.916] Looking up build cache...
[22:21:06.184] Build Cache not found
[22:21:06.360] Detected package.json
[22:21:06.360] Installing dependencies...
[22:21:06.685] yarn install v1.22.17
[22:21:06.852] [1/4] Resolving packages...
[22:21:08.145] [2/4] Fetching packages...
[22:21:18.214] warning url-loader@1.1.2: Invalid bin field for "url-loader".
[22:22:01.763] [3/4] Linking dependencies...
[22:22:01.766] warning " > gatsby-woocommerce-theme@2.0.1" has unmet peer dependency "gatsby@^2.24.74".
[22:22:01.766] warning " > gatsby-woocommerce-theme@2.0.1" has unmet peer dependency "react@^17.0.1".
[22:22:01.767] warning " > gatsby-woocommerce-theme@2.0.1" has unmet peer dependency "react-dom@^17.0.1".
[22:22:01.768] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby@2.29.1" has incorrect peer dependency "react@^16.4.2".
[22:22:01.768] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby@2.29.1" has incorrect peer dependency "react-dom@^16.4.2".
[22:22:01.768] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @apollo/client@3.3.6" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0".
[22:22:01.770] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > bootstrap@4.5.3" has unmet peer dependency "jquery@1.9.1 - 3".
[22:22:01.771] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > bootstrap@4.5.3" has unmet peer dependency "popper.js@^1.16.1".
[22:22:01.771] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > gatsby@2.24.74" has incorrect peer dependency "react@^16.4.2".
[22:22:01.771] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > gatsby@2.24.74" has incorrect peer dependency "react-dom@^16.4.2".
[22:22:01.771] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > gatsby-link@2.8.0" has unmet peer dependency "@reach/router@^1.3.3".
[22:22:01.772] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > gatsby-link@2.8.0" has incorrect peer dependency "react@^16.4.2".
[22:22:01.772] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > gatsby-link@2.8.0" has incorrect peer dependency "react-dom@^16.4.2".
[22:22:01.772] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > gatsby-plugin-manifest@2.9.0" has incorrect peer dependency "gatsby@^2.25.0".
[22:22:01.773] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > slick-carousel@1.8.1" has unmet peer dependency "jquery@>=1.8.0".
[22:22:01.773] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @storybook/addon-storysource@5.3.21" has unmet peer dependency "@storybook/source-loader@*".
[22:22:01.774] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > babel-loader@8.2.2" has unmet peer dependency "webpack@>=2".
[22:22:01.776] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > babel-preset-gatsby@0.5.16" has unmet peer dependency "core-js@^3.0.0".
[22:22:01.776] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > react-test-renderer@16.14.0" has incorrect peer dependency "react@^16.14.0".
[22:22:01.776] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > sass-loader@9.0.3" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
[22:22:01.776] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > styled-components@5.2.1" has unmet peer dependency "react-is@>= 16.8.0".
[22:22:01.777] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > @reach/router@1.3.4" has incorrect peer dependency "react@15.x || 16.x || 16.4.0-alpha.0911da3".
[22:22:01.777] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > @reach/router@1.3.4" has incorrect peer dependency "react-dom@15.x || 16.x || 16.4.0-alpha.0911da3".
[22:22:01.779] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > gatsby-react-router-scroll@3.4.0" has incorrect peer dependency "react@^16.4.2".
[22:22:01.779] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > gatsby-react-router-scroll@3.4.0" has incorrect peer dependency "react-dom@^16.4.2".
[22:22:01.780] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @apollo/client > @graphql-typed-document-node/core@3.1.0" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
[22:22:01.781] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @apollo/client > graphql-tag@2.11.0" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
[22:22:01.781] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > reakit@1.1.0" has incorrect peer dependency "react@^16.8.0".
[22:22:01.781] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > reakit@1.1.0" has incorrect peer dependency "react-dom@^16.8.0".
[22:22:01.781] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > gatsby > gatsby-plugin-utils@0.2.40" has incorrect peer dependency "gatsby@^2.24.79".
[22:22:01.782] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > gatsby-plugin-sass > sass-loader@7.3.1" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
[22:22:01.782] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > react-medium-image-zoom > react-use@13.27.0" has incorrect peer dependency "react@^16.8.0".
[22:22:01.783] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @storybook/addon-actions > @storybook/api@5.3.21" has unmet peer dependency "regenerator-runtime@*".
[22:22:01.786] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > @reach/router > create-react-context@0.3.0" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
[22:22:01.786] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[22:22:01.787] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/block-editor > react-autosize-textarea@7.1.0" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
[22:22:01.788] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/block-editor > react-autosize-textarea@7.1.0" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
[22:22:01.788] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/components > @emotion/native@10.0.27" has unmet peer dependency "react-native@>=0.14.0 <1".
[22:22:01.789] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/components > react-dates@17.2.0" has incorrect peer dependency "react@^0.14 || ^15.5.4 || ^16.1.1".
[22:22:01.789] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/components > react-dates@17.2.0" has incorrect peer dependency "react-dom@^0.14 || ^15.5.4 || ^16.1.1".
[22:22:01.789] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/components > react-resize-aware@3.1.0" has incorrect peer dependency "react@^16.8.0".
[22:22:01.790] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/compose > use-memo-one@1.1.1" has incorrect peer dependency "react@^16.8.0".
[22:22:01.790] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/url > react-native-url-polyfill@1.2.0" has unmet peer dependency "react-native@*".
[22:22:01.790] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > reakit > reakit-system@0.13.1" has incorrect peer dependency "react@^16.8.0".
[22:22:01.790] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > reakit > reakit-system@0.13.1" has incorrect peer dependency "react-dom@^16.8.0".
[22:22:01.790] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > reakit > reakit-utils@0.13.1" has incorrect peer dependency "react@^16.8.0".
[22:22:01.790] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > reakit > reakit-utils@0.13.1" has incorrect peer dependency "react-dom@^16.8.0".
[22:22:01.791] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > reakit > reakit-warning@0.4.1" has incorrect peer dependency "react@^16.8.0".
[22:22:01.800] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/components > react-dates > airbnb-prop-types@2.16.0" has incorrect peer dependency "react@^0.14 || ^15.0.0 || ^16.0.0-alpha".
[22:22:01.801] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/components > react-dates > react-with-styles@3.2.3" has unmet peer dependency "react-with-direction@^1.1.0".
[22:22:01.804] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > eslint-plugin-graphql > graphql-config > @endemolshinegroup/cosmiconfig-typescript-loader > ts-node@9.1.1" has unmet peer dependency "typescript@>=2.7".
[22:22:01.806] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/components > react-dates > react-with-styles > react-with-direction@1.3.1" has incorrect peer dependency "react@^0.14 || ^15 || ^16".
[22:22:01.806] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @wordpress/block-library > @wordpress/components > react-dates > react-with-styles > react-with-direction@1.3.1" has incorrect peer dependency "react-dom@^0.14 || ^15 || ^16".
[22:22:34.823] [4/4] Building fresh packages...
[22:22:44.667] success Saved lockfile.
[22:22:44.673] Done in 98.00s.
[22:22:45.257] 
[22:22:45.257] > gatsby-woocommerce-themes@2.0.1 build /vercel/path0
[22:22:45.257] > yarn workspace site build
[22:22:45.258] 
[22:22:45.505] yarn workspace v1.22.17
[22:22:45.888] yarn run v1.22.17
[22:22:45.957] $ gatsby build
[22:22:48.959] error The site's gatsby-config.js failed validation:
[22:22:48.959] 
[22:22:48.959] child "siteMetadata" fails because [child "siteUrl" fails because ["siteUrl" must be a valid uri]]
[22:22:48.962] not finished open and validate gatsby-configs - 0.090s
[22:22:50.430] error Command failed with exit code 1.
[22:22:50.430] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[22:22:50.451] error Command failed.
[22:22:50.451] Exit code: 1
[22:22:50.451] Command: /node14/bin/node
[22:22:50.451] Arguments: /vercel/.yarn/lib/cli.js build
[22:22:50.452] Directory: /vercel/path0/site
[22:22:50.452] Output:
[22:22:50.452] 
[22:22:50.452] info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
[22:22:50.465] npm ERR! code ELIFECYCLE
[22:22:50.465] npm ERR! errno 1
[22:22:50.470] npm ERR! gatsby-woocommerce-themes@2.0.1 build: `yarn workspace site build`
[22:22:50.470] npm ERR! Exit status 1
[22:22:50.470] npm ERR! 
[22:22:50.470] npm ERR! Failed at the gatsby-woocommerce-themes@2.0.1 build script.
[22:22:50.470] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[22:22:50.481] 
[22:22:50.481] npm ERR! A complete log of this run can be found in:
[22:22:50.481] npm ERR!     /vercel/.npm/_logs/2022-04-08T21_22_50_470Z-debug.log
[22:22:50.488] Error: Command "npm run build" exited with 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant