Can'y Yarn install because of package Node-base64

Everything goes fine when I launch the project, but when I try to deploy the project I get an error about a package that isn’t even in my yarn.lock or in the package.json. The error is as follows:

"#0 48.18 [4/4] Building fresh packages…
#0 48.24 error /app/node_modules/node-base64: Command failed.
#0 48.24 Exit code: 127
#0 48.24 Command: ./
#0 48.24 Arguments:
#0 48.24 Directory: /app/node_modules/node-base64
#0 48.24 Output:
#0 48.24 ./ 3: node-waf: not found
#0 48.24 info Visit yarn website for documentation about this command.

Error: failed to fetch an image or build from source: error building: failed to solve: executor failed running [/bin/sh -c yarn install --frozen-lockfile --production=false]: exit code: 127 "

Hi @bluelogic,

I’m Dave, nice to meet you :slight_smile:. Thanks for sharing the error details, that’s very helpful!

I suspect this is an issue with a sub-dependency (I saw a discussion that might be related over on Stack overflow. That discussion might solve the issue here, but if it doesn’t, providing the dependencies in your package.json file might give us some places to start digging in!

:thinking: as an aside - does the build step work locally on your machine, or only when you fly deploy?