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

vite optimize --force freezes because of checker #378

Open
2 tasks done
Khavrolev opened this issue Jul 29, 2024 · 0 comments
Open
2 tasks done

vite optimize --force freezes because of checker #378

Khavrolev opened this issue Jul 29, 2024 · 0 comments

Comments

@Khavrolev
Copy link

Khavrolev commented Jul 29, 2024

Describe the bug

I've recently added vite-plugin-checker into our project, it works fine during development, but it leads to an infinite freeze during link an external lib:
yarn link @fleet/shared && yarn add @fleet/shared && vite optimize --force

I use the simple configuration:

checker({
  typescript: true,
}),

When I set typescript to false, it works fine. But I can't find a way, how I can turn the checker off during the link process

Reproduction

  1. Add an external lib to the project;
  2. Add vite-plugin-checker with the simple typescript configuration;
  3. Try to link the external lib;
  4. See the freeze.

Expected behavior

  1. Add an external lib to the project;
  2. Add vite-plugin-checker with the simple typescript configuration;
  3. Try to link the external lib;
  4. See the end of the link process

System Info

System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M1 Pro
    Memory: 53.92 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.17.1/bin/npm
  Browsers:
    Chrome: 126.0.6478.185
    Safari: 17.5

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant