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

@nx/vite/plugins/nx-copy-assets.plugin hangs vite on build #28771

Open
1 of 4 tasks
floratmin opened this issue Nov 3, 2024 · 0 comments
Open
1 of 4 tasks

@nx/vite/plugins/nx-copy-assets.plugin hangs vite on build #28771

floratmin opened this issue Nov 3, 2024 · 0 comments

Comments

@floratmin
Copy link

floratmin commented Nov 3, 2024

Current Behavior

When creating an app with @nx/web:application the nxCopyAssetsPlugin is added to the vite plugins. When I remove the plugin vite exits after building. Otherwise it does never exit.

Expected Behavior

Vite should exit after building.

GitHub Repo

https://github.com/floratmin/workspace-vanilla-css-vinxi-error

Steps to Reproduce

  1. nx build tool-app

Nx Report

 NX   Report complete - copy this into the issue template

Node           : 22.8.0
OS             : linux-x64
Native Target  : x86_64-linux
pnpm           : 9.9.0

nx (global)        : 20.0.7
nx                 : 20.0.7
@nx/js             : 20.0.7
@nx/jest           : 20.0.7
@nx/eslint         : 20.0.7
@nx/workspace      : 20.0.7
@nx/devkit         : 20.0.7
@nx/esbuild        : 20.0.7
@nx/eslint-plugin  : 20.0.7
@nx/node           : 20.0.7
@nx/playwright     : 20.0.7
@nx/rollup         : 20.0.7
@nx/storybook      : 20.0.7
@nx/vite           : 20.0.7
@nx/web            : 20.0.7
typescript         : 5.6.3
---------------------------------------
Registered Plugins:
@nx/vite/plugin
@nx/eslint/plugin
@nx/jest/plugin

Failure Logs

No response

Package Manager Version

pnpm 9.9.0

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant