-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Native compilation doesn't happen if the package is using prebuilt (eg leveldown) #647
Comments
Is there any update on this? or is there some option which can force a rebuild in such cases? |
Is it possible to attach sample project? |
sample project https://github.com/cosmosgenius/electron-leveldb |
What i am doing currently is modifying the |
Thanks for clear explanation and sample project. |
[email protected]
OSX el capitan x64
My app directory package.json has a dependency to leveldown 1.4.0. Since leveldown is natively compiled, I was expecting install-app-deps to compile with electron-prebuilt deps on dev package.json. While installing leveldown, it uses prebuilt to download native binary instead of compiling.
Passing
--build-from-source
as args in thedoSpawn
function fixes the issues and compile with the correct version.The text was updated successfully, but these errors were encountered: