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

electron v1.2.3 node.js v6.10.0 can't save doc #47

Closed
nerverwind opened this issue Jun 20, 2016 · 2 comments
Closed

electron v1.2.3 node.js v6.10.0 can't save doc #47

nerverwind opened this issue Jun 20, 2016 · 2 comments

Comments

@nerverwind
Copy link

The problem is:

With electron v0.37.8 and node.js v5.7, linvodb3 work normal, but when I updated electron 1.2.3 (with node v6.10), linvodb3 can not save data, and no error was throwed.

@nerverwind
Copy link
Author

db.defaults.store = { db: require("leveldown") };
db.dbPath = dbPath;

Folders = new db('Folders');
Articles = new db('Articles');

leveldown: prebulid --install, work normal on electron;
var _folder = new Folders(folderObject);
_folder.save(function(err){

});

not work.

@nerverwind
Copy link
Author

cd leveldown
node-gyp rebuild --target=1.2.3 --arch=x64 --target_platform=darwin --dist-url=https://atom.io/download/atom-shell

resovled this problem.

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