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

DirectAdmin cannot backup application due to hardlink in esbuild #3777

Closed
JelleTempelman opened this issue May 23, 2024 · 2 comments
Closed

Comments

@JelleTempelman
Copy link

JelleTempelman commented May 23, 2024

Hi all.

I'm running a couple of Laravel applications on my DirectAdmin server. Today I found out that my applications are not backed-up because DirectAdmin tells me "User ### has one or more hard links in their path:"

/home/###/domains/###/public_html/node_modules/@esbuild/linux-x64/bin/esbuild
/home/###/domains/###/public_html/node_modules/esbuild/bin/esbuild

Is there a way to fix this?

@evanw
Copy link
Owner

evanw commented May 24, 2024

Isn't this a question for DirectAdmin? The problem is not that esbuild has a bug, but that it sounds like DirectAdmin doesn't currently support backing up certain file system features.

You could try to work around this with npm ci --ignore-scripts. That won't run esbuild's install script, which won't optimize the esbuild package with a hard link. The only drawback is that running esbuild may be slightly slower.

@evanw
Copy link
Owner

evanw commented Jun 8, 2024

I'm closing this as this isn't a problem with esbuild.

@evanw evanw closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2024
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

2 participants