Comments (7)
Since nodejs got an exception it closed down and did not start the webserver and that is the reason for the localhost error.
For now kill all versions of nodejs and chrome that are running. I suspect you have both a windows installer deskshell and a source code deskshell and both are trying to use port 9223. To fix this edit bin/win/deskshell-env.js change the port from 9223 to 9224. That way the two versions of deskshell can run independently.
If this does not fix the problem comment again and we can try a different solution.
from appjs-deskshell.
Clarification: change port in deskshell-env.js for the source code version of deskshell.
from appjs-deskshell.
As a side note, i am using my freeport function in PHP to generate a new rdebug port. That way I never got an issue so far. Consider it becoming a setting to have a fixed or dynamic port? It'd be useful for apps that want to determine multiple instances, or something like that... just a random idea o.o
Am 03.10.2013 um 19:18 schrieb sihorton [email protected]:
Since nodejs got an exception it closed down and did not start the webserver and that is the reason for the localhost error.
For now kill all versions of nodejs and chrome that are running. I suspect you have both a windows installer deskshell and a source code deskshell and both are trying to use port 9223. To fix this edit bin/win/deskshell-env.js change the port from 9223 to 9224. That way the two versions of deskshell can run independently.
If this does not fix the problem comment again and we can try a different solution.
—
Reply to this email directly or view it on GitHub.
from appjs-deskshell.
I did that at first. The problem is when you launch multiple apps at the same time. The second app that runs ignores the debug port you gave to it and instead reuses the debug port you gave to the first app! This caused problems for me at first but now that is fixed by having one set debug port per chromium binary that is launched.
My guess in this case is that there is the windows installer deskshell installed with its chromium binary and then the checked out source code in a second folder with its chromium binary and both are trying to use same port. I have this setup on my windows dev machine. Solution is to change port for the source code version then both can run side by side. This solved problem for me -- to begin with I often got the same error reported here, now it launches every time.
Still we should copy your connection algorithm to windows port and then add better error handling - not so nice at the moment that we just crash.
from appjs-deskshell.
Still having some difficulty. Closed all versions of chrome and node.js.
When I restarted deskshell I looked at Task Manager and found 3x instances of Chrome.exe running and I didn't have any instances of chrome open.
So Deskshell starts but when I click on the demo button I get the error again. This might be due to the way I've pulled from the upstream repo ... let me start again
from appjs-deskshell.
I created a totally clean checkout of the source code and then I got the exact same issue. The problem was caused by a missing file if running from a github checkout. I added a simple test for that and now I no longer get the issue.
Please pull the latest changes from github to fix this issue.
from appjs-deskshell.
Thanks Simon. I'll test tonight Australian time.
On Oct 9, 2013 8:43 AM, "sihorton" [email protected] wrote:
I created a totally clean checkout of the source code and then I got the
exact same issue. The problem was caused by a missing file if running from
a github checkout. I added a simple test for that and now I no longer get
the issue.Please pull the latest changes from github to fix this issue.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-25934035
.
from appjs-deskshell.
Related Issues (20)
- Compiling Windows .exe stuck on compiling app.nsi HOT 12
- Chrome crashes when running the app
- Kiosk app .exe close button not working
- Use built-in webkit browser instead of using chrome HOT 1
- Portable Windows Hello World not running
- Local node_modules HOT 1
- Use Chromium instead of Chrome HOT 1
- Running Deskshell only runs a Chromium Browser HOT 1
- How to debug packaged executable? HOT 16
- Your website is broken HOT 13
- deskshell.exe source code HOT 1
- zip on website is broken
- How to Digitally sign the Package HOT 1
- Your website deskshell.org is offline... HOT 6
- socket.io.js not found HOT 1
- Downloads broken? HOT 7
- Creating an app with a static port?
- Would this work on a non-gui operating system ?
- Is this project still actively developed? HOT 2
- Nothing happens in deskshell 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 appjs-deskshell.