crbug/1173575, non-JS module files deprecated.
This error I am facing whenever I try to run my HTML file in vs code to see it's output.
And also My chrome is not connected, it shows that localhost refuse to connect.
Related
<!DOCTYPE html>
<html>
<head></head>
<body>
<button>Hello</button>
</body>
</html>
Running this code from VSCode on my M1 Air yields either this:
..or a completely blank page.
What am I doing wrong? Was working, but then I accidentally clicked "run" on a .css file instead of my .html file, and it broke.
You can just open your .html file by double-clicking on it from your file browser.
Or if you want to serve it locally, you can use an extension like Live server. And then from your Editor, you can click on "Go Live"
Then this would show that your local server is running on a port like here it's 5500
Then the extension should open a new tab in your browser to http://127.0.0.1:5500/FILENAME.html.
If you don't want to use this VS Code extension, you can try other alternatives like browsersync.
localhost refused to connect.
is an error message that typically appears when there is a problem with the connection between Visual Studio Code (VSCode) and the localhost server. This can happen for a number of reasons, but some common causes include:
The localhost server is not running or is not configured properly.
There is a problem with the network connection, such as a firewall blocking the connection.
There is an issue with the code or configuration of the HTML file in VSCode.
To troubleshoot this issue, you can try the following steps:
Check that the localhost server is running and configured correctly.
Check your network connection and ensure that any firewalls or antivirus software are not blocking the connection.
Check your HTML code and configuration in VSCode to ensure that there are no syntax errors or other issues that might be causing the problem.
Make sure that the chrome browser is in the updated version.
Check the port number if it is configured correctly in your code, if not change it to the correct port number.
Open your .html file by double-clicking on it from your file browser or right click context menu and then open with option, choose a browser option.
Use Live Server VS Code Extension or BrowserSync Extenstion.
If the problem persists, you can also try running the HTML file in a different browser or using a different localhost server to see if that resolves the issue.
This is a simple index.Html file, when i click on run i get the attached screen.
I have included the Json configuration.
The previous posts did not resolve my issue, and i did restart the machine as well as running VS Code as an admin. VS Code Error
installed Extensions
This happening because of your firewall setting restriction. please
Try Live Server Extension AND check for Firewall Settings.
Plain HTML/CSS can be opened as a file, no need to run them through a web server.
And if these procedures didn't work tell me about your browser.
I'm trying to run polymer on a local machine with XAMPP but, it seems like it can't run it,
It shows nothing ,but when I inspect console on the page in browser , it's giving this error :
Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///C:/Users/Home/Desktop/polymer/iron-component-page/iron-component-page.html
I'm using XAMMP on windows (Apache port : 80)
Move your project into the XAMMP htdocs folder and you will able to use it from the http://localhost/myproject address. The file:// protocol is not for the web.
If you polyserve it then the url should be: http://localhost:8080/ or any port what you defined with -p.
I have deployed my xampp server to the Google cloud using bitnami tutorial. The next day when I try to access
127.0.0.1:8888/phpmyadmin/
I can't seem to. I initiated ssh using puTTy and I have the welcome page like so. I am getting the "Unable to connect" generic response from firefox. And I am getting "the remote device or resource cannot accept connection" in IE. Is there any way to debug this?
Update: I added the my.cnf file in mysql folder in the cloud. Are the configurations right?
This is my log file image.
Here serverip/xampp/ shows that mysql is deactivated
I'm running activator h2-browser command in a ubuntu 14.04 system in a directory containing associated files of a play framework project. when that command is executed my web application is running on localhost:9000. after running activator h2-browser in the root directory of my project I get the following message in terminal:
[info] Loading project definition from /XXXX/project
[info] Set current project to XXXX (in build file:/XXX/)
TCP server running at tcp://127.0.1.1:9092 (only local connections)
PG server running at pg://127.0.1.1:5435 (only local connections)
Web Console server running at http://127.0.1.1:8082 (only local connections)
after executing that command 127.0.1.1:8082 is opened. I expect to see the h2-browser but actually I get The connection was reset on firefox.
how can I possibly fix it?
Mine worked just as said in documention:
You can browse the contents of your database by typing h2-browser at the play console. An SQL browser will run in your web browser.
To get into play console, I tried activator first and then at the prompt, entered h2-browser.
Running activator h2-browser
has the same effect for me as for the OP. I also tried following the statement on the documentation, so I tried to get into play console by typing "activator", but that seems to start the application and leaves me with three [info]s, the last being
a.e.s.Slf4jLogger - Slf4jLogger started
and no way to enter h2-browser.
Edit: The answer was already posted here! Continuous mode did it for me.