You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use prebuildify instead of prebuild-install. Unlike prebuild-install, prebuildify ships all precompiled binaries with the package
This simplifies deployment by a lot, since now, no matter what architecture of machine where the package was installed, node_modules can be copied to machine with other architecture and code will still work
prebuild-install README.md itself recommends to use prebuildify and lists some reasons
My use case
I use Rush.js for monorepo management. It has command rush deploy that creates a directory to deploy specific project from monorepo. It includes:
Files of project
Files of projects from monorepo it depends on
Installed NPM packages
The last point is the problem: if I run rush deploy on my macOS, it will generate directory with sqlite3 binary for macOS inside. Copy this directory on Linux server and it won't work
Proposed implementation
See docs of prebuildify
The text was updated successfully, but these errors were encountered:
Summary
Suggestion
Use prebuildify instead of prebuild-install. Unlike prebuild-install, prebuildify ships all precompiled binaries with the package
This simplifies deployment by a lot, since now, no matter what architecture of machine where the package was installed,
node_modules
can be copied to machine with other architecture and code will still workSupposedly this will also fix #1731, see this comment
prebuild-install README.md itself recommends to use prebuildify and lists some reasons
My use case
I use Rush.js for monorepo management. It has command
rush deploy
that creates a directory to deploy specific project from monorepo. It includes:The last point is the problem: if I run
rush deploy
on my macOS, it will generate directory with sqlite3 binary for macOS inside. Copy this directory on Linux server and it won't workProposed implementation
See docs of prebuildify
The text was updated successfully, but these errors were encountered: