Automattic / node-canvas

Node canvas is a Cairo backed Canvas implementation for NodeJS.
10.2k stars 1.17k forks source link

docs: updated readme with command for installing packages from source using Yarn #2447

Open sahanar11 opened 4 weeks ago

sahanar11 commented 4 weeks ago

Added a command for installing packages from source using Yarn.

For npm, use: npm install --build-from-source=true For yarn use: npm_config_build_from_source=true yarn install

Ref: Please find more details in the Yarn documentation here - https://classic.yarnpkg.com/en/docs/envvars/#toc-npm-config