You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
I am unable to install and run
face-api.js
with Node.js v12.Steps to reproduce
Expected result
face-api.js
installs correctly.Actual result
npm
outputs a wall of errors. Most notably build errors withfsevents@1.2.8
andcanvas@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
andcanvas
only add support for Node.js v12 infsevents@1.2.9
andcanvas@2.5.0
respectively, seefsevents/fsevents#274 and
Automattic/node-canvas#1409
The text was updated successfully, but these errors were encountered: