madebyhiro / codem-transcode

Offline video transcoder written in node.js
Other
153 stars 68 forks source link

npm build failing with 404 errors #25

Closed ne0shell closed 10 years ago

ne0shell commented 10 years ago

1950 verbose addNamed [ 'commander', '0.6.1' ] 1951 verbose addNamed [ '0.6.1', '0.6.1' ] 1952 silly lockFile fa16a2ce-commander-0-6-1 commander@0.6.1 1953 verbose lock commander@0.6.1 /root/.npm/fa16a2ce-commander-0-6-1.lock 1954 silly gunzTarPerm extractEntry lib/language.js 1955 silly gunzTarPerm extractEntry lib/lingo.js 1956 silly lockFile 378c912a-rg-commander-commander-0-6-1-tgz https://registry.npmjs.org/commander/-/commander-0.6.1.tgz 1957 verbose lock https://registry.npmjs.org/commander/-/commander-0.6.1.tgz /root/.npm/378c912a-rg-commander-commander-0-6-1-tgz.lock 1958 silly gunzTarPerm extractEntry package.json 1959 silly gunzTarPerm extractEntry Gemfile 1960 silly gunzTarPerm extractEntry dist/underscore.string.min.js 1961 verbose addRemoteTarball [ 'https://registry.npmjs.org/commander/-/commander-0.6.1.tgz', 1961 verbose addRemoteTarball 'fa68a14f6a945d54dbbe50d8cdb3320e9e3b1a06' ] 1962 info retry fetch attempt 1 at 03:21:24 1963 verbose fetch to= /root/tmp/npm-1846-gSxYegNK/1393633284629-0.05237002111971378/tmp.tgz 1964 silly gunzTarPerm extractEntry .npmignore 1965 silly gunzTarPerm extractEntry README.md 1966 http GET https://registry.npmjs.org/commander/-/commander-0.6.1.tgz 1967 verbose tar unpack /root/tmp/npm-1846-gSxYegNK/1393633284379-0.8179723471403122/tmp.tgz 1968 silly lockFile e2085770-84379-0-8179723471403122-package tar:///root/tmp/npm-1846-gSxYegNK/1393633284379-0.8179723471403122/package 1969 verbose lock tar:///root/tmp/npm-1846-gSxYegNK/1393633284379-0.8179723471403122/package /root/.npm/e2085770-84379-0-8179723471403122-package.lock 1970 silly lockFile 809bb65e-84379-0-8179723471403122-tmp-tgz tar:///root/tmp/npm-1846-gSxYegNK/1393633284379-0.8179723471403122/tmp.tgz 1971 verbose lock tar:///root/tmp/npm-1846-gSxYegNK/1393633284379-0.8179723471403122/tmp.tgz /root/.npm/809bb65e-84379-0-8179723471403122-tmp-tgz.lock 1972 error Error: 404 Not Found 1972 error at WriteStream. (/usr/local/lib/node_modules/npm/lib/utils/fetch.js:57:12) 1972 error at WriteStream.EventEmitter.emit (events.js:117:20) 1972 error at fs.js:1598:14 1972 error at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:105:5 1972 error at Object.oncomplete (fs.js:107:15) 1973 error If you need help, you may report this entire log, 1973 error including the npm and node versions, at: 1973 error http://github.com/npm/npm/issues 1974 error System Linux 2.6.32-042stab078.28 1975 error command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "codem-transcode" 1976 error cwd /usr/src 1977 error node -v v0.10.26 1978 error npm -v 1.4.3 1979 verbose exit [ 1, true ]

ne0shell commented 10 years ago

I'm not sure what the issue is, I can install sqlite3 using npm by itself with no problem, I still get the same build failure for transcodem even with sqlite3 already installed: gyp ERR! not ok [sqlite3]: Error: Failed to execute 'node-gyp rebuild codem-transcode' (1) npm ERR! sqlite3@2.1.19 install: node build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sqlite3@2.1.19 install script. npm ERR! This is most likely a problem with the sqlite3 package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build.js npm ERR! You can get their info via: npm ERR! npm owner ls sqlite3 npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.32-042stab078.28 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "codem-transcode" npm ERR! cwd /root/ffmpeginstaller.8.0 npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.3 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /root/ffmpeginstaller.8.0/npm-debug.log npm ERR! not ok code 0

tieleman commented 10 years ago

I was told by @bartzon that you were able to install it correctly, right?

We are sometimes seeing random NPM failures, but I can't reproduce them and they seem to disappear after a while, which seems to me it is more related to NPM availability than an issue with codem-transcode. Have you mentioned this issue to the NPM people as well?

tieleman commented 10 years ago

Apparently the recently release sqlite3 2.2.0 broke the install script. v0.5.4 was released which updates the sqlite3 dependency to the most recent version.