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

Create fails when /tmp is on a different filesystem than /home #19

Open
macdonst opened this issue Oct 11, 2023 · 0 comments
Open

Create fails when /tmp is on a different filesystem than /home #19

macdonst opened this issue Oct 11, 2023 · 0 comments
Assignees

Comments

@macdonst
Copy link
Contributor

npx "@enhance/cli@latest" new ./test-project -y
Error: EXDEV: cross-device link not permitted, rename '/tmp/0053605a-ed57-46bd-975a-0ea0d25fe64e/package' -> '/home/test-user/test-project'
it's a new directory
at createProject (file:///home/johan/.npm/_npx/3ac2b0dd91c96861/node_modules/@enhance/create/create-project.js:60:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports (/home/johan/.npm/_npx/3ac2b0dd91c96861/node_modules/@enhance/cli/src/commands/new/action.js:36:5)
    at async runCommand (/home/johan/.npm/_npx/3ac2b0dd91c96861/node_modules/@enhance/cli/src/commands/index.js:57:22)
    at async enhance (/home/johan/.npm/_npx/3ac2b0dd91c96861/node_modules/@enhance/cli/src/index.js:37:5) {
  errno: -18,
  syscall: 'rename',
  code: 'EXDEV',
  path: '/tmp/0053605a-ed57-46bd-975a-0ea0d25fe64e/package',
  dest: '/home/test-user/test-project'
}
Error: Existing Enhance app already found in this directory
macdonst added a commit that referenced this issue Oct 11, 2023
Signed-off-by: macdonst <simon.macdonald@gmail.com>
@macdonst macdonst self-assigned this Oct 11, 2023
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