-
Notifications
You must be signed in to change notification settings - Fork 169
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
The node_modules deletion follows symbolic links #14138
Comments
Thanks for using Vaadin! We appreciate your help and we’ll take care of this as soon as possible. |
This PR could be related #12822 as starting point |
This is a known issue on windows that the symbolic link is followed see #11177 |
Fix removal of node_modules so that symlink and Windows junction directory contents are not deleted also. Fixes #14138
Fix removal of node_modules so that symlink and Windows junction directory contents are not deleted also. Fixes #14138 Closes #11177 Co-authored-by: caalador <[email protected]>
Fix removal of node_modules so that symlink and Windows junction directory contents are not deleted also. Fixes #14138 Closes #11177 Co-authored-by: caalador <[email protected]>
This ticket/PR has been released with Vaadin 23.2.0.beta1 and is also targeting the upcoming stable 23.2.0 version. |
This ticket/PR has been released with Vaadin 14.8.16. |
This ticket/PR has been released with Vaadin 22.0.21. |
This ticket/PR has been released with Vaadin 23.0.15. |
Describe the bug
When upgrading the Vaadin version (this happened while upgrading from 23.0.x to 23.1.3), the node_modules directory is deleted by Vaadin (I did not find the source of the deletion yet, could be caused by the gradle plugin, or vaadin dev tools), but the deletion follows symbolic links, that deletes the source code of local packages.
Expected-behavior
The deletion does not follow symbolic links, and instead removes the symbolic link itself
Reproduction
$PROJECT_DIR/package/npm-package
.package.json
file of the vaadin project, with the following format:$PROJECT_DIR/package/npm-package
directorySystem Info
The text was updated successfully, but these errors were encountered: