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

Package issue: sqlite3 #8

Open
keinsell opened this issue Jan 14, 2022 · 1 comment
Open

Package issue: sqlite3 #8

keinsell opened this issue Jan 14, 2022 · 1 comment

Comments

@keinsell
Copy link
Owner

When bcrypt uses the universal name of a directory which is napi-v3, sqlite3 uses something like napi-v3-{os} and it's hard to include it to build by using require(). To resolve this issue we probably need to set up pkg.assets in package.json.

@keinsell
Copy link
Owner Author

Okay, we get into a weird issue because when we're using caxa is some kind of successful but binary cannot open database file (similar to vercel/pkg#304) and pkg doesn't seem to really include .node binaries into a bundle.

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

No branches or pull requests

1 participant