Skip to content

@codeceptjs/ui dependency seems to be blocking update to codeceptjs 3.6.2 #4368

@incoming-th

Description

@incoming-th

What are you trying to achieve?

Try to update to codeceptjs 3.6.2 via npm update or npm update, or removing package-lock.json and node_modules folder then npm install.

I should be doing something wrong, because when creating a new codeceptjs project in an empty directory, it installs @codeceptjs/ui ^1.1.1 in the package.json.

What do you get instead?

npm resolution error report

While resolving: [email protected]
Found: [email protected]
node_modules/codeceptjs
dev codeceptjs@"^3.6.2" from the root project

Could not resolve dependency:
peer codeceptjs@"3.5.14" from @codeceptjs/[email protected]
node_modules/@codeceptjs/ui
dev @codeceptjs/ui@"^1.1.1" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: 
npm ERR! Found: [email protected]
npm ERR! node_modules/codeceptjs
npm ERR!   dev codeceptjs@"^3.6.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer codeceptjs@"3.5.14" from @codeceptjs/[email protected]
npm ERR! node_modules/@codeceptjs/ui
npm ERR!   dev @codeceptjs/ui@"^1.1.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! 
npm ERR! For a full report see:
npm ERR! /home/test/.npm/_logs/2024-05-29T16_38_42_433Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/test/.npm/_logs/2024-05-29T16_38_42_433Z-debug-0.log

image

Details

  • CodeceptJS version: 3.5.14 (trying to update to 3.6.2)
  • NodeJS Version: 18.20.1
  • Operating System: Ubuntu 22.04
  • NPM: 10.5.0
  • playwright: 1.44.1
  • Configuration file:
{
    "name": "codeceptjs",
    "version": "0.1.0",
    "private": true,
    "scripts": {
        "codeceptjs": "codeceptjs run --steps",
        "codeceptjs:headless": "HEADLESS=true codeceptjs run --steps",
        "codeceptjs:ui": "codecept-ui --app",
        "codeceptjs:demo": "codeceptjs run --steps -c node_modules/@codeceptjs/examples",
        "codeceptjs:demo:headless": "HEADLESS=true codeceptjs run --steps -c node_modules/@codeceptjs/examples",
        "codeceptjs:demo:ui": "codecept-ui --app  -c node_modules/@codeceptjs/examples"
    },
    "devDependencies": {
        "@codeceptjs/configure": "^1.0.1",
        "@codeceptjs/examples": "^1.2.4",
        "@codeceptjs/ui": "^1.1.1",
        "codeceptjs": "^3.6.2",
        "playwright": "^1.44.1"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions