Page MenuHomePhabricator

mwgate-npm-node-6-docker failing with missing ajv/lib/compile/equal
Closed, ResolvedPublic

Description

Currently the mwgate-npm-node-6-docker jobs all seem to fail with.

Warning: Cannot find module 'ajv/lib/compile/equal' Use --force to continue.

e.g. see
https://integration.wikimedia.org/ci/job/mwgate-npm-node-6-docker/61313/console
https://integration.wikimedia.org/ci/job/mwgate-npm-node-6-docker/61312/console

Event Timeline

Reedy triaged this task as High priority.Nov 29 2018, 10:31 AM

I can't merge anything on any extension at the moment, I suggest raising the priority to UBN

00:00:58.982 ├─┬ eslint-config-wikimedia@0.9.0 
00:00:58.983 │ ├─┬ eslint@5.9.0 
00:00:58.983 │ │ ├─┬ @babel/code-frame@7.0.0 
00:00:58.983 │ │ │ └─┬ @babel/highlight@7.0.0 
00:00:58.983 │ │ │   └── js-tokens@4.0.0 
00:00:58.984 │ │ ├─┬ ajv@6.6.0

eslint-config-wikimedia depends on eslint which depends on unbound ajv. https://www.npmjs.com/package/ajv released a new version which breaks something. Released four hours ago https://github.com/epoberezkin/ajv/releases

And note how a JSON Schema Validator has a changelog entry stating:

Replaced phantomjs with headless chrome

But I am ranting at this point.

Probably it is just about pinning ajv<6.6.0 I dont know whether it can be done for a sub dependency though. Task should surely be filled to upstream eslint and ajv.

hashar claimed this task.
hashar added a project: Upstream.