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

[Bug?]: Build hangs with yarn pnp and fork-ts-checker-webpack-plugin #4219

Closed
1 task
DiFuks opened this issue Mar 14, 2022 · 1 comment
Closed
1 task

[Bug?]: Build hangs with yarn pnp and fork-ts-checker-webpack-plugin #4219

DiFuks opened this issue Mar 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@DiFuks
Copy link

DiFuks commented Mar 14, 2022

Self-service

  • I'd be willing to implement a fix

Describe the bug

When I run a build with yarn pnp (and pnpEnableEsmLoader: true) the process hangs

To reproduce

  1. Install yarn 3 with pnp
  2. Install webpack 5
  3. Install fork-ts-checker
  4. Run webpack build

https://github.com/DiFuks/yarn-pnp-fork-ts-checker-stuck

fork-ts 6
pnpEnableEsmLoader: true in .yarnrc.yml
webpack --mode=production work
webpack --mode=development does not work
webpack serve --mode=development work

https://github.com/DiFuks/yarn-pnp-fork-ts-checker-stuck/tree/fork-ts-checker-7

fork-ts 7
pnpEnableEsmLoader: true in .yarnrc.yml
webpack --mode=production does not work
webpack --mode=development does not work
webpack serve --mode=development does not work

https://github.com/DiFuks/yarn-pnp-fork-ts-checker-stuck/tree/pnp-enable-esm-loader-false

fork-ts 7
pnpEnableEsmLoader: false in .yarnrc.yml
webpack --mode=production work
webpack --mode=development work
webpack serve --mode=development work

Environment

System:
  OS: macOS 12.2
  CPU: (8) arm64 Apple M1
Binaries:
  Node: 16.13.0 - /private/var/folders/4h/zrskgtqd4_jfnl8w_87ldvzw0000gn/T/xfs-7c257e56/node
  Yarn: 3.2.0 - /private/var/folders/4h/zrskgtqd4_jfnl8w_87ldvzw0000gn/T/xfs-7c257e56/yarn
  npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm

Additional context

Issue in forkTsChecker repo TypeStrong/fork-ts-checker-webpack-plugin#719

@DiFuks DiFuks added the bug Something isn't working label Mar 14, 2022
@merceyz
Copy link
Member

merceyz commented Mar 14, 2022

Duplicate of #4157

@merceyz merceyz marked this as a duplicate of #4157 Mar 14, 2022
@merceyz merceyz closed this as completed Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants