Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Node.js v12 #289

Open
dmohns opened this issue May 8, 2019 · 1 comment
Open

Add support for Node.js v12 #289

dmohns opened this issue May 8, 2019 · 1 comment

Comments

@dmohns
Copy link

dmohns commented May 8, 2019

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 fsevents@1.2.8 and canvas@2.0.1

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 fsevents@1.2.9 and canvas@2.5.0 respectively, see
fsevents/fsevents#274 and
Automattic/node-canvas#1409

@justadudewhohacks
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants