Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install on Vercel: warning "sqlite3@5.1.7" has no binaries #1789

Open
jeromecovington opened this issue May 17, 2024 · 0 comments
Open

Install on Vercel: warning "sqlite3@5.1.7" has no binaries #1789

jeromecovington opened this issue May 17, 2024 · 0 comments

Comments

@jeromecovington
Copy link

jeromecovington commented May 17, 2024

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/move-file@1.1.2: This functionality has been moved to @npmcli/fs
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning "sqlite3@5.1.7" 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant