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. Please use a userland alternative instead. #5126

Open
jozefizso opened this issue Nov 23, 2024 · 1 comment
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins Needs: author feedback Waiting for author (creator) of Issue to provide more info Resolution: external Issue isn't related to the Office Add-ins platform, Office JavaScript APIs, or documentation

Comments

@jozefizso
Copy link

Your Environment

  • Platform [PC desktop, Mac, iOS, Office on the web]: Mac
  • Host [Excel, Word, PowerPoint, etc.]: Outlook
  • Office version number: -
  • Operating System: macOS 15
  • Browser (if using Office on the web): Safari

Expected behavior

The template for Office addin should work without deprecation warnings on dependencies.

Current behavior

Running new Office addin created by yo office wizard will result in this error:

(node:59732) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Steps to reproduce

  1. Follow the guide at https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/outlook-quickstart-yo
  2. Run project npm start
  3. Observe deprecation warnings in the console.

Useful logs

npm ls punycode
[email protected] /Users/izso/Developer/tmp/outlook-react-sentry
├─┬ [email protected]
│ └─┬ @typescript-eslint/[email protected]
│   └─┬ [email protected]
│     └─┬ [email protected]
│       └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └─┬ [email protected]
│       └── [email protected] deduped
└─┬ [email protected]
  └── [email protected]
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Nov 23, 2024
@exextoc exextoc added Needs: attention 👋 Waiting on Microsoft to provide feedback Area: Outlook Issue related to Outlook add-ins and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Nov 23, 2024
@exextoc exextoc self-assigned this Nov 23, 2024
@rkpathak
Copy link

@jozefizso This repo is for handling office-js issues only. For yo generator, can you post the question in https://github.com/OfficeDev/generator-office/issues

@rkpathak rkpathak added Resolution: external Issue isn't related to the Office Add-ins platform, Office JavaScript APIs, or documentation Needs: author feedback Waiting for author (creator) of Issue to provide more info and removed Needs: attention 👋 Waiting on Microsoft to provide feedback labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Issue related to Outlook add-ins Needs: author feedback Waiting for author (creator) of Issue to provide more info Resolution: external Issue isn't related to the Office Add-ins platform, Office JavaScript APIs, or documentation
Projects
None yet
Development

No branches or pull requests

3 participants