After pushing to Heroku and viewing from other computers, the photos load fine except for still on my main work machine. You'll need to switch back and forth as you go from working directly in electron and working on dev server The reason i do this is to do css work, I find the dev server faster and more stable It's because of your all files are being served from the local file system rather than the relative app path. On my site, there are 5 functions that are called every 10 seconds. I've included my har file. That's when I started to make some progress.
No error is shown but livereload still doesn't work. I decreased security level in one router but in vain. The console clearly shows the error message. The solution is to intercept the file protocol. After these first two errors, the requests begin to process normally again rows with black text, after rows with red text.
Have a question about this project? I switched my configuration from url to file and it's now working. Finally, I would rather clear cache before testing in different machines. This caused that the content was compressed twice which cannot be handled by the client. How to overcome this issue? There aren't many things that can go wrong with the limited code in my practice application, but still, the connection isn't opening. Have a question about this project? Whether there are spaces in the pathname or not makes no difference. But if you're using the script like I am above, that's not necessary.
Once I added file-loader to my project, I started getting this issue again. See if you can reproduce using this simple test case. The verbose log is copied below. If you launch Chrome with the flag --allow-file-access-from-files it will allow local files to work. I am using Windows 10. The solution is to intercept the file protocol. Have a question about this project? Could anyone please explain me what went wrong and also solution too test.
Here is a screenshot of the Chrome Developer Tools log showing the error. Here's a copy of my home component ts file. Do following changes in main. I am behind proxy but localhost is excluded. Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Angular is running in the development mode. The breakthrough occured when I followed john ktejik's directives: I came to realize that the involved resource was encompassed within a. I've tried literally everything, I've rearranged my startup file added cors policy, seriously in a bind. Finally, I found out that the problem was caused by double compression performed by confluence and apache2. If I use Firefox instead of Chrome + the script tag approach, it doesn't show any error but livereload still doesn't work. I've even used netstat to check if port 35729 is being used it's not , and tried changing the port in the script tag, always get the same error. My Startup file is pretty generic aswell, with cors, referencing app.
I've finally solved the issue. My chat hub send method returns void. I'm trying to figure out what else might be involved here. That's where the next 2 requests are errors in red. The official LiveReload plugin has an option to allow local file access, which needs to be enabled under your extensions.
Turning-off compression in the confluence web application solved the problem for me, as described. I'm developing Web app in Yii framework. If you make this change and want to run a webpack dev server this change will confuse it. Is it enabled through some advanced browser setting? Call enableProdMode to enable the production mode. I'm guessing I don't have it enabled? In some posts users said use Ctrl+ Shift+ N and try it. So, I read all of these topics and applied all solution tips. Does anyone have any advice, or next steps to try? It sucks to lose that convenience, hope we can figure this out.