node-gyp: command not found

10 months ago

I'm getting this error consistently when installing deps. I'm not to sure if this is a Bun issue or a Railway issue, so feel to close. This is the service id: 3b701816-cc8b-4b04-8559-9acfee15b9fd

bun install --frozen-lockfile

bun install v1.3.4 (5eb2145b)

/usr/bin/bash: line 1: node-gyp: command not found

error: install script from "cpu-features" exited with 127

Closed$10 Bounty

3 Replies

reece
PRO

10 months ago

it's trying to install a node.js native addon, which isn't compatible with bun


reece
PRO

10 months ago

it might be that it's not used at runtime, but it's still in the dependency tree


reece
PRO

10 months ago

so you'll likely need to have both node.js and bun installed


Welcome!

Sign in to your Railway account to join the conversation.

Loading...