Chokidar: yarn + node 10+ support by updating upath dependency

Created on 13 Nov 2018  路  6Comments  路  Source: paulmillr/chokidar

the latest version of chokidar is relying on upath v1.0.5

this results in errors on Node v10+ when running yarn:

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=4 <=9". Got "11.1.0"
error Found incompatible module

this has been addressed by the upath maintainers: https://github.com/anodynos/upath/issues/24

a version bump to 1.1.0 would resolve this issue.

Most helpful comment

webpack is depending on chokidar and hence it isn't possible for projects depending on webpack to switch to node 10+. Isn't it possible to upgrade and discontinue node 4 support or replace upath with another dependency?

All 6 comments

They removed node <4 support. Can't update yet.

I'd suggest not installing with yarn - npm never explodes with incompatible engines.

yarn --ignore-engines install also works until this is fixed.

webpack is depending on chokidar and hence it isn't possible for projects depending on webpack to switch to node 10+. Isn't it possible to upgrade and discontinue node 4 support or replace upath with another dependency?

Node 4 has been EOL for nearly a year now... not LTS support.... EOL... why can't anyone still running Node 4 just live with an old version of chokidar?

We're going to drop nodes older than version 8 in 2.2 or 3.0; soon.

@paulmillr 馃憤 that should be a major bump, since it'll break people.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ORESoftware picture ORESoftware  路  8Comments

paulmillr picture paulmillr  路  9Comments

rcarmich picture rcarmich  路  4Comments

yebrahim picture yebrahim  路  4Comments

nikoladev picture nikoladev  路  6Comments