Build node-fontnik from source
masterIf prebuilt binaries are unavailable, you must build the module from source. This requires installing system dependencies first, then running the rebuild command.
1. Install system dependencies
macOS
brew install cmake ninja boost zlibLinux (Debian/Ubuntu)
sudo apt-get install cmake ninja-build zlib1g-dev libboost-dev2. Run the build
Execute the following command to compile the native module:
npm run rebuildNote: N-API headers (node-addon-api, node-api-headers), protozero, and FreeType are automatically fetched by CMake during the configuration step.