node-sqlite3 icon indicating copy to clipboard operation
node-sqlite3 copied to clipboard

Install on Vercel: warning "[email protected]" has no binaries

Open jeromecovington opened this issue 1 year ago • 0 comments

Issue Summary

I am installing/building an app that has sqlite3 as a dependency. I am able to install and build the app fine on my Mac, but when I install on Vercel, I have an install warning (no binaries) and then a build error when attempting to run my sql migration. I am working to identify architecture/environment differences but wanted to post this issue in case anyone else has already encountered it and can provide guidance.

Relevant logs or output

[1/4] Resolving packages...
warning sqlite3 > node-gyp > make-fetch-happen > cacache > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning "[email protected]" has no binaries
Done in 1.81s.
yarn run v1.22.19
$ sqlite3 biodiversity.db < migrate/data
/bin/sh: line 1: sqlite3: command not found
error Command failed with exit code 127.

Version

5.1.7

Node.js Version

20.13.1

How did you install the library?

npm install MacOS 14.4.1 M1 Max is fine, I am looking for the Vercel architecture specs

jeromecovington avatar May 17 '24 15:05 jeromecovington