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

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

Closed
1 task done
await-ovo opened this issue Apr 21, 2022 · 1 comment · Fixed by #36330
Closed
1 task done
Labels
bug Issue was opened via the bug report template.

Comments

@await-ovo
Copy link
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
@await-ovo await-ovo added the bug Issue was opened via the bug report template. label Apr 21, 2022
@kodiakhq kodiakhq bot closed this as completed in #36330 Apr 21, 2022
kodiakhq bot pushed a commit that referenced this issue Apr 21, 2022
…6329) (#36330)

fix: #36329 



## Bug

- [x] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
@github-actions
Copy link
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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant