Is this a problem with the image or with npm? I'm not sure my nom-debug.log
npm info it worked if it ends with ok
npm info using npm@4.1.2
npm info using node@v7.6.0
npm info git [ 'clone',
npm info git '--template=/root/.npm/_git-remotes/_templates',
npm info git '--mirror',
npm info git 'https://github.com/karneaud/smoothState.js.git',
npm info git '/root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295' ]
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/karneaud/smoothState.js.git /root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295: Cloning into bare repository '/root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295'...
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/karneaud/smoothState.js.git /root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295: git-remote-https: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libidn.so.11: file too short
npm ERR! Linux 4.4.47-boot2docker
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request"
npm ERR! node v7.6.0
npm ERR! npm v4.1.2
npm ERR! code 128
npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/karneaud/smoothState.js.git /root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295
npm ERR! Cloning into bare repository '/root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295'...
npm ERR! git-remote-https: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libidn.so.11: file too short
npm ERR!
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
root@fa524c14a7c4:/app# vim /app/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '--save',
1 verbose cli 'git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request' ]
2 info using npm@4.1.2
3 info using node@v7.6.0
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request
8 silly fetchOtherPackageData git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request
9 silly cache add args [ 'git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request',
9 silly cache add null ]
10 verbose cache add spec git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request
11 silly cache add parsed spec Result {
11 silly cache add raw: 'git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request',
11 silly cache add scope: null,
11 silly cache add escapedName: null,
11 silly cache add name: null,
11 silly cache add rawSpec: 'git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request',
11 silly cache add spec: 'git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request',
11 silly cache add type: 'hosted',
11 silly cache add hosted:
11 silly cache add { type: 'github',
11 silly cache add ssh: 'git@github.com:karneaud/smoothState.js.git#karneaud-patch-cancel-request',
11 silly cache add sshUrl: 'git+ssh://git@github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request',
11 silly cache add httpsUrl: 'git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request',
11 silly cache add gitUrl: 'git://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request',
11 silly cache add shortcut: 'github:karneaud/smoothState.js#karneaud-patch-cancel-request',
11 silly cache add directUrl: 'https://raw.githubusercontent.com/karneaud/smoothState.js/karneaud-patch-cancel-request/package.json' } }
12 verbose addRemoteGit caching git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request
13 verbose addRemoteGit git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request is a repository hosted by github
14 silly tryClone cloning git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request via git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request
15 verbose tryClone git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295 not in flight; caching
16 verbose correctMkdir /root/.npm/_git-remotes correctMkdir not in flight; initializing
17 info git [ 'clone',
17 info git '--template=/root/.npm/_git-remotes/_templates',
17 info git '--mirror',
17 info git 'https://github.com/karneaud/smoothState.js.git',
17 info git '/root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295' ]
18 error git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/karneaud/smoothState.js.git /root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295: Cloning into bare repository '/root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295'...
18 error git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/karneaud/smoothState.js.git /root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295: git-remote-https: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libidn.so.11: file too short
19 silly fetchPackageMetaData git-remote-https: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libidn.so.11: file too short
19 silly fetchPackageMetaData
19 silly fetchPackageMetaData at ChildProcess.exithandler (child_process.js:211:12)
19 silly fetchPackageMetaData at emitTwo (events.js:106:13)
19 silly fetchPackageMetaData at ChildProcess.emit (events.js:192:7)
19 silly fetchPackageMetaData at maybeClose (internal/child_process.js:890:16)
19 silly fetchPackageMetaData at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
19 silly fetchPackageMetaData killed: false,
19 silly fetchPackageMetaData code: 128,
19 silly fetchPackageMetaData signal: null,
19 silly fetchPackageMetaData cmd: 'git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/karneaud/smoothState.js.git /root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295' }
20 silly rollbackFailedOptional Starting
21 silly rollbackFailedOptional Finishing
22 silly runTopLevelLifecycles Finishing
23 silly install printInstalled
24 verbose stack Error: Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/karneaud/smoothState.js.git /root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295
24 verbose stack Cloning into bare repository '/root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295'...
24 verbose stack git-remote-https: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libidn.so.11: file too short
24 verbose stack
24 verbose stack at ChildProcess.exithandler (child_process.js:211:12)
24 verbose stack at emitTwo (events.js:106:13)
24 verbose stack at ChildProcess.emit (events.js:192:7)
24 verbose stack at maybeClose (internal/child_process.js:890:16)
24 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
25 verbose cwd /app
26 error Linux 4.4.47-boot2docker
27 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "git+https://github.com/karneaud/smoothState.js.git#karneaud-patch-cancel-request"
28 error node v7.6.0
29 error npm v4.1.2
30 error code 128
31 error Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/karneaud/smoothState.js.git /root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295
31 error Cloning into bare repository '/root/.npm/_git-remotes/git-https-github-com-karneaud-smoothState-js-git-karneaud-patch-cancel-request-a90ff295'...
31 error git-remote-https: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libidn.so.11: file too short
32 error If you need help, you may report this error at:
32 error https://github.com/npm/npm/issues
33 verbose exit [ 1, true ]
I'm using docker-compose with the
image: node:latest
to run my node related application and on install i get the error messagemy package.json
Is this a problem with the image or with npm? I'm not sure my nom-debug.log