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

(Chore) Remove canvas to fix Netlify build #1572

Closed
wants to merge 6 commits into from

Conversation

MauritsR
Copy link
Contributor

Removes canvas from package.json so that it's dependencies don't have to be installed (Dockerfile / ci)

This should also fix the Netlify build, which was not updated to perform the above installations.

- name: Install required libraries
run: sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
run: sudo apt-get install libgif-dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is libgif-dev needed for?

@MauritsR MauritsR closed this Apr 30, 2021
@MauritsR
Copy link
Contributor Author

Closed because the PR caused unit tests to fail on CI - checking it out

@MauritsR MauritsR reopened this Apr 30, 2021
@MauritsR MauritsR added the wip Work in progress label Apr 30, 2021
@jonkoops
Copy link
Contributor

@MauritsR FYI the author of canvas just published the binaries for Node 16 on Linux and macOS (Windows still missing). See: Automattic/node-canvas#1791 (comment)

@MauritsR
Copy link
Contributor Author

@MauritsR FYI the author of canvas just published the binaries for Node 16 on Linux and macOS (Windows still missing). See: Automattic/node-canvas#1791 (comment)

👍 Was already looking at it - happy to see the binaries added so fast. Netlify now builds correctly (would have been quite a hassle to install the binaries there).

Closing this PR but will open a new one to remove redundant binaries install.

@MauritsR MauritsR closed this Apr 30, 2021
@jonkoops jonkoops deleted the chore/remove-canvas branch April 30, 2021 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wip Work in progress
Development

Successfully merging this pull request may close these issues.

4 participants