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

docker-compose up fails with npm error, "cross-device link not permitted" #151

Open
digitalronin opened this issue Sep 13, 2017 · 0 comments

Comments

@digitalronin
Copy link

I'm trying to work through the guide, but getting an npm error from docker-compose up;

npm ERR! EXDEV: cross-device link not permitted, rename '/opt/nodejs/lib/node_modules/npm/node_modules/abbrev' -> '/opt/nodejs/lib/node_modules/npm/node_modules/.abbrev.DELETE'

This is the full output. Does anyone know what's going on?

$ docker-compose up
Building app
Step 1/6 : FROM quay.io/ukhomeofficedigital/nodejs-base:v6.9.1
 ---> bc1406475e6f
Step 2/6 : RUN mkdir /public
 ---> Using cache
 ---> 34ca74eb5432
Step 3/6 : RUN yum clean all &&   yum update -y -q &&   yum install -y -q git &&   yum clean all &&   rpm --rebuilddb &&   npm install -g npm@latest --loglevel warn
 ---> Running in 379b5ffb014e
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up everything
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /etc/shadow created as /etc/shadow.rpmnew
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
install-info: No such file or directory for /usr/share/info/gnupg.info
/var/tmp/rpm-tmp.xd8Zad: line 1: /etc/sysconfig/network-scripts/network-functions: No such file or directory
warning: %triggerin(systemd-219-30.el7_3.9.x86_64) scriptlet failed, exit status 1
Non-fatal <unknown> scriptlet failure in rpm package systemd-219-30.el7_3.9.x86_64
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up everything
Cleaning up list of fastest mirrors
- [email protected] node_modules/npm/node_modules/asap
- [email protected] node_modules/npm/node_modules/fstream
- [email protected] node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- [email protected] node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- [email protected] node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion
- [email protected] node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch
- [email protected] node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore
- [email protected] node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- [email protected] node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- [email protected] node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- [email protected] node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch
- [email protected] node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/path-is-absolute
- [email protected] node_modules/npm/node_modules/init-package-json/node_modules/glob
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/are-we-there-yet
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/console-control-strings
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-color
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/object-assign
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/signal-exit
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/wide-align
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/set-blocking
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/npmlog
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node_modules/ms
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/node_modules/es6-iterator
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/d
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/path-array
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/util-deprecate
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/are-we-there-yet
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/console-control-strings
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/has-color
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/object-assign
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/signal-exit
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/wide-align
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/set-blocking
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog
- [email protected] node_modules/npm/node_modules/npm-registry-client/node_modules/retry
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/has-color
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan
- [email protected] node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- [email protected] node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- [email protected] node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- [email protected] node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch
- [email protected] node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/path-is-absolute
- [email protected] node_modules/npm/node_modules/read-package-json/node_modules/glob
- [email protected] node_modules/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror/node_modules/jju
- [email protected] node_modules/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror
- [email protected] node_modules/npm/node_modules/readable-stream/node_modules/buffer-shims
- [email protected] node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is
- [email protected] node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray
- [email protected] node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args
- [email protected] node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder
- [email protected] node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate
- [email protected] node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream
- [email protected] node_modules/npm/node_modules/request/node_modules/bl
- [email protected] node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/commander
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie
- [email protected] node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise
- [email protected] node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519
- [email protected] node_modules/npm/node_modules/request/node_modules/node-uuid
- [email protected] node_modules/npm/node_modules/tar/node_modules/block-stream
- [email protected] node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/node_modules/spdx-exceptions
- [email protected] node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/node_modules/spdx-license-ids
- [email protected] node_modules/npm/node_modules/fstream-npm
- [email protected] node_modules/npm/node_modules/normalize-git-url
- [email protected] node_modules/npm/node_modules/realize-package-specifier
/opt/nodejs/lib
`-- (empty)

npm ERR! Linux 4.9.38-moby
npm ERR! argv "/opt/nodejs/bin/node" "/opt/nodejs/bin/npm" "install" "-g" "npm@latest" "--loglevel" "warn"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! path /opt/nodejs/lib/node_modules/npm/node_modules/abbrev
npm ERR! code EXDEV
npm ERR! errno -18
npm ERR! syscall rename

npm ERR! EXDEV: cross-device link not permitted, rename '/opt/nodejs/lib/node_modules/npm/node_modules/abbrev' -> '/opt/nodejs/lib/node_modules/npm/node_modules/.abbrev.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!     /app/npm-debug.log
npm ERR! code 1
ERROR: Service 'app' failed to build: The command '/bin/sh -c yum clean all &&   yum update -y -q &&   yum install -y -q git &&   yum clean all &&   rpm --rebuilddb &&   npm install -g npm@latest --loglevel warn' returned a non-zero code: 1
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