Comments (17)
😢 Thanks for testing. I can try putting some more errors in place.
Have you been able to run other Electron-based apps? Like vmd?
npm i vmd -g
touch README.md
vmd README.md
from devtool.
vmd
seems to be working fine. The difference may be in the version of Electron used:
For vmd:
[email protected] postinstall /home/nchambrier/.nvm/versions/node/v4.2.4/lib/node_modules/vmd/node_modules/electron-prebuilt
For devtool:
[email protected] postinstall /home/nchambrier/.nvm/versions/node/v4.2.4/lib/node_modules/devtool/node_modules/electron-prebuilt
I'm developing a Electron application myself which is based on 0.36.2 but worked fine with 0.35 few weeks ago so I'm not sure this is it. I'll try to upgrade dependency and check what happens.
from devtool.
It could be. I was noticing other errors with the latest Electron (electron/electron#3832 (comment)), which is why I'm sticking with 0.35 for devtool
currently.
from devtool.
Same problem on OS X 10.11.2 (15C50). After devtool index.js
Electron icon appears in tray, but the app has no available windows.
from devtool.
No difference with latest version
cd /path/to/devtool
npm i --save electron-prebuilt@latest
devtool # still nothing
Putting various console.log in server.js
I'm not really sure what happens wrong. I can only say that this line is reached twice (console.log shown twice) but I'm not even sure if it's relevant or not. I'll need time and/or hints to dig deeper ;)
from devtool.
You can try redirecting console and quitting on error:
devtool index.js -c -q
I will hunt around for a failing computer and see if I can reproduce.
from devtool.
Also happened to me, redirecting to console any console.log appeared fine , also putting a debug statement breaks correctly, but not window is shown
BTW no errors
from devtool.
Some error after simple installation on Ubuntu (With VirtualBox)
$ devtool
pci id for fd 15: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
[8871:0120/170708:ERROR:buffer_manager.cc(342)] [GroupMarkerNotSet(crbug.com/242999)!:D06E021D8F330000]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
[8871:0120/170709:ERROR:texture_manager.cc(1995)] [GroupMarkerNotSet(crbug.com/242999)!:D062021D8F330000]GL ERROR :GL_INVALID_ENUM : glTexImage2D: <- error from previous GL command
from devtool.
Having the same issue on Windows 10 with Node v5.4.1. Running devtool
launches 4 Electron processes but nothing is shown. Redirecting the console displays console logs correctly but did not break on a debugger
statement. Showing the browser window devtool -s
allows me to access a console tab and use as a REPL but, again, doesn't break on debugger
statements.
from devtool.
Those experiencing trouble, please try the -s
or --show
flag to see if the DevTools opens:
devtool --show
It seems on some systems, Electron won't open the DevTools unless the main window is also shown. I wrote a patch which may fix this in 1.2.2
, but it will still show a very small window on some systems (Windows).
I'll put together a test case and open a new issue in Electron for this.
@MCluck90 You may need to reload (Cmd + R / Ctrl + R) after opening the window before break points / debugger starts working. (issue: electron/electron#2379)
If that isn't working, please open a new issue. 😄
@molokoloco It seems like you are having an unrelated issue.
from devtool.
@mattdesl That worked perfectly. Thanks! Also, thanks for making this. I'm sure it will come in handy. 😎
from devtool.
Another workaround is:
- Open devtool with -s or --show
- Detach the Developer Tool window from the main window (with the gear menu)
- Close it with window.close()
Now you can run devtool without -s or --show!! 😎😎😎
from devtool.
@manrueda and others who are testing on windows, I just pushed another fix at 1.3.0
to try and improve the window hiding (especially for Windows where a tiny window might appear). Please let me know if it's any better/worse. 😄
# install latest
npm install devtool -g
# should show just DevTool REPL
devtool
# should show browser window + DevTools
devtool -s
# should show just browser window
devtool -s -h
# should not show any GUI
devtool -h
from devtool.
Windows 10 here. The workaround worked and now the update has fixed it properly. Thanks!
from devtool.
@mattdesl With Windows 7, everything works great now. Except for devtool -h
, shows the tiny windows. But i can live with that haha
from devtool.
Cool, I will close this and revisit the Windows issues in another ticket. Thanks! 👍
from devtool.
@mattdesl Has this issue been patched? Im experiencing it on ubuntu 14.04 with node 4. Im trying to run some mocha tests through CI so the workarounds suggested here don't fit my use case. Are there any other known solutions that I can run with -h
?
from devtool.
Related Issues (20)
- Module version mismatch. Expected 50, got 51. HOT 5
- Fails on save when using mongoose 4.x with sub-documents
- Require hook for ts-node doesn't work HOT 3
- V8 flag `--expose-gc` causes whole config to silently fail
- Reload console on file change with --watch
- Windows 10: File /npm/node_modules/devtool/index.html not found HOT 1
- Add flag to disable process.exit() HOT 1
- impossible to inspect http requests
- Devtool Chrome debugger cannot find prototype closure functions
- Ignore files when using --watch HOT 5
- Devtools doesn't work with dynamic link libraries
- REPL :: On windows (10) i can't require modules from current working directory HOT 1
- Can you add docs on how to use this with jest? HOT 1
- Support more flags in devtoolrc
- install error HOT 1
- add support async/await HOT 3
- please update new electron version
- Unable to install
- devtool with expressjs, how to find script files?
- devtool/bin/spawn replacement in Node/DevTool? Looking for advice ... HOT 1
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 devtool.