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
Error coming from `npm install`
Command failed with exit code 1: npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: new-discount-app@undefined
npm error Found: @shopify/app-bridge-react@4.1.3
npm error node_modules/@shopify/app-bridge-react
npm error @shopify/app-bridge-react@"^4.1.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @shopify/app-bridge-react@"^3.7.7" from @shopify/discount-app-components@2.1.2
npm error node_modules/@shopify/discount-app-components
npm error @shopify/discount-app-components@"2.1.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/richardpk/.npm/_logs/2024-07-02T08_20_52_257Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/richardpk/.npm/_logs/2024-07-02T08_20_52_257Z-debug-0.log
The text was updated successfully, but these errors were encountered:
I am cloning the discount-sample-app using the following command as per Shopify's documentation:
shopify app init --template https://github.com/Shopify/function-examples/sample-apps/discounts
But the command failed with the following errors:
The text was updated successfully, but these errors were encountered: