Skip to content

How does electron11 use node-canvas correctly? #1789

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

Closed
sujiewen opened this issue Apr 24, 2021 · 0 comments
Closed

How does electron11 use node-canvas correctly? #1789

sujiewen opened this issue Apr 24, 2021 · 0 comments

Comments

@sujiewen
Copy link

npm install --build-from-source

./node_modules/.bin/electron-rebuild

HOME=~/.electron-gyp node-gyp rebuild --target=11.3.0 --arch=x64 --dist-url=https://electronjs.org/headers

The above steps are all running correctly, but the electron still cannot use node-canvas normally?

截屏2021-04-24 下午4 12 53

Environment:
macOS 10.15.7
cli3
electron11.3.0
node14.15.1

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

1 participant