Comments (14)
I believe this problem has already been solved with the new version. @dubisdev
from cerebro.
Hey, to open dev tools properly, open the menu on the upper left and pop them out as a separate window.
from cerebro.
from cerebro.
Oh sorry I meant the upper-right and the men with the three dots there
from cerebro.
from cerebro.
@reflog yep, looks like it is a bug. To open dev-tools you can try to type something (to see some results in cerebro window), and open dev tools after that. In this window is bigger and you can resize it, so you can see dev tools (and try to detach dev tools windows from cerebro windows by clicking ... button).
Also, would be cool to fix it for other users. There is an option for openDevTools
in Cerebro and we should always open it in detached window: openDevTools('detach')
. There are only two calls for that function: one and two. Would be awesome if you or someone else can fix it in PR
from cerebro.
@KELiON - thanks, that worked! Managed to undock the devtools and now able to see the problems.
To communicate with Everything, my plugin is using node-ffi, which is compiled natively and has problems starting under Electron. Here's the log:
Plugin: cerebro-plugin-everything
Path: C:\Users\reflog\AppData\Roaming\Cerebro\plugins\node_modules\cerebro-plugin-everything...
Error loading
Error: Could not locate the bindings file. Tried:
→ d:\dev\cerebro-plugin-everything\build\binding.node
→ d:\dev\cerebro-plugin-everything\build\Debug\binding.node
→ d:\dev\cerebro-plugin-everything\build\Release\binding.node
→ d:\dev\cerebro-plugin-everything\out\Debug\binding.node
→ d:\dev\cerebro-plugin-everything\Debug\binding.node
→ d:\dev\cerebro-plugin-everything\out\Release\binding.node
→ d:\dev\cerebro-plugin-everything\Release\binding.node
→ d:\dev\cerebro-plugin-everything\build\default\binding.node
→ d:\dev\cerebro-plugin-everything\compiled\6.5.0\win32\x64\binding.node
at r (d:\dev\cerebro-plugin-everything\dist\index.js:1:16695)
at Object.<anonymous> (d:\dev\cerebro-plugin-everything\dist\index.js:1:783)
at r (d:\dev\cerebro-plugin-everything\dist\index.js:1:194)
at Object.<anonymous> (d:\dev\cerebro-plugin-everything\dist\index.js:1:26444)
at r (d:\dev\cerebro-plugin-everything\dist\index.js:1:194)
at Object.<anonymous> (d:\dev\cerebro-plugin-everything\dist\index.js:1:36093)
at r (d:\dev\cerebro-plugin-everything\dist\index.js:1:194)
at d:\dev\cerebro-plugin-everything\dist\index.js:1:570
at Object.<anonymous> (d:\dev\cerebro-plugin-everything\dist\index.js:1:580)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
Do you have any tips on how to package my module correctly so it would work under Cerebro? This is my first attempt at Electron plugin, so it's a new territory for me...
Thanks in advance!
from cerebro.
@reflog can you check that this package installed and works? You can just run node
from d:\dev\cerebro-plugin-everything\
and try to require it.
from cerebro.
from cerebro.
@reflog ok, another question: can you check that your local node/npm version are the same, that current electron version uses?
Also, you can try to rebuild your native extensions for electron's node/npm by command:
npm rebuild --runtime=electron --target=1.4.12 --disturl=https://atom.io/download/electron --abi=50
from cerebro.
Yea, that's the path I'm on right now, tried doing the node-gyp rebuild, but after it's done the bindings are at:
c:\Users\reflog\AppData\Roaming\Cerebro\plugins\node_modules\cerebro-plugin-everything\node_modules\ffi\build\Release\ffi_bindings.node
And as you can see from the log I posted before, it's not where Electron is looking for them :(
Any ideas?
from cerebro.
@reflog hm, no idea. Maybe this can help?
from cerebro.
@reflog did you have any success with your plugin? Do you need any help?
from cerebro.
Well, I've tried following all the steps in the guide that you've referenced with no luck, same result, cannot find the bindings.
If someone more experienced than me in the world of electron-win32-bindings would like to take a stab at it - that would be awesome, the repo is there and waiting :)
from cerebro.
Related Issues (20)
- Record Screen Permission? Losing Focus on Enter? No working file or app search? HOT 2
- Provide more user clues when config.json is broken and Cerebro does not start HOT 3
- Customize fonts
- Where can I donate? HOT 2
- Favorites and Recent lists HOT 1
- Can't uninstall failed plugin HOT 6
- React.createContext is not a function HOT 4
- Implement OpenAI ChatGPT HOT 1
- cerebro on i3 doesn't work just opens then closes HOT 4
- Pasting from clipboard into Cerebro Search box not working on MacOS HOT 1
- Cerebro does not run on KDE Plasma HOT 12
- [Discussion] Is this project abandoned already? HOT 5
- Module parse failed: Unexpected character '�' (1:0) HOT 1
- Debian repository HOT 1
- Cerebro should respect macOS spaces HOT 3
- `libva` error in VirtualBox HOT 1
- any options to customize the default text appearing on cerebro toggle
- add a shortcut?
- It is not possible to change the hotkey in Mint HOT 1
- Installing on an immutable OS (Fedora Silverblue)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cerebro.