You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with npm run start
and then opening any of the provided urls I try to open url in browser and get a blank page.
In log I have this:
> http-server dist
Starting up http-server, serving dist
Available on:
http://127.0.0.1:8080
http://127.94.0.1:8080
http://192.168.2.3:8080
Hit CTRL-C to stop the server
[Wed Mar 20 2019 21:51:45 GMT+0100 (CET)] "GET /" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36"
[Wed Mar 20 2019 21:51:45 GMT+0100 (CET)] "GET /" Error (404): "Not found"
[Wed Mar 20 2019 21:51:59 GMT+0100 (CET)] "GET /index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36"
[Wed Mar 20 2019 21:51:59 GMT+0100 (CET)] "GET /index.html" Error (404): "Not found"
[Wed Mar 20 2019 21:52:14 GMT+0100 (CET)] "GET /index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36"
[Wed Mar 20 2019 21:52:14 GMT+0100 (CET)] "GET /index.html" Error (404): "Not found"
node -v
v8.11.3
npm -v
6.8.0
The text was updated successfully, but these errors were encountered:
(node:75485) UnhandledPromiseRejectionWarning: SyntaxError: super() is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class? (13:6)
because of
export default class CounterElement {
/.../
constructor() {
super(); <-------- this call
this.clicks = 0;
this.value = 0;
}
Starting with
npm run start
and then opening any of the provided urls I try to open url in browser and get a blank page.
In log I have this:
node -v
v8.11.3
npm -v
6.8.0
The text was updated successfully, but these errors were encountered: