argo-admin-template
argo-admin-template copied to clipboard
Eslint package error
┏━━ Cloning https://github.com/Shopify/argo-admin-template.git into subscription-extention... ━━━━━━ ┃ 100% ┗━━ ✓ Cloned into subscription-extention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (2.5s) ━━ ┏━━ Installing dependencies with npm... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ┃ ✗ Unable to install all 12 dependencies ┃ npm ERR! code ERESOLVE ┃ npm ERR! ERESOLVE unable to resolve dependency tree ┃ npm ERR! ┃ npm ERR! Found: [email protected] ┃ npm ERR! node_modules/eslint ┃ npm ERR! dev eslint@"^7.7.0" from the root project ┃ npm ERR! ┃ npm ERR! Could not resolve dependency: ┃ npm ERR! peer eslint@"^5.0.0 || ^6.0.0" from @typescript-eslint/[email protected] ┃ npm ERR! node_modules/@shopify/eslint-plugin/node_modules/@typescript-eslint/parser ┃ npm ERR! @typescript-eslint/parser@"^2.33.0" from @shopify/[email protected] ┃ npm ERR! node_modules/@shopify/eslint-plugin ┃ npm ERR! dev @shopify/eslint-plugin@"^37.0.1" from the root project ┃ npm ERR! peer @typescript-eslint/parser@"^2.0.0" from @typescript-eslint/[email protected] ┃ npm ERR! node_modules/@shopify/eslint-plugin/node_modules/@typescript-eslint/eslint-plugin ┃ npm ERR! @typescript-eslint/eslint-plugin@"^2.33.0" from @shopify/[email protected] ┃ npm ERR! node_modules/@shopify/eslint-plugin ┃ npm ERR! dev @shopify/eslint-plugin@"^37.0.1" from the root project ┃ npm ERR! ┃ npm ERR! Fix the upstream dependency conflict, or retry ┃ npm ERR! this command with --force, or --legacy-peer-deps ┃ npm ERR! to accept an incorrect (and potentially broken) dependency resolution. ┃ npm ERR! ┃ npm ERR! See /home/pratik/.npm/eresolve-report.txt for a full report. ┃ ┃ npm ERR! A complete log of this run can be found in: ┃ npm ERR! /home/pratik/.npm/_logs/2021-01-01T10_54_08_516Z-debug.log ┗━━ An error occurred while installing dependencies ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (8.92s) ━━ ⭑ Fix the errors and run shopify create extension again.
I had this same issue and downgrading my node version from 15.3.0
to 14.15.4
solved it for me.