@foundryup/foundry
foundry binaries on npm
Install
This package follows foundryup's nightly releases, so you can install the latest nightly with:
npm install @foundryup/foundry
Or a specific nightly release with:
npm install @foundryup/foundry@0.2.0-nightly.c631cf3
Usage
{
"scripts": {
"build": "forge build"
},
"devDependencies": {
"@foundryup/foundry": "0.2.0-nightly.c631cf3"
}
}
% npm forge --version
forge 0.2.0 (c631cf3 2024-02-18T00:17:43.475108000Z)
Troubleshooting
GLIBC errors on Vercel
/vercel/path0/node_modules/.pnpm/@foundryup/foundry@0.2.0-nightly.c631cf3/node_modules/@foundryup/foundry/bin/foundry/linux_amd64/forge: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /vercel/path0/node_modules/.pnpm/@foundryup/foundry@0.2.0-nightly.c631cf3/node_modules/@foundryup/foundry/bin/foundry/linux_amd64/forge)
You can resolve this by changing your Vercel app's Node.JS version to 20.x
.