[英]LevelDOWN could not locate the bindings file when using electron.js under Windows 7
I created nodeJS server that uses levelDOWN module. 我创建了使用levelDOWN模块的nodeJS服务器。 So when I'm starting my server with
node app.js
everything is fine. 因此,当我使用
node app.js
启动服务器时,一切都很好。 I want to create electron desktop app that will use my app.js
file. 我想创建将使用我的
app.js
文件的电子桌面应用程序。 So I installed electron module and created electronApp.js
file: 因此,我安装了electronic模块并创建了
electronApp.js
文件:
var app = require('electron').app;
app.on('ready', function(){
// start http server
var server = require(__dirname + "/app");
});
Now I'm trying to run my application electron electronApp.js
but I'm getting next error: 现在,我正在尝试运行我的应用程序
electron electronApp.js
但遇到下一个错误:
I tried node-gyp rebuild
and electron-rebuild
as well but it did not help. 我也尝试了
node-gyp rebuild
和electron-rebuild
,但没有帮助。 I'm dissapointed. 我很失望 How to solve it?
怎么解决呢?
I met the same error and submitted an issue on Electron issue list: https://github.com/electron/electron/issues/8161 我遇到了同样的错误,并在电子问题列表上提交了一个问题: https : //github.com/electron/electron/issues/8161
Hope this can be resolved soon. 希望这个问题能尽快解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.