I am unable to install and run face-api.js with Node.js v12.
cd face-api.js
nvm install 12
nvm use 12
npm install
face-api.js installs correctly.
npm outputs a wall of errors. Most notably build errors with [email protected] and [email protected]
Node: v12.2.0
face-api.js: 0.20.0
After a bit of googling around it looks like indeed fsevents and canvas only add support for Node.js v12 in [email protected] and [email protected] respectively, see
https://github.com/fsevents/fsevents/pull/274 and
https://github.com/Automattic/node-canvas/pull/1409
Installing the package from npm works fine with node 12.2. Installing the dev dependencies of this repo just doesn't work, because I didn't upgrade them yet to be compatible with node 12.
Most helpful comment
Installing the package from npm works fine with node 12.2. Installing the dev dependencies of this repo just doesn't work, because I didn't upgrade them yet to be compatible with node 12.