-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Windows] Cannot open browser app #837
Comments
@UdoW, I would say you have a stale process running. You are on Windows, right? Could you please check the open ports and verify my assumption with Meanwhile, I try to collect the corresponding issues and thread from Gitter. |
I did not find the Gitter entry. Just this, but that is related to the WDIO. |
I do not have any node process running and it still does not work. |
Thanks for the feedback, I try to reproduce it right now.
As I see, you are have tried it on the HEAD of the master branch. I get back to you in 5 minutes or so... |
I can confirm, it works. See attached full console log. |
I have tried it with Chrome, but I'll give it a try with another browser. |
Meanwhile, you could perhaps attach your full console log to this issue too, so that we can investigate the problem. |
It works from Edge too. |
Ok, I will try it again with a console log. |
One thing to try too is with a browser window in private mode ? It's possible the workspace restore is having issues. With a private mode tab if the issue is not there it is most likely the restore. |
I tried with private mode but still the same error. |
I tried again with commit 2ceb174 and logged all output. And still the same error in the browser log: |
I see this:
Is that familiar to anyone ? |
Yes, it was always the case on Windows. See: https://github.com/theia-ide/theia/blob/c696ba2a99d643eba54052ba47880298224be67d/dev-packages/application-package/src/generator/webpack-generator.ts#L146 |
OK hard to tell what is going on :( Actually since this is a 404 @UdoW could you check the Network tab in the inspector and check what resource it's trying to fetch ? |
:( I don't see the 404 in the network window... is there one ? |
Hi Sven, probably this is the bug. I also have a file system here on Windows which ignores the case of fileames. |
Do you have a reference? I am not sure what you are referring to. |
This is the reference: webpack/webpack#4876 |
interesting that the difference is not in node_modules, but in the project location, i.e. !D:\Projekte vs !D:\projekte |
@UdoW could you do cd with the lower case path before running webpack? |
this issue seems to be similar: PatrickJS/PatrickJS-starter#926 |
I give it another try. I hope I can reproduce the defect. That is my plan:
|
Worked fine both from
Furthermore, could you please try to use only lower-case characters in your path? It is indeed not a possible fix, I am just still trying to narrow the cause of the issue. |
@UdoW, are there any updates on this thread? |
I am closing this. Please reopen, or create a follow up if the problem still present. |
When I start the browser app with http://localhost:3000 I get following error in the browser console:
(the browser window is black and shows my a waiting cursor - rotating points)
Uncaught TypeError: setImmediate is not a function
at triggerMessageQueue (main.js:231)
at StreamMessageReader.callback (main.js:280)
at StreamMessageReader.onData (messageReader.js:211)
at ReadableStream. (messageReader.js:176)
at ReadableStream.EventEmitter.emit (events.js:81)
at ReadableStream.Readable.read (_stream_readable.js:462)
at flow (stream_readable.js:806)
at emitReadable (_stream_readable.js:498)
at afterTickOne (index.js:23)
at Item.run (browser.js:153)
I get this in Chrome and Firefox.
My versions:
node: 8.9.0
yarn: 1.3.2
npm: 5.5.1
Git commit was: commit 2c8b92f
The text was updated successfully, but these errors were encountered: