-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Needs: Author FeedbackIssues awaiting author feedbackIssues awaiting author feedbackapi: coreno-recent-activitytype: bug
Description
[REQUIRED] Environment info
firebase-tools: 13.13.3
Platform: Windows 10
node: 22.5.1
[REQUIRED] Test case
Trying to run emulator with this:
$ firebase --project demo-friendly-eats emulators:exec --import ./app-data-seed --ui 'ng serve'
(node:25952) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[REQUIRED] Steps to reproduce
Tried to run the firestore sample at quickstart firestore following directions. The npm script fails, I think it sees the deprecation as an error. I was able to start it using the previous command manually though.
Reading up a little it seems like the punycode module has been deprecated since node 7, but changed to a runtime warning as of node 21. I'm not sure where the node version
[REQUIRED] Expected behavior
Running with no errors or runtime warnings, running from npm script succeeds.
[REQUIRED] Actual behavior
There is a red runtime warning about punycode being deprecated, and I think it is what prevents the npm script from working:
"start": "npm run pre-build && firebase --project demo-friendly-eats emulators:exec --import ./app-data-seed --ui 'ng serve'",
nidegen, ian-sayles, gonzabt3, ben519, kawauso and 3 moredukesoftware and alecfilios
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackIssues awaiting author feedbackIssues awaiting author feedbackapi: coreno-recent-activitytype: bug