Web Server for Chrome no longer supported on chrome

When I install Web Server for Chrome, it says this extension is no longer supported on chrome

3 Likes

Hi Sukses,

You are right, but if you download buckets editor you don’t need the chrome extension. Buckets actually comes with a builtin web server. All you need to do is open the html in the editor and click on the run button on the top right corner.
Please see the screenshot

Let me know if you still want more help

-Ghazi

4 Likes

does not work for me, just a blank white page. I do everything exactly the same.

We can also use VS Code

  • Install extensions for Web Live Server
  • Change settings inside extension for Chrome as default
  • Open the html file with Live Code
1 Like

The same for me. Even with both method, it’s still a white page.
Could you help me ?

1 Like

It’s white page becauase the html code isn’t supposed to show anything → white page.
However, if you go to inspect and ‘console’ , you should see your training steps.

As we all know, “Reading: Using the Web Server” is outdated, since the Web Server for Chrome is not supported anymore on “chrome://apps/”. Here is an alternative:

  1. Open command prompt (aka Power Shell)
  2. Type cd <path in which HTML file is located> (OPTIONAL step, if you specify --directory later)
  3. Type the following command and hit enter (127.0.0.1 address by default, 8000 is port number by default, see python -m http.server --help):
    python -m http.server --bind 127.0.0.1 --directory "." 8887
  4. Open browser and enter:
    localhost:8887
    OR
    http://127.0.0.1:8887
  5. Open and use HTML file in the browser. Open “Browser Console” on Firefox: CTRL + SHIFT + J. Switch to “Browser Console Mode” “Multiprocess”. Refresh the page, if needed. EDIT: Firefox does not work for “Programming Assignment: Week 2 - Fashion MNIST Classifier” (accuracy does not increase), use Chrome instead.
  6. Close HTML file in the browser, and hit CTRL+C in Power Shell to stop the server.

A couple more recommendations:

  1. Replace
    <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest"></script>
    with
    <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest/dist/tf.min.js"></script>
  2. Add <!DOCTYPE html> line before <html> line.
2 Likes

hi, Ghazi, I can not open live server on bracket, this is the error

I have relaunch chrome many time but still error

Hello,

Please refer the below post comment

Regards
DP

That’s this extension if using VS Code