question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error upgrading from v13.2.4 to v13.4.x

See original GitHub issue

Following official Nx upgrade guide I get the following error running npm install:

$ npm install
---
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: ismedia@0.0.0
npm ERR! Found: @nrwl/eslint-plugin-nx@13.2.4
npm ERR! node_modules/@nrwl/eslint-plugin-nx
npm ERR!   dev @nrwl/eslint-plugin-nx@"13.4.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! dev @nrwl/eslint-plugin-nx@"13.4.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @typescript-eslint/parser@5.3.1
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   peer @typescript-eslint/parser@"~5.3.0" from @nrwl/eslint-plugin-nx@13.4.1
npm ERR!   node_modules/@nrwl/eslint-plugin-nx
npm ERR!     dev @nrwl/eslint-plugin-nx@"13.4.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 /Users/dmoore/.npm/eresolve-report.txt for a full report.

Expected Behavior

Smooth upgrade to the latest minor version

Steps to Reproduce

# Starting with v13.2.4
$ npx nx migrate latest
$ npm install

Failure Logs

eresolve-report.txt

Environment

npx nx report

>  NX  Report complete - copy this into the issue template

  Node : 14.17.5
  OS   : darwin x64
  npm  : 7.20.6
  
  nx : 13.2.4
  @nrwl/angular : undefined
  @nrwl/cli : 13.2.4
  @nrwl/cypress : 13.2.4
  @nrwl/devkit : 13.2.4
  @nrwl/eslint-plugin-nx : 13.2.4
  @nrwl/express : undefined
  @nrwl/jest : 13.2.4
  @nrwl/linter : 13.2.4
  @nrwl/nest : 13.2.4
  @nrwl/next : undefined
  @nrwl/node : 13.2.4
  @nrwl/nx-cloud : undefined
  @nrwl/react : undefined
  @nrwl/react-native : undefined
  @nrwl/schematics : undefined
  @nrwl/tao : 13.2.4
  @nrwl/web : 13.2.4
  @nrwl/workspace : 13.2.4
  @nrwl/storybook : undefined
  @nrwl/gatsby : undefined
  typescript : 4.3.5
  rxjs : 7.1.0
  ---------------------------------------
  Community plugins:
  	 nx-flow: 0.2.6
  	 nx-vue3-vite: 0.13.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
punixxhercommented, Jan 3, 2022

Downgrade eslint to version “7.32.0” and others eslint dependencies

0reactions
demisxcommented, Jan 13, 2022

I actually got this resolved by bumping ESLint dependencies in Nx own package.json and some (vue related) to the latest released:

         "@types/supertest": "^2.0.11",
         "@types/uuid": "^8.3.1",
         "@types/video.js": "^7.3.28",
-        "@typescript-eslint/eslint-plugin": "^4.31.2",
-        "@typescript-eslint/parser": "^4.31.2",
+        "@typescript-eslint/eslint-plugin": "~5.3.0",
+        "@typescript-eslint/parser": "~5.3.0",
         "@videojs/themes": "^1.0.1",
         "@vitejs/plugin-vue": "^1.10.2",
         "@vue/compiler-sfc": "^3.2.24",
-        "@vue/eslint-config-typescript": "^7.0.0",
+        "@vue/eslint-config-typescript": "^10.0.0",
         "@vueform/multiselect": "^2.3.1",
         "babel-jest": "27.2.3",
         "buffer": "^6.0.3",
@@ -121,11 +121,11 @@
         "chalk": "^4.1.2",
         "cypress": "8.7.0",
         "dotenv": "^10.0.0",
-        "eslint": "^7.32.0",
+        "eslint": "8.2.0",
         "eslint-config-prettier": "^8.1.0",
-        "eslint-plugin-cypress": "^2.12.1",
-        "eslint-plugin-import": "^2.24.0",
-        "eslint-plugin-vue": "^7.20.0",
+        "eslint-plugin-cypress": "^2.10.3",
+        "eslint-plugin-import": "2.25.2",
+        "eslint-plugin-vue": "^8.3.0",
         "husky": "^7.0.1",
         "jest": "27.2.3",
         "jest-environment-node": "27.2.3",
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to upgrade postgresql from V13 to V14 or V15
I m running postgres 13, and try to follow all upgrade of nextcloud and postgres. This time, I would like to upgrade from...
Read more >
Cannot Resolve R after Update Android Studio to v13
When I revert to 1.1.3 or 1.0.0 (for the gradle plugin) I still got the same error. When I change the gradle to...
Read more >
Can not upgrade from V13 to V14 - Maintaining my Dolibarr
Hi, i have installed Dolibarr V12.0.5 on linux with Nginx and Postgresql, but i had some problems ( Related topic ), so i...
Read more >
v13.0 - Graph API - Meta for Developers - Facebook
Graph API and Marketing API v13.0 Changelog. ... 13 will be the last version to allow video_title field requests on IG Media without...
Read more >
Problems with project upgrade from TIA 13 to 15.1 - 223949
Try this: 1. Open the project in TIA V13 SP1. 2. Change Firmware to V2.0 or higher. 3. "Compile > Hardware (rebuild all)"....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found