Automattic / Automattic/node-canvas

Unable to install Canvas on windows 64 bit machine

Open
#2,463 11 comments 3 reactions 0 assignees View on GitHub
Installation help
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

We are trying to install the canvas manually as connecting to github and downloading via "npm install canvas" is blocked due to firewall restrictions.
So we have performed the steps mentioned on wiki like
1 - Made sure the pre-requisite are met i.e. python or version 3.12 or greater and node-gyp v10.
2- Installed node-gyp using command 'npm install -g node-gyp'.
3- Downloaded GTK2 from the given link and placed it onto C:/GTK directory.
4- We did not install the optional command.
5 - Tried to run the command 'npm install canvas' but it failed saying econnect timeout as it is trying to download through github.

So how can i do it if it is blocked by firewall ?

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.