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

fix EXDEV error on cross-device move during fxlens update #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

digitallyserviced
Copy link

update to copy, then rm instead of move since tmp is usually a separate mount and fs type on linux. other OS should remain unaffected

Error: EXDEV: cross-device link not permitted, rename '/tmp/fxhash-cli/build' -> '/usr/local/lib/node_modules/fxhash/node_modules/@fxhash/cli/static/fxlens'
    at Object.renameSync (node:fs:1042:3)
    at Object.update (/usr/local/lib/node_modules/fxhash/node_modules/@fxhash/cli/dist/chunk-73KLPOU4.js:183:18)
    at async /usr/local/lib/node_modules/fxhash/node_modules/@fxhash/cli/dist/chunk-73KLPOU4.js:44:23
    at async Object.step (/usr/local/lib/node_modules/fxhash/node_modules/@fxhash/cli/dist/chunk-2YPNYSAB.js:101:19)
    at async /usr/local/lib/node_modules/fxhash/node_modules/@fxhash/cli/dist/chunk-73KLPOU4.js:42:32
    at async Promise.all (index 0)
    at async updateToolkit (/usr/local/lib/node_modules/fxhash/node_modules/@fxhash/cli/dist/chunk-73KLPOU4.js:27:10)
    at async Object.handler (/usr/local/lib/node_modules/fxhash/node_modules/@fxhash/cli/dist/chunk-NBWEXRVY.js:98:7) {
  errno: -18,
  syscall: 'rename',
  code: 'EXDEV',
  path: '/tmp/fxhash-cli/build',
  dest: '/usr/local/lib/node_modules/fxhash/node_modules/@fxhash/cli/static/fxlens'
}
❗ EXDEV: cross-device link not permitted, rename '/tmp/fxhash-cli/build' -> '/usr/local/lib/node_modules/fxhash/node_modules/@fxhash/cli/static/fxlens'

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

Successfully merging this pull request may close these issues.

1 participant