I'm trying to build an image on docker, but I'm getting the following error:
npm WARN deprecated crypto@0.0.3: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
npm WARN deprecated supertest-as-promised@4.0.2: SuperTest 2.0+ supports promises natively; use that instead!
npm WARN peerDependencies The peer dependency chai@^4.1.2 included from chai-properties will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN engine html-to-text@0.0.8: wanted: {"node":"~0.8.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm ERR! Linux 4.13.0-37-generic
npm ERR! argv "/root/.nvm/versions/node/v4.9.1/bin/node" "/root/.nvm/versions/node/v4.9.1/bin/npm" "install" "--prefix" "/registry-server"
npm ERR! node v4.9.1
npm ERR! npm v2.15.11
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package chai@3.5.0 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer chai-properties@1.3.0 wants chai@^4.1.2
npm ERR! Please include the following file with any support request:
npm ERR! /registry-server/npm-debug.log
The command '/bin/sh -c curl -o- https://cdn.rawgit.com/creationix/nvm/v0.33.2/install.sh | bash && bash -c 'source $HOME/.nvm/nvm.sh && nvm install 4 && nvm cache clear && npm install --prefix "/registry-server"'' returned a non-zero code: 1
Hello,
I'm trying to build an image on docker, but I'm getting the following error:
Any ideas on how to solve it?
Thank you!
Luis