Skip to content

Add support for Node.js v12 #289

@dmohns

Description

@dmohns

I am unable to install and run face-api.js with Node.js v12.

Steps to reproduce

cd face-api.js

nvm install 12
nvm use 12

npm install

Expected result

face-api.js installs correctly.

Actual result

npm outputs a wall of errors. Most notably build errors with [email protected] and [email protected]

Environment

Node: v12.2.0
face-api.js: 0.20.0

Comments

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
fsevents/fsevents#274 and
Automattic/node-canvas#1409

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions