-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twilio CLI prints punycode module deprecation warning on every launch #560
Comments
The installation docs state that the Twilio CLI only supports Node.js 18, and there are some minor compatability issues with Node.js 21, which is what the `node` formula currently resolves to. See-also: twilio/twilio-cli#560
The installation docs state that the Twilio CLI only supports Node.js 18, and there are some minor compatability issues with Node.js 21, which is what the `node` formula currently resolves to. See-also: twilio/twilio-cli#560
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Still present. |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Still here. |
This is still an issue. However, I found a workaround in bitwarden/clients#6689 (comment)
this worked for me for the time being! thanks @kschat for this one |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Go away stale bot. An issue doesn't magically fix itself when no one replies. |
Looking at it now |
IIRC I worked around this by manually installing
|
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Has this been fixed? |
@tiwarishubham635 I submitted a PR back in November that fixes this (twilio/homebrew-brew#36). It's out of date now but could be trivially updated to work. Can we get some movement on this? |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Not stale and very annoying. Most annoying thing is that the fix is there for the taking (thanks @elyscape) but maintainers are nowhere to be seen. :( Oh and Twilio is a paid service so the gripe is warranted. |
Hi @elyscape! Since twilio-cli has moved completly to node18, I think this change should be good to go. Can you update your PR? I have checked it and will approve it right away. Sorry for the delay everyone. |
The installation docs state that the Twilio CLI only supports Node.js 18, and there are some minor compatability issues with Node.js 21, which is what the `node` formula currently resolves to. See-also: twilio/twilio-cli#560
@tiwarishubham635 PR updated. |
@elyscape - Your PR seems to have fixed it for me. I pinged @tiwarishubham635 to see if he can review and push the change. Thanks for your contribution! |
The installation docs state that the Twilio CLI only supports Node.js 18, and there are some minor compatability issues with Node.js 21, which is what the `node` formula currently resolves to. See-also: twilio/twilio-cli#560
Since the changes are pushed to homebrew repo, that should fix it. We can close this issue after the next release |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
1 similar comment
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
Issue Summary
When installed via Homebrew, all invocations of the Twilio CLI print a deprecation error.
Steps to Reproduce
twilio
commandLog
Technical Analysis
While the installation docs state that the Twilio CLI only supports Node.js 18, the Homebrew formula for the Twilio CLI depends on the
node
formula, which resolves to the current stable version of Node.js. At time of writing, that means version 21.2.0.Node.js' built-in
punycode
module was documented as deprecated in version 7.0.0, but for version 21.0.0 the deprecation was upgraded to a runtime deprecation. As a result, any code running on Node.js 21 that imports thepunycode
module will cause the runtime to log a deprecation warning.The long-term solution here is to figure out what library depends on the built-in
punycode
module and either get rid of it or upgrade it. However, the Homebrew formula should be updated to actually use the version of Node.js that you intend for it to support. That can be done by making it look something like this:Technical details:
The text was updated successfully, but these errors were encountered: