-
Notifications
You must be signed in to change notification settings - Fork 38
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
Conflicting peer dependency: [email protected] #1369
Comments
facing same issue with that dependency
npm ERR! ERESOLVE unable to resolve dependency tree |
Current Shopify CLI version: 3.48.0 |
npm i @shopify/ui-extensions-react npm ERR! code ERESOLVE |
You can use this to fix it at the moment because one of them was on 3.49.3 for me. |
@CrowderSoup Are you still seeing this issue? |
I'm seeing this issue as well when trying to generate a post-purchase extension through the Shopify CLI. Here's my locked
Running Node v18, React 18.
From what I can tell, the I suspect that might be the issue? |
This is still an issue. Can we do something to make the extension packages compatible with 18? |
Yeah i'm having troubles too |
I am facing the same issue |
Just ran into this today - @ctrlaltdylan did you end up resolving? |
I have to jog my memory a bit. I think before I installed the Shopify CLI as a dependency in my yarn workspace. But I ran into so many issues with using shopify with yarn that I have instead started using But I have trouble remembering exactly, my package.json's show React 18: {
"name": "@verdict/post-purchase",
"private": true,
"version": "1.0.0",
"license": "UNLICENSED",
"dependencies": {
"@shopify/ui-extensions": "2024.7.x",
"@shopify/ui-extensions-react": "2024.7.x",
"react": "^18.0.0"
},
"devDependencies": {
"@types/react": "^18.0.0",
"react-reconciler": "0.29.0"
}
}
|
Ah I see thanks. I'll look into that. I think yarn is required in my case
because the app I'm using is on gadget.
…On Mon, Dec 16, 2024 at 9:07 AM Dylan Pierce ***@***.***> wrote:
I have to jog my memory a bit. I think before I installed the Shopify CLI
as a dependency in my yarn workspace. But I ran into so many issues with
using shopify with yarn that I have instead started using npx shopify
<command> to run things.
But I have trouble remembering exactly, my package.json's show React 18:
{
"name": ***@***.***/post-purchase",
"private": true,
"version": "1.0.0",
"license": "UNLICENSED",
"dependencies": {
***@***.***/ui-extensions": "2024.7.x",
***@***.***/ui-extensions-react": "2024.7.x",
"react": "^18.0.0"
},
"devDependencies": {
***@***.***/react": "^18.0.0",
"react-reconciler": "0.29.0"
}}
—
Reply to this email directly, view it on GitHub
<#1369 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALYQNIQGVHPOB4CCQN5PXD2F3UE3AVCNFSM6AAAAABJUXI5XOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVHA3TKOJRHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Thanks,
Kalen
|
Gotcha. Yea I still use yarn as well. But there's a lot of NPM specific hardcoded functionality in the CLI source, it really looks like it's only intended for NPM use unfortunately. |
Facing the same issue with
|
Please list the package(s) involved in the issue, and include the version you are using
Describe the bug
After running
npm run shopify app generate extension -- -n "Checkout UI" --template checkout_ui
and thennpm run dev
I get:Which leads me to believe I need to install the
@shopify/ui-extensions-react/checkout
dependency. However, when I try to do so I get:Steps to reproduce the behavior:
@shopify/ui-extensions-react
withnpm i
Expected behavior
The text was updated successfully, but these errors were encountered: