We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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?
[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 [email protected]: Invalid bin field for "url-loader". [22:22:01.763] [3/4] Linking dependencies... [22:22:01.766] warning " > [email protected]" has unmet peer dependency "gatsby@^2.24.74". [22:22:01.766] warning " > [email protected]" has unmet peer dependency "react@^17.0.1". [22:22:01.767] warning " > [email protected]" has unmet peer dependency "react-dom@^17.0.1". [22:22:01.768] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > [email protected]" has incorrect peer dependency "react@^16.4.2". [22:22:01.768] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > [email protected]" 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/[email protected]" 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 > [email protected]" has unmet peer dependency "[email protected] - 3". [22:22:01.771] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has unmet peer dependency "popper.js@^1.16.1". [22:22:01.771] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has incorrect peer dependency "react@^16.4.2". [22:22:01.771] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has incorrect peer dependency "react-dom@^16.4.2". [22:22:01.771] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has unmet peer dependency "@reach/router@^1.3.3". [22:22:01.772] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has incorrect peer dependency "react@^16.4.2". [22:22:01.772] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has incorrect peer dependency "react-dom@^16.4.2". [22:22:01.772] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has incorrect peer dependency "gatsby@^2.25.0". [22:22:01.773] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has unmet peer dependency "jquery@>=1.8.0". [22:22:01.773] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > @storybook/[email protected]" has unmet peer dependency "@storybook/source-loader@*". [22:22:01.774] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has unmet peer dependency "webpack@>=2". [22:22:01.776] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has unmet peer dependency "core-js@^3.0.0". [22:22:01.776] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" has incorrect peer dependency "react@^16.14.0". [22:22:01.776] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > gatsby-woocommerce-theme > [email protected]" 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 > [email protected]" has unmet peer dependency "react-is@>= 16.8.0". [22:22:01.777] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > @reach/[email protected]" has incorrect peer dependency "[email protected] || 16.x || 16.4.0-alpha.0911da3". [22:22:01.777] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > @reach/[email protected]" has incorrect peer dependency "[email protected] || 16.x || 16.4.0-alpha.0911da3". [22:22:01.779] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > [email protected]" has incorrect peer dependency "react@^16.4.2". [22:22:01.779] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > [email protected]" 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/[email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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/[email protected]" has unmet peer dependency "regenerator-runtime@*". [22:22:01.786] warning "workspace-aggregator-915a2bfc-02f7-4737-863e-215c85b16dcd > site > gatsby > @reach/router > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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/[email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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 > [email protected]" 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] > [email protected] 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! [email protected] 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 [email protected] 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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
Error
The text was updated successfully, but these errors were encountered: