Skip to content

[DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API #36329

Closed
@await-ovo

Description

@await-ovo
Contributor

Verify canary release

  • I verified that the issue exists in Next.js canary release

Provide environment information

$ npx --no-install next info

    Operating System:
      Platform: darwin
      Arch: x64
      Version: Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64
    Binaries:
      Node: 14.19.0
      npm: 6.14.16
      Yarn: 1.22.17
      pnpm: 7.0.0-alpha.2
    Relevant packages:
      next: 12.1.6-canary.4
      react: 18.0.0
      react-dom: 18.0.0

What browser are you using? (if relevant)

Version 100.0.4896.127 (Official Build) (x86_64)

How are you deploying your application? (if relevant)

No response

Describe the Bug

The deprecation warning for webpack appears when there is a compilation error:
Pasted Graphic copy

image

Expected Behavior

It should be possible to use webpack's moduleGraph API to avoid the warning

To Reproduce

  1. npx create-next-app@latest test-next-warning
  2. cd test-next-warning
  3. modify pages/index.js to manually add some syntax errors
  4. yarn dev
  5. visit localhost:3000 and you should see the warning in the terminal

Activity

added
bugIssue was opened via the bug report template.
on Apr 21, 2022
github-actions

github-actions commented on May 22, 2022

@github-actions
Contributor

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

locked as resolved and limited conversation to collaborators on May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @await-ovo

      Issue actions

        [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API · Issue #36329 · vercel/next.js