Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Cannot install: “Permission denied (publickey).” and other errors #500

Closed
progval opened this issue Sep 16, 2016 · 2 comments
Closed

Comments

@progval
Copy link

progval commented Sep 16, 2016

 ipfs@particle  ~  LANG=C npm install ipfs --save
npm WARN engine hapi@15.0.3: wanted: {"node":">=4.5.0"} (current: {"node":"4.3.1","npm":"1.4.21"})
npm WARN engine shot@3.3.2: wanted: {"node":">=4.5.0"} (current: {"node":"4.3.1","npm":"1.4.21"})
npm WARN deprecated lodash.contains@2.4.3: This package has been discontinued in favor of lodash.includes@^4.0.0.
npm WARN deprecated pull@2.1.1: unmaintained
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib Cloning into bare repository '/home/ipfs/.npm/_git-remotes/git-github-com-github-ipfs-browserify-zlib-c401cb77'...
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib Permission denied (publickey).
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib 
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib Please make sure you have the correct access rights
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib and the repository exists.
npm ERR! tar.unpack untar error /home/ipfs/.npm/libp2p-swarm/0.23.0/package.tgz
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-webrtc-star/dist/index.js.map'
npm ERR!     at Error (native)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-webrtc-star/dist/index.js.map
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-websockets/node_modules'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  libp2p-ipfs-browser@0.15.1 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-websockets/node_modules']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-websockets/node_modules' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  libp2p-ipfs@0.14.1 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  ipfs@0.16.0 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async' }
npm ERR! notarget No compatible version found: browserify-zlib@'github:ipfs/browserify-zlib'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4"]
npm ERR! notarget 
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! code ETARGET
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-secio/README.md'
npm ERR!     at Error (native)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-secio/README.md
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! tar.unpack untar error /home/ipfs/.npm/protocol-buffers/3.1.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/lodash/4.15.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/interface-connection/0.2.1/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/node-forge/0.6.42/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/ip-address/5.8.2/package.tgz
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test/ws-url.js'
npm ERR!     at Error (native)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test/ws-url.js
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! tar.unpack untar error /home/ipfs/.npm/webcrypto/0.1.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/minimist/1.2.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/static-module/1.3.1/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/public-encrypt/4.0.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/util-deprecate/1.0.2/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/process-nextick-args/1.0.7/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/bn.js/4.11.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/browserify-rsa/4.0.1/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  ipfs-bitswap@0.7.1 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async' }
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/.jshintrc'
npm ERR!     at Error (native)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/.jshintrc
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! tar.unpack untar error /home/ipfs/.npm/protocol-buffers/3.1.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/sha.js/2.4.5/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-merkle-dag/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  crypto-browserify@3.11.0 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-merkle-dag/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-merkle-dag/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/resolver'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  brfs@1.4.3 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/resolver']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/resolver' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  crypto-browserify@3.11.0 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules' }
npm ERR! tar.unpack untar error /home/ipfs/.npm/static-module/1.3.1/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/minimist/1.2.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/browserify-aes/1.0.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/cipher-base/1.0.3/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/parse-asn1/5.0.0/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/test'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  webcrypto@0.1.0 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/test']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/test' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/node_path'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  protocol-buffers@3.1.6 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/node_path']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/node_path' }
npm ERR! tar.unpack untar error /home/ipfs/.npm/elliptic/6.3.2/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/bn.js/4.11.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/brorand/1.0.6/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/module_dir'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  ipfs-unixfs@0.1.4 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/module_dir']
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/module_dir' }
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/diffie-hellman/node_modules/bn.js/README.md'
npm ERR!     at Error (native)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/diffie-hellman/node_modules/bn.js/README.md
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/ipfs/npm-debug.log
npm ERR! not ok code 0

npm-debug.log

@victorb
Copy link
Member

victorb commented Sep 16, 2016

Seems like you're using a very old version of npm. Could you try again with
npm@3?

npm install -g npm should do it

On Fri, Sep 16, 2016, 19:51 Valentin Lorentz notifications@github.com
wrote:

ipfs@particle  ~  LANG=C npm install ipfs --save
npm WARN engine hapi@15.0.3: wanted: {"node":">=4.5.0"} (current: {"node":"4.3.1","npm":"1.4.21"})
npm WARN engine shot@3.3.2: wanted: {"node":">=4.5.0"} (current: {"node":"4.3.1","npm":"1.4.21"})
npm WARN deprecated lodash.contains@2.4.3: This package has been discontinued in favor of lodash.includes@^4.0.0.
npm WARN deprecated pull@2.1.1: unmaintained
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib Cloning into bare repository '/home/ipfs/.npm/_git-remotes/git-github-com-github-ipfs-browserify-zlib-c401cb77'...
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib Permission denied (publickey).
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib Please make sure you have the correct access rights
npm ERR! git clone git@github.com:github:ipfs/browserify-zlib and the repository exists.
npm ERR! tar.unpack untar error /home/ipfs/.npm/libp2p-swarm/0.23.0/package.tgz
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-webrtc-star/dist/index.js.map'
npm ERR! at Error (native)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-webrtc-star/dist/index.js.map
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-websockets/node_modules'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back libp2p-ipfs-browser@0.15.1 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-websockets/node_modules']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-websockets/node_modules' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back libp2p-ipfs@0.14.1 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back ipfs@0.16.0 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async' }
npm ERR! notarget No compatible version found: browserify-zlib@'github:ipfs/browserify-zlib'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! code ETARGET
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-secio/README.md'
npm ERR! at Error (native)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs-browser/node_modules/libp2p-secio/README.md
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! tar.unpack untar error /home/ipfs/.npm/protocol-buffers/3.1.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/lodash/4.15.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/interface-connection/0.2.1/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/node-forge/0.6.42/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/ip-address/5.8.2/package.tgz
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test/ws-url.js'
npm ERR! at Error (native)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/libp2p-ipfs/node_modules/libp2p-websockets/node_modules/pull-ws/test/ws-url.js
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! tar.unpack untar error /home/ipfs/.npm/webcrypto/0.1.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/minimist/1.2.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/static-module/1.3.1/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/public-encrypt/4.0.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/util-deprecate/1.0.2/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/process-nextick-args/1.0.7/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/bn.js/4.11.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/browserify-rsa/4.0.1/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back ipfs-bitswap@0.7.1 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-bitswap/node_modules/async' }
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/.jshintrc'
npm ERR! at Error (native)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/.jshintrc
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! tar.unpack untar error /home/ipfs/.npm/protocol-buffers/3.1.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/sha.js/2.4.5/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-merkle-dag/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back crypto-browserify@3.11.0 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-merkle-dag/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-merkle-dag/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/resolver'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back brfs@1.4.3 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/resolver']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/resolver' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back crypto-browserify@3.11.0 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules' }
npm ERR! tar.unpack untar error /home/ipfs/.npm/static-module/1.3.1/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/minimist/1.2.0/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/browserify-aes/1.0.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/cipher-base/1.0.3/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/parse-asn1/5.0.0/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/test'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back webcrypto@0.1.0 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/test']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/test' }
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/node_path'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back protocol-buffers@3.1.6 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/node_path']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/node_path' }
npm ERR! tar.unpack untar error /home/ipfs/.npm/elliptic/6.3.2/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/bn.js/4.11.6/package.tgz
npm ERR! tar.unpack untar error /home/ipfs/.npm/brorand/1.0.6/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/module_dir'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back ipfs-unixfs@0.1.4 { [Error: ENOTEMPTY: directory not empty, rmdir '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/module_dir']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/ipfs/node_modules/ipfs/node_modules/ipfs-unixfs/node_modules/protocol-buffers/node_modules/brfs/node_modules/resolve/test/module_dir' }
npm ERR! Error: ENOENT: no such file or directory, open '/home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/diffie-hellman/node_modules/bn.js/README.md'
npm ERR! at Error (native)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 4.6.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ipfs" "--save"
npm ERR! cwd /home/ipfs
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/ipfs/node_modules/ipfs/node_modules/ipfs-block/node_modules/multihashing/node_modules/webcrypto/node_modules/crypto-browserify/node_modules/diffie-hellman/node_modules/bn.js/README.md
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ipfs/npm-debug.log
npm ERR! not ok code 0

npm-debug.log
https://github.com/ipfs/js-ipfs/files/477406/npm-debug.log.txt


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#500, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcD9LzxVBRP6vUOxWNxorQUvIz5BsJdks5qqtc8gaJpZM4J_L6h
.

@progval
Copy link
Author

progval commented Sep 16, 2016

It worked, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants