saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.
https://demo.saleor.io/
BSD 3-Clause "New" or "Revised" License
769 stars 672 forks source link

ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies #1136

Open dxrvip opened 2 years ago

dxrvip commented 2 years ago

12 37.25  ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

12 37.25

12 37.25 .

12 37.25 ├─┬ @graphql-codegen/typescript-react-apollo

12 37.25 │ └── ✕ missing peer graphql-tag@^2.0.0

12 37.25 ├─┬ @graphql-codegen/typescript

12 37.25 │ └─┬ @graphql-codegen/visitor-plugin-common

12 37.25 │ └─┬ @graphql-tools/relay-operation-optimizer

12 37.25 │ └─┬ relay-compiler

12 37.25 │ └── ✕ unmet peer graphql@^15.0.0: found 16.3.0

12 37.25 ├─┬ @saleor/sdk

12 37.25 │ ├── ✕ unmet peer graphql@^15.5.0: found 16.3.0

12 37.25 │ └── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

12 37.25 ├─┬ react-use

12 37.25 │ ├── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

12 37.25 │ └── ✕ unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.0.0

12 37.25 ├─┬ @apollo/client

12 37.25 │ └── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

12 37.25 ├─┬ @stripe/react-stripe-js

12 37.25 │ ├── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

12 37.25 │ └── ✕ unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.0.0

12 37.25 ├─┬ editorjs-blocks-react-renderer

12 37.25 │ └─┬ html-react-parser

12 37.25 │ └── ✕ unmet peer react@"0.14 || 15 || 16 || 17": found 18.0.0

12 37.25 └─┬ react-intl

12 37.25 └── ✕ unmet peer react@"^16.3.0 || 17": found 18.0.0

12 37.25 Peer dependencies that should be installed:

12 37.25 graphql-tag@^2.0.0

12 37.25

matteius commented 2 years ago

@dxrvip I had this issue out of the box too -- I ended up going with a modified docker-compose.yml from here: https://github.com/saleor/saleor-platform/issues/121#issuecomment-1003376550 to get past it, but have ended up with a different issue running storefront that it cannot find Error: Cannot find module '@next/bundle-analyzer'

rcotrina94 commented 2 years ago

Same problem. Tried cloning from branch "3.0", but it just won't docker-compose up and outputs the following errors:

ERROR: for saleor-platform_dashboard_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for saleor-platform_storefront_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for dashboard  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for storefront  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
giannineves commented 2 years ago

Same problem here, when execute docker_compose build:

12 44.22  ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

12 44.22

12 44.22 .

12 44.22 ├─┬ @graphql-codegen/typescript-react-apollo

12 44.22 │ └── ✕ missing peer graphql-tag@^2.0.0

12 44.22 ├─┬ @graphql-codegen/typescript

12 44.22 │ └─┬ @graphql-codegen/visitor-plugin-common

12 44.22 │ └─┬ @graphql-tools/relay-operation-optimizer

12 44.22 │ └─┬ relay-compiler

12 44.22 │ └── ✕ unmet peer graphql@^15.0.0: found 16.3.0

12 44.22 ├─┬ @saleor/sdk

12 44.22 │ ├── ✕ unmet peer graphql@^15.5.0: found 16.3.0

12 44.22 │ └── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

12 44.22 ├─┬ react-use

12 44.22 │ ├── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

12 44.22 │ └── ✕ unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.0.0

12 44.22 ├─┬ @apollo/client

12 44.22 │ └── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

12 44.22 ├─┬ @stripe/react-stripe-js

12 44.22 │ ├── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

12 44.22 │ └── ✕ unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.0.0

12 44.22 ├─┬ editorjs-blocks-react-renderer

12 44.22 │ └─┬ html-react-parser

12 44.22 │ └── ✕ unmet peer react@"0.14 || 15 || 16 || 17": found 18.0.0

12 44.22 └─┬ react-intl

12 44.22 └── ✕ unmet peer react@"^16.3.0 || 17": found 18.0.0

12 44.22 Peer dependencies that should be installed:

12 44.22 graphql-tag@^2.0.0

12 44.22


executor failed running [/bin/sh -c pnpm install]: exit code: 1 ERROR: Service 'react-storefront' failed to build : Build failed

blackyzero commented 2 years ago

i am also getting same issue. Anyone know how to fix it? i also tried on Ubuntu 20.04 and 22.04, same error

`[+] Building 148.2s (36/52) => [saleor-platform_dashboard internal] load build definition from Dockerfile.dev 0.2s => => transferring dockerfile: 36B 0.1s => [saleor-platform_dashboard internal] load .dockerignore 0.1s => => transferring context: 34B 0.1s => [saleor-platform_react-storefront internal] load build definition from Dockerfile.dev 0.2s => => transferring dockerfile: 36B 0.2s => [saleor-platform_worker internal] load build definition from Dockerfile 0.3s => => transferring dockerfile: 32B 0.2s => [saleor-platform_api internal] load build definition from Dockerfile 0.3s => => transferring dockerfile: 32B 0.1s => [saleor-platform_react-storefront internal] load .dockerignore 0.1s => => transferring context: 34B 0.1s => [saleor-platform_worker internal] load .dockerignore 0.1s => => transferring context: 34B 0.1s => [saleor-platform_dashboard internal] load metadata for docker.io/library/node:14 0.8s => [saleor-platform_api internal] load .dockerignore 0.2s => => transferring context: 34B 0.1s => [saleor-platform_react-storefront internal] load metadata for docker.io/library/node:16 0.8s => [saleor-platform_worker internal] load metadata for docker.io/library/python:3.9-slim 0.6s => [saleor-platform_worker internal] load metadata for docker.io/library/python:3.9 0.6s => [saleor-platform_dashboard 1/5] FROM docker.io/library/node:14@sha256:42353ba2f129758dd5df19c6bcc3107d519436585467b231883b07f21336a484 0.0s => [saleor-platform_dashboard internal] load build context 2.0s => => transferring context: 223.95kB 1.9s => [saleor-platform_worker build-python 1/5] FROM docker.io/library/python:3.9@sha256:4502196b7a347fc4e8c66c6e30be481b0287aa275a49d6d9fc3b2bbc3 0.0s => [saleor-platform_worker internal] load build context 1.4s => => transferring context: 158.27kB 1.2s => [saleor-platform_api stage-1 1/9] FROM docker.io/library/python:3.9-slim@sha256:dea558731860898a00ac0d004fcd67fff6a0a0d420af15d7ec4289fac5ab 0.0s => [saleor-platform_api internal] load build context 1.3s => => transferring context: 158.27kB 1.2s => [saleor-platform_react-storefront 1/9] FROM docker.io/library/node:16@sha256:1817bb941c9a30fe2a6d75ff8675a8f6def408efe3d3ff43dbb006e2b534fa1 0.0s => [saleor-platform_react-storefront internal] load build context 0.5s => => transferring context: 16.47kB 0.4s => CACHED [saleor-platform_api stage-1 2/9] RUN groupadd -r saleor && useradd -r -g saleor saleor 0.0s => CACHED [saleor-platform_api stage-1 3/9] RUN apt-get update && apt-get install -y libcairo2 libgdk-pixbuf2.0-0 liblcms2-2 libopenj 0.0s => CACHED [saleor-platform_api stage-1 4/9] RUN mkdir -p /app/media /app/static && chown -R saleor:saleor /app/ 0.0s => CACHED [saleor-platform_react-storefront 2/9] WORKDIR /app 0.0s => CACHED [saleor-platform_react-storefront 3/9] RUN npm install -g pnpm 0.0s => CACHED [saleor-platform_react-storefront 4/9] RUN apt-get update && apt-get install -y nginx 0.0s => CACHED [saleor-platform_react-storefront 5/9] COPY ./nginx/dev.conf /etc/nginx/conf.d/default.conf 0.0s => [saleor-platform_react-storefront 6/9] COPY package.json ./ 0.3s => [saleor-platform_react-storefront 7/9] COPY pnpm-lock.yaml ./ 0.2s => ERROR [saleor-platform_react-storefront 8/9] RUN pnpm install 142.0s => CACHED [saleor-platform_api build-python 2/5] RUN apt-get -y update && apt-get install -y gettext && apt-get clean && rm -rf /var/lib/ 0.0s => CACHED [saleor-platform_api build-python 3/5] COPY requirements_dev.txt /app/ 0.0s => CACHED [saleor-platform_api build-python 4/5] WORKDIR /app 0.0s => CANCELED [saleor-platform_api build-python 5/5] RUN pip install -r requirements_dev.txt 142.1s => CACHED [saleor-platform_dashboard 2/5] WORKDIR /app 0.0s => CACHED [saleor-platform_dashboard 3/5] COPY package*.json ./ 0.0s => [saleor-platform_dashboard 4/5] RUN npm install 144.4s

[saleor-platform_react-storefront 8/9] RUN pnpm install:

0 4.890 Progress: resolved 1, reused 0, downloaded 0, added 0

0 6.016 Progress: resolved 10, reused 0, downloaded 5, added 0

0 7.046 Progress: resolved 17, reused 0, downloaded 11, added 0

0 8.094 Progress: resolved 20, reused 0, downloaded 16, added 0

0 9.116 Progress: resolved 24, reused 0, downloaded 19, added 0

0 10.13 Progress: resolved 26, reused 0, downloaded 22, added 0

0 11.17 Progress: resolved 29, reused 0, downloaded 24, added 0

0 12.26 Progress: resolved 30, reused 0, downloaded 25, added 0

0 13.29 Progress: resolved 31, reused 0, downloaded 26, added 0

0 14.44 Progress: resolved 36, reused 0, downloaded 30, added 0

0 15.52 Progress: resolved 39, reused 0, downloaded 35, added 0

0 16.60 Progress: resolved 42, reused 0, downloaded 37, added 0

0 17.64 Progress: resolved 46, reused 0, downloaded 42, added 0

0 18.65 Progress: resolved 47, reused 0, downloaded 44, added 0

0 19.66 Progress: resolved 48, reused 0, downloaded 45, added 0

0 21.10 Progress: resolved 48, reused 0, downloaded 46, added 0

0 22.12 Progress: resolved 50, reused 0, downloaded 46, added 0

0 23.18 Progress: resolved 51, reused 0, downloaded 49, added 0

0 24.19 Progress: resolved 52, reused 0, downloaded 51, added 0

0 25.23 Progress: resolved 52, reused 0, downloaded 52, added 0

0 26.23 Progress: resolved 54, reused 0, downloaded 53, added 0

0 29.03 Progress: resolved 54, reused 0, downloaded 54, added 0

0 30.40 Progress: resolved 55, reused 0, downloaded 54, added 0

0 33.05 Progress: resolved 55, reused 0, downloaded 55, added 0

0 35.07 Progress: resolved 56, reused 0, downloaded 55, added 0

0 36.33 Progress: resolved 65, reused 0, downloaded 57, added 0

0 37.40 Progress: resolved 84, reused 0, downloaded 62, added 0

0 38.47 Progress: resolved 98, reused 0, downloaded 75, added 0

0 39.60 Progress: resolved 109, reused 0, downloaded 87, added 0

0 40.68 Progress: resolved 124, reused 0, downloaded 100, added 0

0 41.72 Progress: resolved 143, reused 0, downloaded 121, added 0

0 42.82 Progress: resolved 159, reused 0, downloaded 134, added 0

0 43.89 Progress: resolved 164, reused 0, downloaded 143, added 0

0 44.91 Progress: resolved 170, reused 0, downloaded 148, added 0

0 46.01 Progress: resolved 179, reused 0, downloaded 154, added 0

0 47.10 Progress: resolved 195, reused 0, downloaded 168, added 0

0 48.17 Progress: resolved 199, reused 0, downloaded 179, added 0

0 49.18 Progress: resolved 202, reused 0, downloaded 183, added 0

0 50.23 Progress: resolved 209, reused 0, downloaded 187, added 0

0 51.29 Progress: resolved 216, reused 0, downloaded 196, added 0

0 52.33 Progress: resolved 226, reused 0, downloaded 204, added 0

0 53.36 Progress: resolved 245, reused 0, downloaded 220, added 0

0 54.46 Progress: resolved 256, reused 0, downloaded 231, added 0

0 55.60 Progress: resolved 268, reused 0, downloaded 248, added 0

0 56.64 Progress: resolved 280, reused 0, downloaded 260, added 0

0 57.66 Progress: resolved 292, reused 0, downloaded 271, added 0

0 58.80 Progress: resolved 312, reused 0, downloaded 289, added 0

0 59.88 Progress: resolved 319, reused 0, downloaded 299, added 0

0 60.89 Progress: resolved 324, reused 0, downloaded 306, added 0

0 62.11 Progress: resolved 336, reused 0, downloaded 316, added 0

0 63.50 Progress: resolved 347, reused 0, downloaded 324, added 0

0 64.59 Progress: resolved 356, reused 0, downloaded 333, added 0

0 65.61 Progress: resolved 368, reused 0, downloaded 343, added 0

0 66.62 Progress: resolved 381, reused 0, downloaded 357, added 0

0 67.65 Progress: resolved 393, reused 0, downloaded 369, added 0

0 68.74 Progress: resolved 422, reused 0, downloaded 398, added 0

0 69.79 Progress: resolved 445, reused 0, downloaded 425, added 0

0 70.91 Progress: resolved 457, reused 0, downloaded 433, added 0

0 71.94 Progress: resolved 465, reused 0, downloaded 442, added 0

0 72.98 Progress: resolved 474, reused 0, downloaded 453, added 0

0 74.06 Progress: resolved 485, reused 0, downloaded 465, added 0

0 75.09 Progress: resolved 493, reused 0, downloaded 473, added 0

0 76.13 Progress: resolved 503, reused 0, downloaded 482, added 0

0 77.19 Progress: resolved 509, reused 0, downloaded 487, added 0

0 78.26 Progress: resolved 524, reused 0, downloaded 502, added 0

0 79.33 Progress: resolved 537, reused 0, downloaded 518, added 0

0 80.38 Progress: resolved 550, reused 0, downloaded 529, added 0

0 81.41 Progress: resolved 556, reused 0, downloaded 535, added 0

0 82.57 Progress: resolved 561, reused 0, downloaded 537, added 0

0 83.63 Progress: resolved 575, reused 0, downloaded 550, added 0

0 84.64 Progress: resolved 587, reused 0, downloaded 566, added 0

0 85.65 Progress: resolved 604, reused 0, downloaded 580, added 0

0 86.66 Progress: resolved 612, reused 0, downloaded 587, added 0

0 87.69 Progress: resolved 633, reused 0, downloaded 606, added 0

0 88.74 Progress: resolved 645, reused 0, downloaded 619, added 0

0 89.87 Progress: resolved 656, reused 0, downloaded 631, added 0

0 91.10 Progress: resolved 663, reused 0, downloaded 637, added 0

0 92.14 Progress: resolved 679, reused 0, downloaded 655, added 0

0 93.19 Progress: resolved 695, reused 0, downloaded 674, added 0

0 94.28 Progress: resolved 718, reused 0, downloaded 691, added 0

0 95.38 Progress: resolved 731, reused 0, downloaded 712, added 0

0 96.44 Progress: resolved 731, reused 0, downloaded 714, added 0

0 97.45 Progress: resolved 737, reused 0, downloaded 715, added 0

0 98.46 Progress: resolved 750, reused 0, downloaded 727, added 0

0 99.48 Progress: resolved 768, reused 0, downloaded 744, added 0

0 100.6 Progress: resolved 787, reused 0, downloaded 763, added 0

0 101.7 Progress: resolved 802, reused 0, downloaded 775, added 0

0 102.7 Progress: resolved 818, reused 0, downloaded 792, added 0

0 103.7 Progress: resolved 823, reused 0, downloaded 807, added 0

0 107.3 Progress: resolved 823, reused 0, downloaded 808, added 0

0 108.3 Progress: resolved 823, reused 0, downloaded 809, added 0

0 109.3 Progress: resolved 823, reused 0, downloaded 810, added 0

0 110.3 Progress: resolved 825, reused 0, downloaded 810, added 0

0 111.5 Progress: resolved 826, reused 0, downloaded 811, added 0

0 111.5 Packages: +817

0 111.5 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

0 113.8 Progress: resolved 826, reused 0, downloaded 813, added 0

0 115.1 Packages are hard linked from the content-addressable store to the virtual store.

0 115.1 Content-addressable store is at: /root/.local/share/pnpm/store/v3

0 115.1 Virtual store is at: node_modules/.pnpm

0 115.1 Progress: resolved 826, reused 0, downloaded 813, added 1

0 116.3 Progress: resolved 826, reused 0, downloaded 813, added 88

0 117.3 Progress: resolved 826, reused 0, downloaded 813, added 202

0 118.4 Progress: resolved 826, reused 0, downloaded 813, added 302

0 120.1 Progress: resolved 826, reused 0, downloaded 813, added 365

0 121.2 Progress: resolved 826, reused 0, downloaded 813, added 477

0 122.2 Progress: resolved 826, reused 0, downloaded 813, added 577

0 123.3 Progress: resolved 826, reused 0, downloaded 813, added 666

0 124.3 Progress: resolved 826, reused 0, downloaded 813, added 694

0 125.3 Progress: resolved 826, reused 0, downloaded 813, added 752

0 126.4 Progress: resolved 826, reused 0, downloaded 813, added 792

0 127.8 Progress: resolved 826, reused 0, downloaded 813, added 807

0 128.8 Progress: resolved 826, reused 0, downloaded 813, added 815

0 132.6 Progress: resolved 826, reused 0, downloaded 814, added 815

0 133.6 Progress: resolved 826, reused 0, downloaded 815, added 817, done

0 135.2 .../node_modules/core-js-pure postinstall$ node -e "try{require('./postinstall')}catch(e){}"

0 135.7 .../node_modules/core-js-pure postinstall: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

0 135.7 .../node_modules/core-js-pure postinstall: The project needs your help! Please consider supporting of core-js:

0 135.7 .../node_modules/core-js-pure postinstall: > https://opencollective.com/core-js

0 135.7 .../node_modules/core-js-pure postinstall: > https://patreon.com/zloirock

0 135.7 .../node_modules/core-js-pure postinstall: > https://paypal.me/zloirock

0 135.7 .../node_modules/core-js-pure postinstall: > bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz

0 135.7 .../node_modules/core-js-pure postinstall: Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

0 135.7 .../node_modules/core-js-pure postinstall: Done

0 140.7

0 140.7 > react-storefront@0.1.0 prepare /app

0 140.7 > husky install

0 140.7

0 141.0 fatal: not a git repository (or any of the parent directories): .git

0 141.1

0 141.1 dependencies:

0 141.1 + @apollo/client 3.5.10

0 141.1 + @formatjs/swc-plugin 1.4.0

0 141.1 + @formatjs/ts-transformer 3.9.2

0 141.1 + @graphql-codegen/typescript-apollo-client-helpers 2.1.15

0 141.1 + @headlessui/react 1.5.0

0 141.1 + @heroicons/react 1.0.5

0 141.1 + @saleor/sdk 0.4.4

0 141.1 + @stripe/react-stripe-js 1.7.0

0 141.1 + @stripe/stripe-js 1.26.0

0 141.1 + @tailwindcss/aspect-ratio 0.4.0

0 141.1 + @tailwindcss/forms 0.5.0

0 141.1 + @tailwindcss/typography 0.5.2

0 141.1 + clsx 1.1.1

0 141.1 + dotenv 16.0.0

0 141.1 + dotenv-cli 5.1.0

0 141.1 + editorjs-blocks-react-renderer 1.2.4

0 141.1 + graphql 16.3.0

0 141.1 + next 12.1.4

0 141.1 + next-seo 5.3.0

0 141.1 + next-sitemap 2.4.3

0 141.1 + next-usequerystate 1.7.0

0 141.1 + react 18.0.0

0 141.1 + react-dom 18.0.0

0 141.1 + react-intl 5.24.6

0 141.1 + tailwind-scrollbar-hide 1.1.7

0 141.1

0 141.1 devDependencies:

0 141.1 + @formatjs/cli 4.8.2

0 141.1 + @graphql-codegen/add 3.1.1

0 141.1 + @graphql-codegen/cli 2.6.2

0 141.1 + @graphql-codegen/introspection 2.1.1

0 141.1 + @graphql-codegen/typescript 2.4.8

0 141.1 + @graphql-codegen/typescript-operations 2.3.5

0 141.1 + @graphql-codegen/typescript-react-apollo 3.2.11

0 141.1 + @next/bundle-analyzer 12.1.4

0 141.1 + @types/qs 6.9.7

0 141.1 + @types/react 17.0.43

0 141.1 + @typescript-eslint/eslint-plugin 5.17.0

0 141.1 + @typescript-eslint/parser 5.17.0

0 141.1 + autoprefixer 10.4.2

0 141.1 + eslint 8.12.0

0 141.1 + eslint-config-airbnb 19.0.4

0 141.1 + eslint-config-next 12.1.0

0 141.1 + eslint-config-prettier 8.4.0

0 141.1 + eslint-plugin-formatjs 3.0.0

0 141.1 + eslint-plugin-import 2.25.4

0 141.1 + eslint-plugin-jsx-a11y 6.5.1

0 141.1 + eslint-plugin-react 7.29.4

0 141.1 + eslint-plugin-react-hooks 4.3.0

0 141.1 + eslint-plugin-simple-import-sort 7.0.0

0 141.1 + husky 7.0.4

0 141.1 + pathpida 0.18.1

0 141.1 + postcss 8.4.12

0 141.1 + prettier 2.6.2

0 141.1 + react-hook-form 7.29.0

0 141.1 + react-use 17.3.2

0 141.1 + tailwindcss 3.0.23

0 141.1 + typescript 4.6.3

0 141.1

0 141.1  ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

0 141.1

0 141.1 .

0 141.1 ├─┬ @graphql-codegen/typescript-react-apollo

0 141.1 │ └── ✕ missing peer graphql-tag@^2.0.0

0 141.1 ├─┬ @graphql-codegen/typescript

0 141.1 │ └─┬ @graphql-codegen/visitor-plugin-common

0 141.1 │ └─┬ @graphql-tools/relay-operation-optimizer

0 141.1 │ └─┬ relay-compiler

0 141.1 │ └── ✕ unmet peer graphql@^15.0.0: found 16.3.0

0 141.1 ├─┬ @saleor/sdk

0 141.1 │ ├── ✕ unmet peer graphql@^15.5.0: found 16.3.0

0 141.1 │ └── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

0 141.1 ├─┬ react-use

0 141.1 │ ├── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

0 141.1 │ └── ✕ unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.0.0

0 141.1 ├─┬ @apollo/client

0 141.1 │ └── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

0 141.1 ├─┬ @stripe/react-stripe-js

0 141.1 │ ├── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0

0 141.1 │ └── ✕ unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.0.0

0 141.1 ├─┬ editorjs-blocks-react-renderer

0 141.1 │ └─┬ html-react-parser

0 141.1 │ └── ✕ unmet peer react@"0.14 || 15 || 16 || 17": found 18.0.0

0 141.1 └─┬ react-intl

0 141.1 └── ✕ unmet peer react@"^16.3.0 || 17": found 18.0.0

0 141.1 Peer dependencies that should be installed:

0 141.1 graphql-tag@^2.0.0

0 141.1


failed to solve: executor failed running [/bin/sh -c pnpm install]: exit code: 1 root@saleor02:/opt/services/saleor-platform#`

everestbis commented 2 years ago

Same issue

giannineves commented 2 years ago

Mine is working just fine guys now and like I told before it is all about the dependencies. React, react-dom and graphsql. @karolkielecki what do you think? I cannot share just one file, because many dependencies has been changed

kofoednielsen commented 2 years ago

I have just done a fresh install and had the same issue.

I used the solution found here https://github.com/saleor/saleor/issues/9764#issuecomment-1127050108

fabrilopez commented 2 years ago

Same issue and also work with https://github.com/saleor/saleor/issues/9764

carsor007 commented 2 years ago

New install and experienced same issue but solved it by adding RUN npm install -g pnpm@6.32.11 to file react-storefront/Dockerfile.dev as described in saleor/saleor#9764