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

Error: EXDEV: cross-device link not permitted #107

Open
levensailor opened this issue Jul 5, 2018 · 1 comment
Open

Error: EXDEV: cross-device link not permitted #107

levensailor opened this issue Jul 5, 2018 · 1 comment

Comments

@levensailor
Copy link

[-] Building Meteor application...

Even with METEOR_ALLOW_SUPERUSER or --allow-superuser, permissions in your app
directory will be incorrect if you ever attempt to perform any Meteor tasks as
a normal user. If you need to fix your permissions, run the following command
from the root of your project:

sudo chown -Rh .meteor/local

/root/.meteor/packages/coffeescript/.1.12.3_1.cx68b6++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:190
throw error;
^

Error: EXDEV: cross-device link not permitted, rename '/opt/meteor/dist/bundle' -> '/opt/meteor/dist/bundle-garbage-2gj4g5'
at Error (native)
at Object.fs.renameSync (fs.js:681:18)
at Object.wrapper [as rename] (/tools/fs/files.js:1535:35)
at Object.files.renameDirAlmostAtomically (/tools/fs/files.js:965:11)
at Builder.complete (/tools/isobuild/builder.js:687:13)
at /tools/isobuild/bundler.js:2492:13
at /tools/isobuild/bundler.js:2399:7
at /tools/isobuild/bundler.js:2800:22
at /tools/utils/buildmessage.js:271:13
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:264:29
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:262:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:253:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.capture (/tools/utils/buildmessage.js:252:19)
at bundle (/tools/isobuild/bundler.js:2633:31)
at /tools/isobuild/bundler.js:2580:32
at Object.withCache (/tools/fs/files.js:1601:12)
at Object.exports.bundle (/tools/isobuild/bundler.js:2580:16)
at buildCommand (/tools/cli/commands.js:952:30)
at Command.func (/tools/cli/commands.js:827:12)
at /tools/cli/main.js:1483:23
The command '/bin/sh -c cd $APP_SOURCE_DIR && $BUILD_SCRIPTS_DIR/install-deps.sh && $BUILD_SCRIPTS_DIR/install-node.sh && $BUILD_SCRIPTS_DIR/install-phantom.sh && $BUILD_SCRIPTS_DIR/install-graphicsmagick.sh && $BUILD_SCRIPTS_DIR/install-mongo.sh && $BUILD_SCRIPTS_DIR/install-meteor.sh && $BUILD_SCRIPTS_DIR/build-meteor.sh && $BUILD_SCRIPTS_DIR/post-build-cleanup.sh' returned a non-zero code: 1
ERROR: Job failed: exit code 1

@maurice-schleussinger
Copy link

See #19:

This appears to finally be fixed by Meteor >= 1.4.4. I'm going to close this issue, but feel free to reopen it if you ever run into the problem again.

Are you working with Meteor < 1.4.4.? You can check this in .meteor/release. Had the exact same issue and it worked fine with v. 1.6.x..

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