Terminal Stuck Loading GatsbyJS "Hello-World" starter website - terminal

I've been moving step-by-step (as a webdev newbie) through the GatsbyJS installation via the Terminal. All looked great, except the Terminal appears "stuck" and I'm not sure how to resolve (i.e. whether to close Terminal app or let the process continue). It's been over an hour without any change in the Terminal prompt. Please see screenshot for detailed info. Any help would be much appreciated.
screenshot: Current state of Terminal app:
screenshot: Message when trying to close Terminal app:

Your terminal is not stuck. Everything works as it should.
It is listening to code changes which enables hot reloading. This way you can change code and you see the changes almost instantly in your browser. This makes for a pleasant developer experience and is industry standard.
Beware the old times when you had to manually restart your server everytime you made the tiniest code change.
Try opening a browser with url http://localhost:8000. Change some text inside your index.js. You should see it reload in the browser.

Related

How do I stop a web browser from openning the same website everytime I start it?

Context: I have three web browsers installed on my Windows 10 computer which are Chrome, Firefox, and Opera.
Problem: Whichever browser I newly open, they all start with this website:http://007eecfcfedlkh.jumpkj.chuairan.com/index.html
How it happened: I clicked a link on a website yesterday and it automatically downloaded several applications and automatically installed themselves without showing any instructions to install them.
Thing I have tried: I have reset the browser On startup setting to open my homepage, but it still opens with the aforementioned weird URL.
Thing that may help: Opera browser is very considerate cause it has this option regarding the On startup setting, which is Ask me when Opera is started by a shortcut specifying an URL.
Analysis and need your help: Usually, I start a browser by clicking on the shortcut in Windows start menu, or the shortcut in desktop. This worked normally until the problem appeared. According to Thing that may help, this hostile URL must reside somewhere. Where can I find this unwelcoming shortcut on my computer? How come this shortcut can attach itself to every web browser on my computer? What is the next step I can do to resolve this problem? Is this kind of a virus?
Usually when that happens, you'll have to:
reset the browser settings (or at least reset the startup websites on settings)
go to the browser .exe, open it's properties and remove any flags that were added on the path.
I think you shoud uninstall these applications first.

Windows Terminal Azure Cloud shell display issue

In windows terminal (latest version) I am trying to open an Azure Cloud Shell. Functionality is working, however I am unable to read the display as when I set focus to the window, it becomes obscured (foreground shading is applied). When I select a different window, the terminal returns to normal.
Does anyone know how to change the theme to something useful or to turn off this foreground shading?
Regards
In writing out the bug as mentioned above I found I needed to delete my old settings file. Once I did this, and restarted terminal it started working.
I note when the azure shell is started, it briefly becomes transparent before updating itself.

Blazor app requires server restart every change I make

I'm developing on my localhost a new Blazor server-hosted app. I launch the template that it starts you out on... looks very nice. I change the text in the tag, refresh my browser... and no change. I refresh and refresh only to notice no change. Is something wrong?
Then I rebuild and rerun the app again and the change happened. Why do I have to restart the entire server for a small front-end change? I have to do this on every change I make? Even though the changes are for the front-end? If so, then the development experience for MVC apps is way better. I don't have to restart my server for changing the code for the front end.
I know dotnet watch exists, but it doesn't help. It still restarts the server for every change I make for the front-end. I have to wait like 10 seconds for just changing some CSS? Please tell me if I'm doing something wrong, or if this is by design.
Also, I tried the web-assembly version of Blazor. Same results.
I guess you are running the app with the debugger connected? this prevents the recompilation. You need to:
Press Ctrl-F5 to run the app without the debugger.
This should work on Windows using IIS, but on Mac "it's a bit more complex". According to a MSFT representative, they are planning on enabling this functionality for Mac users, but this info is already over a year old (from April 2020).
This issue still happens, and for me is a major downside. It doesn't make any sense to have to recompile entire project just because I changed some text on a page. If this is a design choice, it's doomed! Can't have a designer dependent on developers to recompile whenever a small change is required on simple html! Even if you change an element style you have to recompile!

VS2019 Live Share - is it possible to share console as well?

I worked on a Console Application with a friend today. Is it possible to share the default console during a Live Share session? What I mean is that we had to compile and run our program manually through the default Windows Terminal to see output(which wasn't the best idea, there was a ton of empty lines displayed every time we would input anything), and debugging was impossible because we just couldn't see the console (only the host could).
According to the docs, it's possible to share the terminal in both VS Code and Visual Studio, but I don't think there's a way to share the console that comes up when you debug a console app. The solution I see is simply sharing a terminal, running your app in it manually and if you want debugging, you can try attaching the VS debugger to the console app's process after you start it manually by following this guide.

Cannot start web-simulator on google actions for API.AI project

I am working on Google Cloud Platform to develop a project in API.AI, I have an integration (in API.AI) with Google Actions (for Google Home or Google Assistant), they provide me to see my progress as real time in web-simulator, that you can find here:
https://developers.google.com/actions/tools/web-simulator
I am trying to START the web-simulator clicking on START button, then I get a window pop-up but after open, it closes, I try and try again but I obtain the same result, I cannot open the web-simulator. I have allowed the popup windows in my browser.
Of course I have completed all steps to start web-simulator...
I don't know what is happening. Someone can help me? Thank you, have a good day.
First, are you using a compatible browser? Try it in Chrome if you're
not already using it, as Chrome is a Google product, and so is the
web simulator.
Next, are you using any Ad-Blockers or
Script-Blockers like NoScript? If so, try disabling them, as they
could interfere with the operation of the tool.
If it still doesn't work, try going to an Incognito Windows by pressing the
three dots button and opening a New Incognito Window. Go to the page, and log
in. This will ensure that no cookies are interfering.
At this point, if you're still having issues, try a different browser.
(Either Firefox or Opera)

Resources