Skip to content

Help needed : Test stopped working due to npm error #210

@ramonfincken

Description

@ramonfincken

First of all: I am not friends with npm,npm/node, it is a black box to me.
I need some guidance to get the runner working again.

So ... this happens now:

cd '/home/myuser/prepare'; npm install && npm run build

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: WordPress@6.5.0
npm ERR! Found: prettier@2.6.2
npm ERR! node_modules/prettier
npm ERR! dev prettier@"npm:wp-prettier@2.6.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer prettier@">=3" from @wordpress/prettier-config@3.8.1
npm ERR! node_modules/@wordpress/prettier-config
npm ERR! dev @wordpress/prettier-config@"3.8.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/runnervm194h/npm-cache/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runnervm194h/npm-cache/_logs/2024-03-05T15_08_12_802Z-debug-0.log
Error: Failed to perform operation.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions