Skip to content

Instantly share code, notes, and snippets.

@lukegalea
Created May 13, 2011 01:18
Show Gist options
  • Save lukegalea/969789 to your computer and use it in GitHub Desktop.
Save lukegalea/969789 to your computer and use it in GitHub Desktop.
Npm v1.0 issues
> [email protected] preinstall /var/www/apps/dsharp/releases/20110513005251/node_modules/canvas
> node-waf configure build
> [email protected] install /var/www/apps/dsharp/releases/20110513005251/node_modules/mongodb
> ./install.sh
./install.sh: line 2: [: too many arguments
Not building native library for cygwin
make -C ./external-libs/bson
make[1]: Entering directory `/var/www/apps/dsharp/releases/20110513005251/node_modules/mongodb/external-libs/bson'
rm -rf build .lock-wscript bson.node
node-waf configure build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program g++ or c++ : /usr/bin/g++
> [email protected] preinstall /var/www/apps/dsharp/releases/20110513005251/node_modules/drawback/node_modules/canvas
> node-waf configure build
npm ERR! Could not unpack /root/.npm/qs/0.1.0/package.tgz to /root/.npm/qs/0.1.0
npm ERR! error installing [email protected] Error: ENOENT, No such file or directory '/root/.npm/qs/0.1.0/___package.npm/package'
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for program cpp : /usr/bin/cpp
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for library jpeg : Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for library jpeg : 'configure' finished successfully (1.748s)
Waf: Entering directory `/var/www/apps/dsharp/releases/20110513005251/node_modules/mongodb/external-libs/bson/build'
[1/9] cxx: bson.cc -> build/default/bson_1.o
[2/9] cxx: long.cc -> build/default/long_1.o
[3/9] cxx: objectid.cc -> build/default/objectid_1.o
[4/9] cxx: binary.cc -> build/default/binary_1.o
npm ERR! Error: ENOENT, No such file or directory '/root/.npm/qs/0.1.0/___package.npm/package'
npm ERR! Report this *entire* log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR!
npm ERR! System Linux 2.6.35.4-rscloud
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! Could not unpack /root/.npm/htmlparser/1.7.3/package.tgz to /root/.npm/htmlparser/1.7.3
npm ERR! error installing [email protected] Error: ENOENT, No such file or directory '/root/.npm/htmlparser/1.7.3/___package.npm/package/'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/www/apps/dsharp/releases/20110513005251/npm-debug.log
npm not ok
root@util1:/var/www/apps/dsharp/releases/20110513005251# not found
Checking for cairo : not found
Checking for cairo : yes
yes
'configure' finished successfully (4.522s)
'configure' finished successfully (2.971s)
Waf: Entering directory `/var/www/apps/dsharp/releases/20110513005251/node_modules/canvas/build'
Waf: Entering directory `/var/www/apps/dsharp/releases/20110513005251/node_modules/drawback/node_modules/canvas/build'
[1/9] cxx: src/Canvas.cc -> build/default/src/Canvas_1.o
[1/9] cxx: src/Canvas.cc -> build/default/src/Canvas_1.o
[2/9] cxx: src/ImageData.cc -> build/default/src/ImageData_1.o
[3/9] cxx: src/Image.cc -> build/default/src/Image_1.o
[4/9] cxx: src/init.cc -> build/default/src/init_1.o
[2/9] cxx: src/ImageData.cc -> build/default/src/ImageData_1.o
[3/9] cxx: src/Image.cc -> build/default/src/Image_1.o
[4/9] cxx: src/init.cc -> build/default/src/init_1.o
[6/9] cxx: dbref.cc -> build/default/dbref_1.o
[5/9] cxx: code.cc -> build/default/code_1.o
[7/9] cxx: timestamp.cc -> build/default/timestamp_1.o
[8/9] cxx: local.cc -> build/default/local_1.o
../src/Image.cc: In member function ‘cairo_status_t Image::loadSurface()’:
../src/Image.cc:243: warning: enumeration value ‘UNKNOWN’ not handled in switch
../src/Image.cc:243: warning: enumeration value ‘JPEG’ not handled in switch
[5/9] cxx: src/CanvasGradient.cc -> build/default/src/CanvasGradient_1.o
[5/9] cxx: src/CanvasGradient.cc -> build/default/src/CanvasGradient_1.o
[6/9] cxx: src/CanvasRenderingContext2d.cc -> build/default/src/CanvasRenderingContext2d_1.o
[6/9] cxx: src/CanvasRenderingContext2d.cc -> build/default/src/CanvasRenderingContext2d_1.o
[7/9] cxx: src/color.cc -> build/default/src/color_1.o
[7/9] cxx: src/color.cc -> build/default/src/color_1.o
[8/9] cxx: src/PixelArray.cc -> build/default/src/PixelArray_1.o
[8/9] cxx: src/PixelArray.cc -> build/default/src/PixelArray_1.o
[9/9] cxx_link: build/default/bson_1.o build/default/long_1.o build/default/objectid_1.o build/default/binary_1.o build/default/code_1.o build/default/dbref_1.o build/default/timestamp_1.o build/default/local_1.o -> build/default/bson.node
Waf: Leaving directory `/var/www/apps/dsharp/releases/20110513005251/node_modules/mongodb/external-libs/bson/build'
'build' finished successfully (7.816s)
=== EXCEUTING TEST_BSON ===
=== EXCEUTING TEST_FULL_BSON ===
make[1]: Leaving directory `/var/www/apps/dsharp/releases/20110513005251/node_modules/mongodb/external-libs/bson'
[9/9] cxx_link: build/default/src/Canvas_1.o build/default/src/ImageData_1.o build/default/src/Image_1.o build/default/src/init_1.o build/default/src/CanvasGradient_1.o build/default/src/CanvasRenderingContext2d_1.o build/default/src/color_1.o build/default/src/PixelArray_1.o -> build/default/canvas.node
[9/9] cxx_link: build/default/src/Canvas_1.o build/default/src/ImageData_1.o build/default/src/Image_1.o build/default/src/init_1.o build/default/src/CanvasGradient_1.o build/default/src/CanvasRenderingContext2d_1.o build/default/src/color_1.o build/default/src/PixelArray_1.o -> build/default/canvas.node
Waf: Leaving directory `/var/www/apps/dsharp/releases/20110513005251/node_modules/drawback/node_modules/canvas/build'
Waf: Leaving directory `/var/www/apps/dsharp/releases/20110513005251/node_modules/canvas/build'
'build' finished successfully (7.139s)
'build' finished successfully (7.159s)
{
"name": "pumper",
"description": "asd",
"version": "0.0.1",
"author": "Luke Galea <[email protected]>",
"main": "./app.js",
"directories": {},
"dependencies":{
"canvas":"0.5.1",
"connect":"1.3.0",
"connect-auth":"0.2.2",
"express":"2.2.1",
"hamljs":"0.5.1",
"jade":"0.10.4",
"jquery":"1.5.1",
"jsdom":"0.1.23",
"linebuffer":"0.0.3",
"mongodb":"0.9.2",
"noop":"0.2.2",
"sass":"0.5.0",
"underscore":"1.1.5",
"hoptoad-notifier":"0.1.1",
"connect-mongodb":"0.2.2",
"underscore": "1.1.5",
"mongoose": "1.1.25",
"drawback": "0.1.2",
"ejs": "0.4.1",
"cron": "0.1.2",
"restler": "0.2.1",
"cluster": "0.6.1",
"cluster-live": "0.0.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment