Skip to content

Unable to install Canvas on windows 64 bit machine #2463

@rahulgupta-1009

Description

@rahulgupta-1009

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 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions