Skip to content
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

DeprecationWarning: The punycode' module is deprecated. #967

Open
mrajancsr opened this issue Jul 20, 2024 · 1 comment
Open

DeprecationWarning: The punycode' module is deprecated. #967

mrajancsr opened this issue Jul 20, 2024 · 1 comment

Comments

@mrajancsr
Copy link

🐛 Bug Report

Unable to run LeetCode in VsCode in Mac. Im getting an error: (node:98899) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
(node:98899) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency

  • Waiting session result

To Reproduce

Install LeetCode in VsCode and run Submit or Test your current solution. The problem occurs when you try to test the solution

Expected behavior

Expected to see results from test cases

Extension Output

(node:99959) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
(node:99959) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency

  • Sending code to judge
    (node:99972) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
    (Use node --trace-deprecation ... to show where the warning was created)
    (node:99972) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
    [ERROR] session expired, please login again [code=-1]
  • Sending code to judge
    (node:207) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
    (Use node --trace-deprecation ... to show where the warning was created)
    (node:207) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
    [ERROR] session expired, please login again [code=-1]

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.

Your Environment

MacOS Ventura with M1 Max

  • os: MacOS Ventura M1 max Darwin ARm 64
  • extension settings:
  • nodejs version: 20.9.0
  • vscode version: 1.9.1.1
  • extension version:
@tomoyachen
Copy link
Contributor

The reason you cannot run the code properly is that your session has expired. Please refer to the ERROR section in the output for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants