programmingtil-webgl icon indicating copy to clipboard operation
programmingtil-webgl copied to clipboard

error on second video

Open amybraswell opened this issue 3 years ago • 1 comments

Hi David, This looks like an amazing video series and is exactly what I am looking for! However, it looks like glUtils has an error somewhere. The server will start without any issue but cmd-clicking to open http://localhost:8080/ returns the following error in the Terminal: Thrace:0002-context-attributes Thrace$ http-server Starting up http-server, serving ./ Available on: http://127.0.0.1:8080 http://10.1.10.103:8080 Hit CTRL-C to stop the server [2021-05-02T17:45:25.772Z] "GET /vendor/js/signals.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36" (node:59285) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated [2021-05-02T17:45:25.785Z] "GET /vendor/js/signals.js" Error (404): "Not found"

Can you please help me move past this? I would love to work through your videos!!!

Thank you! Amy

amybraswell avatar May 02 '21 17:05 amybraswell

Sorry, just now seeing this @amybraswell .

When you start your server, are you in the directory of episode 2 itself?

You should be :

/programmingtil-webgl/0002-context-attributes$ http-server

Then, when you open your browser, it would have everything it needs.

Alternatively, just clone the full repo, then from the root of the directory you can run http-server there, then in the browser open to localhost:8080 and click on the link for each episode and they'll work.

davidwparker avatar Jun 22 '21 01:06 davidwparker