-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
[REQUIRED] Environment info
firebase-tools:
13.8.3
Platform:
Ubuntu 22.04
[REQUIRED] Test case
No project code necessary for repro
[REQUIRED] Steps to reproduce
$ uname -a
Linux my-desktop 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$ brew install firebase-cli
$ firebase init
Select: Hosting
$ firebase serve --only hosting
Then visit http://localhost:5000/ in browser
[REQUIRED] Expected behavior
i hosting[my-project]: Serving hosting files from: public
✔ hosting[my-project]: Local server: http://localhost:5000
In browser: a proper welcome page
[REQUIRED] Actual behavior
(node:104968) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
i hosting[my-project]: Serving hosting files from: public
✔ hosting[my-project]: Local server: http://localhost:5000
TypeError: Cannot read properties of undefined (reading 'getTime')
at Responder.provider (/home/linuxbrew/.linuxbrew/Cellar/firebase-cli/13.8.3/libexec/lib/node_modules/firebase-tools/node_modules/superstatic/lib/providers/fs.js:89:38)
at async Promise.all (index 0)
i hosting: 127.0.0.1 - - [13/May/2024:14:34:57 +0000] "GET / HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
In browser: "Unexpected error occurred."
cpeisert, apippo, gkalpak, alexykot, larshappel and 20 moreEmilioNicolasEmilioNicolas, F46y and abinmittu