This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gambit-server/web-server | |
snap-hello-server/bin | |
snap-hello-server/dist/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change directory to the base of your project | |
# Your project base is the directory that contains | |
# either _darcs or .git | |
# to use as a command add to .zshrc or .bashrc | |
# alias base='source <path/to/base.sh> | |
CUR=$(pwd); | |
while [ ! "$CUR" = "/" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm ERR! Failed unpacking the tarball. | |
npm ERR! This is very rare. Perhaps the 'gzip' or 'tar' configs | |
npm ERR! are set improperly? | |
npm ERR! | |
npm ERR! Error installing . | |
npm ERR! Error: Failed tar "cv" "--exclude" ".git" "-X" "/usr/local/lib/node/.npm/npm/0.1.27-12/package/lib/utils/default.npmignore" "node-relay-client" | |
npm ERR! exited with 1 | |
npm ERR! at ChildProcess.<anonymous> (/usr/local/lib/node/.npm/npm/0.1.27-12/package/lib/utils/exec.js:41:19) | |
npm ERR! at ChildProcess.emit (events:33:26) | |
npm ERR! at ChildProcess.onexit (child_process:151:12) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/cache.js b/lib/cache.js | |
index 42dc169..9202be5 100644 | |
--- a/lib/cache.js | |
+++ b/lib/cache.js | |
@@ -213,7 +213,7 @@ function unpackTar (tarball, unpackTarget, cb) { | |
// gzip {tarball} --decompress --stdout | tar xf - --strip-components=1 -C {unpackTarget} | |
pipe( spawn(npm.config.get("gzipbin"), ["--decompress", "--stdout", tarball]) | |
, spawn( npm.config.get("tar") | |
- , ["vx", "--strip-components=1", "-C", unpackTarget] | |
+ , ["xpf", "-", "--strip-components=1", "-C", unpackTarget] |