qrohlf/trianglify

Cannot Install on Windows through NPM

lggarrison opened this issue · 2 comments

Windows doesn't support the canvas dependency.

I got around this issue by forking the repo and removing the dependency.

Seems like it wanted to install cairo via gyp. It failed. Forking fixed it.

canvas is listed as an optionalDependency, you should be able to install Trianglify without canvas support on Windows. You'll see warnings when running npm install, but it is as the npm team intended.