Closed littlee closed 4 years ago
In my country, downloading file from github is slowwww, how do I use a mirror when installing this package ?
the mirror I would use:
https://npm.taobao.org/mirrors/canvas-prebuilt/
Use npm install canvas --canvas_binary_host_mirror=url to pick a mirror. It doesn't look like your link has the latest versions though.
npm install canvas --canvas_binary_host_mirror=url
cool
Can you suggest how to do it for yarn2
In my country, downloading file from github is slowwww, how do I use a mirror when installing this package ?
the mirror I would use:
https://npm.taobao.org/mirrors/canvas-prebuilt/