Skip to content

Doesnt work with Boot2Docker and latest node #14

@kevinduffey

Description

@kevinduffey

Unfortunately this does not work at all with the newer version of Docker for mac/windows and boot2docker.iso as it uses the AUFS file system. The issue happens to deal with the way the fs.rename call is implemented... or something like that. The fix seems to be some how forcing a different storage option but I cant seem to do that on Mac with Boot2Docker.

npm ERR! Linux 4.1.13-boot2docker
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "npm" "--prefix=/usr/local"
npm ERR! node v5.4.1
npm ERR! npm v3.3.12
npm ERR! path /usr/local/lib/node_modules/npm
npm ERR! code EXDEV
npm ERR! errno -18
npm ERR! syscall rename

npm ERR! EXDEV: cross-device link not permitted, rename '/usr/local/lib/node_modules/npm' -> '/usr/local/lib/node_modules/.npm.DELETE'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions