ITADN

[DEP0205] DeprecationWarning: `module.register()` is deprecated

#2361Closedmynameistito 创建于 2026-05-10
pending-triage
M
mynameistitocommented
### Describe the bug I get this issue when doing `wxt` ``` (node:31020) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead. (Use `node --trace-deprecation ...` to show where the warning was created) ``` ### Reproduction no repro needed on windows 11 ### Steps to reproduce 1. Run `wxt` output: ``` (node:31020) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead. (Use `node --trace-deprecation ...` to show where the warning was created) ``` ### System Info ```shell System: OS: Windows 11 10.0.26200 CPU: (16) x64 AMD Ryzen 7 7700 8-Core Processor Memory: 13.06 GB / 31.11 GB Binaries: Node: 26.1.0 - C:\nvm4w\nodejs\node.EXE npm: 11.13.0 - C:\nvm4w\nodejs\npm.CMD pnpm: 10.33.0 - c:\Users\mynameistito\.local\share\pnpm\pnpm.CMD bun: 1.3.13 - C:\Users\mynameistito\.bun\bin\bun.EXE Deno: 2.7.14 - C:\Users\mynameistito\.cache\.bun\bin\deno.EXE Browsers: Chrome: 148.0.7778.97 Edge: Chromium (143.0.3650.66) Firefox: 150.0.2 - C:\Program Files\Mozilla Firefox\firefox.exe npmPackages: vite: ^8.0.11 => 8.0.11 wxt: ^0.20.25 => 0.20.25 ``` ### Used Package Manager bun ### Validations - [x] Read the [Contributing Guidelines](https://github.com/wxt-dev/wxt/blob/main/CONTRIBUTING.md). - [x] Read the [docs](https://wxt.dev/guide/installation.html). - [x] Check that there isn't [already an issue](https://github.com/wxt-dev/wxt/issues) that reports the same bug to avoid creating a duplicate. - [x] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/wxt-dev/wxt/discussions) or join our [Discord Chat Server](https://discord.gg/ZFsZqGery9). - [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug. *Happy to whip up an AI Assisted PR* :)
关闭于 2026-05-10 3 条评论