Automattic / Automattic/node-canvas

Error: The specified procedure could not be found. With sharp js.

Open
#930 17 comments 10 reactions 0 assignees View on GitHub
Bug
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

## Issue or Feature

When using this with [sharp js](https://github.com/lovell/sharp) canvas fails to load.

`Error: The specified procedure could not be found. *\node_modules\canvas\build\Release\canvas.node`

## Steps to Reproduce
```js
// Both work fine
require('canvas');
require("sharp");

// Throws error
require("sharp");
require('canvas');
```

## Environment
* node-canvas (1.6.5)
* sharp (0.18.1)
* node 7.10.0 x64
* Windows 10

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.