felixge/node-formidable — Issue #103: Cannot install formidable on FreeBSD 8.2
Author: crypto-scythe
Created: 2011-10-11 11:28:46+00:00
State: open

Hi there,

seems I can't get formidable to install on my system. Can it be that there is a corrupt entry in the .tgz file?

The install / error message:

freebsd-box# npm install formidable
npm ERR! Failed unpacking /tmp/npm-1318332141986/1318332141986-0.47100423905067146/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1318332141986/1318332141986-0.47100423905067146/tmp.tgz to /tmp/npm-1318332141986/1318332141986-0.47100423905067146/contents
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1318332141986/1318332141986-0.47100423905067146/tmp.tgz" "-C" "/tmp/npm-1318332141986/1318332141986-0.47100423905067146/contents/___package.npm" ["-o"]`
npm ERR! failed with 1
npm ERR! at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:182:20)
npm ERR! at ChildProcess.emit (events.js:67:17)
npm ERR! at ChildProcess.onexit (child_process.js:192:12)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System FreeBSD 8.2-RELEASE
npm ERR! command "node" "/usr/local/bin/npm" "install" "formidable"
npm ERR! cwd /root
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.94
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm not ok

---

A manual run of tar:

tar "-zmvxpf" "/tmp/npm-1318332141986/1318332141986-0.47100423905067146/tmp.tgz" "-C" "/tmp/npm-1318332141986/1318332141986-0.47100423905067146/contents/___package.npm"

freebsd-box# tar "-zmvxpf" "/tmp/npm-1318332141986/1318332141986-0.47100423905067146/tmp.tgz" "-C" "/tmp/npm-1318332141986/1318332141986-0.47100423905067146/contents/___package.npm"
x package/..gitignore.un~
x package/..npmignore.un~
x package/.gitignore
x package/.Makefile.un~
x package/.npmignore
x package/.package.json.un~
x package/.Readme.md.un~
x package/.TODO.un~
x package/index.js
x package/Makefile
x package/package.json
x package/Readme.md
x package/TODO
x package/benchmark/.bench-multipart-parser.js.un~
x package/benchmark/bench-multipart-parser.js
x package/example/.upload.js.un~
x package/example/post.js
x package/example/upload.js
x package/tool/.record.js.un~
x package/tool/.record_upload.js.un~
x package/tool/record.js
x package/lib/.incoming_form.js.un~
x package/lib/.multipart_parser.js.un~
x package/lib/file.js
x package/lib/incoming_form.js
x package/lib/index.js
x package/lib/multipart_parser.js
x package/lib/querystring_parser.js
x package/lib/util.js
x package/lib/formidable/.file.js.un~
x package/lib/formidable/.incoming_form.js.un~
x package/test/.common.js.un~
x package/test/common.js
x package/test/run.js
x package/test/fast/.test-incoming-form.js.un~
x package/test/fast/test-incoming-form.js
x package/test/slow/.test-fixtures.js.un~
x package/test/slow/test-fixtures.js
x package/test/tmp/.empty
x package/test/legacy/.common.js.un~
x package/test/legacy/common.js
x package/test/legacy/integration/.test-multipart-parser.js.un~
x package/test/legacy/integration/test-multipart-parser.js
x package/test/legacy/simple/.test-file.js.un~
x package/test/legacy/simple/.test-incoming-form.js.un~
x package/test/legacy/simple/.test-multipart-parser.js.un~
x package/test/legacy/simple/.test-querystring-parser.js.un~
x package/test/legacy/simple/test-file.js
x package/test/legacy/simple/test-incoming-form.js
x package/test/legacy/simple/test-multipart-parser.js
x package/test/legacy/simple/test-querystring-parser.js
x package/test/legacy/system/.test-multi-video-upload.js.un~
x package/test/legacy/system/test-multi-video-upload.js
x package/test/fixture/.multipart.js.un~
x package/test/fixture/multi_video.upload
x package/test/fixture/multipart.js
x package/test/fixture/file/.plain.txt.un~
tar: Pathname in pax header can't be converted to current locale.
x package/test/fixture/file/: \\ ? % * | " < > . \342\230\203 ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt
x package/test/fixture/file/plain.txt
x package/test/fixture/js/.no-filename.js.un~
x package/test/fixture/js/.special-chars-in-filename.js.un~
x package/test/fixture/js/.special-chars-in-filename.json.un~
x package/test/fixture/js/no-filename.js
x package/test/fixture/js/special-chars-in-filename.js
x package/test/fixture/http/no-filename/.generic.http.un~
x package/test/fixture/http/no-filename/generic.http
x package/test/fixture/http/special-chars-in-filename/.Info.md.un~
x package/test/fixture/http/special-chars-in-filename/.opera-9.8.txt.un~
x package/test/fixture/http/special-chars-in-filename/.osx-chrome-13.http.un~
x package/test/fixture/http/special-chars-in-filename/.xp-chrome-12.http.un~
x package/test/fixture/http/special-chars-in-filename/info.md
x package/test/fixture/http/special-chars-in-filename/osx-chrome-13.http
x package/test/fixture/http/special-chars-in-filename/osx-firefox-3.6.http
x package/test/fixture/http/special-chars-in-filename/osx-safari-5.http
x package/test/fixture/http/special-chars-in-filename/xp-chrome-12.http
x package/test/fixture/http/special-chars-in-filename/xp-ie-7.http
x package/test/fixture/http/special-chars-in-filename/xp-ie-8.http
x package/test/fixture/http/special-chars-in-filename/xp-safari-5.http
tar: Error exit delayed from previous errors.