Skip to content

Instantly share code, notes, and snippets.

@ProjectMoon
Created March 12, 2012 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ProjectMoon/2023799 to your computer and use it in GitHub Desktop.
Save ProjectMoon/2023799 to your computer and use it in GitHub Desktop.
NPM installation issues
[node@theflux ~/stories]$ npm install
> stories@0.0.1 preinstall /home/node/stories
> rm -rf build && mkdir -p build && cd build && git clone git://github.com/ajaxorg/ace.git && cd ace && git submodule update --init --recursive
Cloning into ace...
remote: Counting objects: 22005, done.
remote: Compressing objects: 100% (6013/6013), done.
remote: Total 22005 (delta 15899), reused 20412 (delta 14467)
Receiving objects: 100% (22005/22005), 8.20 MiB | 1.47 MiB/s, done.
Resolving deltas: 100% (15899/15899), done.
Submodule 'doc/wiki' (git://github.com/ajaxorg/ace.wiki.git) registered for path 'doc/wiki'
Cloning into doc/wiki...
remote: Counting objects: 171, done.
remote: Compressing objects: 100% (167/167), done.
remote: Total 171 (delta 94), reused 4 (delta 2)
Receiving objects: 100% (171/171), 24.64 KiB, done.
Resolving deltas: 100% (94/94), done.
Submodule path 'doc/wiki': checked out 'd2a65d0addc2e5ab922bbff9cb6022a4652b4f13'
npm http GET https://registry.npmjs.org/express/2.5.8
npm http GET https://registry.npmjs.org/mongoose/2.5.10
npm http GET https://registry.npmjs.org/bbcode/0.0.2
npm http GET https://registry.npmjs.org/ejs/0.6.1
npm http GET https://registry.npmjs.org/mhash/0.1.4
npm http GET https://registry.npmjs.org/node-markdown/0.1.0
npm http GET https://registry.npmjs.org/connect-mongo/0.1.7
npm http GET https://registry.npmjs.org/now/0.8.1
npm http GET https://registry.npmjs.org/async/0.1.18
npm http 304 https://registry.npmjs.org/express/2.5.8
npm http 304 https://registry.npmjs.org/bbcode/0.0.2
npm WARN bbcode@0.0.2 package.json: bugs['web'] should probably be bugs['url']
npm http 304 https://registry.npmjs.org/mhash/0.1.4
npm http 304 https://registry.npmjs.org/mongoose/2.5.10
npm http 304 https://registry.npmjs.org/ejs/0.6.1
npm http 304 https://registry.npmjs.org/node-markdown/0.1.0
npm http 304 https://registry.npmjs.org/connect-mongo/0.1.7
npm http 304 https://registry.npmjs.org/now/0.8.1
npm http 304 https://registry.npmjs.org/async/0.1.18
npm http GET https://registry.npmjs.org/bbcode/0.0.2
npm http GET https://registry.npmjs.org/express/2.5.8
npm http GET https://registry.npmjs.org/ejs/0.6.1
npm http GET https://registry.npmjs.org/mongoose/2.5.10
npm http GET https://registry.npmjs.org/mhash/0.1.4
npm http GET https://registry.npmjs.org/node-markdown/0.1.0
npm http GET https://registry.npmjs.org/connect-mongo/0.1.7
npm http GET https://registry.npmjs.org/now/0.8.1
npm http GET https://registry.npmjs.org/async/0.1.18
npm http 304 https://registry.npmjs.org/bbcode/0.0.2
npm http 304 https://registry.npmjs.org/ejs/0.6.1
./node_modules/bbcode -> /home/node/local/lib/node_modules/bbcode
./node_modules/ejs -> /home/node/local/lib/node_modules/ejs
npm http 304 https://registry.npmjs.org/mhash/0.1.4
npm http 304 https://registry.npmjs.org/mongoose/2.5.10
> mhash@0.1.4 preinstall /home/node/stories/node_modules/mhash
> node-waf configure build
npm http 304 https://registry.npmjs.org/express/2.5.8
./node_modules/mongoose -> /home/node/local/lib/node_modules/mongoose
./node_modules/express -> /home/node/local/lib/node_modules/express
Checking for program g++ or c++ : /home/node/local/bin/g++
npm http 304 https://registry.npmjs.org/node-markdown/0.1.0
Checking for program cpp : /home/node/local/bin/cpp
Checking for program ar : /opt/local/bin/ar
Checking for program ranlib : /opt/local/bin/ranlib
Checking for g++ : ok
./node_modules/node-markdown -> /home/node/local/lib/node_modules/node-markdown
Checking for node path : not found
Checking for node prefix : ok /home/node/local
Configuring mhash library ...
npm http 304 https://registry.npmjs.org/connect-mongo/0.1.7
./node_modules/connect-mongo -> /home/node/local/lib/node_modules/connect-mongo
npm http 304 https://registry.npmjs.org/async/0.1.18
npm http 304 https://registry.npmjs.org/now/0.8.1
./node_modules/now -> /home/node/local/lib/node_modules/now
./node_modules/async -> /home/node/local/lib/node_modules/async
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking target system type... i386-pc-solaris2.11
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /opt/local/bin/grep
checking for egrep... /opt/local/bin/grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for function prototypes... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... (cached) yes
checking for a sed that does not truncate output... /opt/local/bin/sed
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /opt/local/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse /opt/local/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for size_t... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for ANSI C header files... (cached) yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for dlfcn.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for fcntl... yes
checking for fsync... yes
checking for memset... yes
checking for memmove... yes
checking for mlock... yes
checking for sigaction... yes
checking for signal... yes
checking for readdir_r... yes
checking for readdir... yes
checking for strtol... yes
checking for lstat... yes
checking for stat... yes
checking for umask... yes
checking for utime... yes
checking for unsigned long long int... yes
checking size of unsigned long long int... 8
checking for unsigned long int... yes
checking size of unsigned long int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned short int... yes
checking size of unsigned short int... 2
checking for unsigned char... yes
checking size of unsigned char... 1
checking if malloc debugging is wanted... no
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mhash.spec
config.status: creating include/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating include/mutils/mhash_config.h
config.status: include/mutils/mhash_config.h is unchanged
config.status: executing depfiles commands
'configure' finished successfully (22.690s)
Waf: Entering directory `/home/node/local/lib/node_modules/mhash/build'
Building mhash library ...
Making all in include
make[1]: Entering directory `/home/node/local/lib/node_modules/mhash/deps/mhash/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/node/local/lib/node_modules/mhash/deps/mhash/include'
Making all in lib
make[1]: Entering directory `/home/node/local/lib/node_modules/mhash/deps/mhash/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/node/local/lib/node_modules/mhash/deps/mhash/lib'
Making all in doc
make[1]: Entering directory `/home/node/local/lib/node_modules/mhash/deps/mhash/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/node/local/lib/node_modules/mhash/deps/mhash/doc'
Making all in src
make[1]: Entering directory `/home/node/local/lib/node_modules/mhash/deps/mhash/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/node/local/lib/node_modules/mhash/deps/mhash/src'
make[1]: Entering directory `/home/node/local/lib/node_modules/mhash/deps/mhash'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/node/local/lib/node_modules/mhash/deps/mhash'
Waf: Leaving directory `/home/node/local/lib/node_modules/mhash/build'
'build' finished successfully (0.455s)
./node_modules/mhash -> /home/node/local/lib/node_modules/mhash
> stories@0.0.1 install /home/node/stories
> mkdir -p static/scripts/ace/ && cp build/ace/build/src/* static/scripts/ace/
> stories@0.0.1 postinstall /home/node/stories
> rm -rf build
bbcode@0.0.2 ./node_modules/bbcode
ejs@0.6.1 ./node_modules/ejs
mongoose@2.5.10 ./node_modules/mongoose
express@2.5.8 ./node_modules/express
node-markdown@0.1.0 ./node_modules/node-markdown
connect-mongo@0.1.7 ./node_modules/connect-mongo
now@0.8.1 ./node_modules/now
async@0.1.18 ./node_modules/async
mhash@0.1.4 ./node_modules/mhash
[node@theflux ~/stories]$ npm ls
npm WARN bbcode@0.0.2 package.json: bugs['web'] should probably be bugs['url']
npm WARN node-proxy@0.5.2 package.json: bugs['web'] should probably be bugs['url']
npm WARN connect >=1.0.3 Unmet dependency in /home/node/local/lib/node_modules/connect-mongo
npm WARN mongodb >=0.8.0 Unmet dependency in /home/node/local/lib/node_modules/connect-mongo
npm WARN connect 1.x Unmet dependency in /home/node/local/lib/node_modules/express
stories@0.0.1 /home/node/stories
├── async@0.1.18 -> /home/node/local/lib/node_modules/async
├─┬ bbcode@0.0.2 -> /home/node/local/lib/node_modules/bbcode
│ └─┬ nodeunit@0.7.4
│ └─┬ tap@0.2.3
│ ├── deep-equal@0.0.0
│ ├─┬ difflet@0.2.0
│ │ ├── charm@0.0.6
│ │ └── traverse@0.6.0
│ ├── inherits@1.0.0
│ ├── mkdirp@0.2.2
│ ├─┬ nopt@1.0.10
│ │ └── abbrev@1.0.3
│ ├─┬ runforcover@0.0.2
│ │ └─┬ bunker@0.1.1
│ │ └─┬ burrito@0.2.11
│ │ ├── traverse@0.5.2
│ │ └── uglify-js@1.0.7
│ ├── slide@1.1.3
│ └── yamlish@0.0.4
├─┬ connect-mongo@0.1.7 -> /home/node/local/lib/node_modules/connect-mongo
│ ├── UNMET DEPENDENCY connect >=1.0.3
│ └── UNMET DEPENDENCY mongodb >=0.8.0
├── ejs@0.6.1 -> /home/node/local/lib/node_modules/ejs
├─┬ express@2.5.8 -> /home/node/local/lib/node_modules/express
│ ├── UNMET DEPENDENCY connect 1.x
│ ├── mime@1.2.4
│ ├── mkdirp@0.3.0
│ └── qs@0.4.2
├── mhash@0.1.4 -> /home/node/local/lib/node_modules/mhash
├─┬ mongoose@2.5.10 -> /home/node/local/lib/node_modules/mongoose
│ ├── hooks@0.2.0
│ └── mongodb@0.9.9-4
├── node-markdown@0.1.0 -> /home/node/local/lib/node_modules/node-markdown
└─┬ now@0.8.1 -> /home/node/local/lib/node_modules/now
├── node-proxy@0.5.2
└─┬ socket.io@0.9.0
├── policyfile@0.0.4
├── redis@0.6.7
└─┬ socket.io-client@0.9.0
├── uglify-js@1.2.5
├─┬ ws@0.4.0
│ ├── commander@0.5.0
│ └── options@0.0.3
└── xmlhttprequest@1.2.2
{
"name": "stories",
"version": "0.0.1",
"dependencies": {
"express": {
"version": "2.5.8",
"dependencies": {
"connect": {
"version": "1.8.5",
"dependencies": {
"formidable": {
"version": "1.0.9"
}
}
},
"mime": {
"version": "1.2.4"
},
"qs": {
"version": "0.4.2"
},
"mkdirp": {
"version": "0.3.0"
}
}
},
"mongoose": {
"version": "2.5.10",
"dependencies": {
"hooks": {
"version": "0.2.0"
},
"mongodb": {
"version": "0.9.9-4"
}
}
},
"bbcode": {
"version": "0.0.2",
"dependencies": {
"nodeunit": {
"version": "0.7.4",
"dependencies": {
"tap": {
"version": "0.2.3",
"dependencies": {
"inherits": {
"version": "1.0.0"
},
"yamlish": {
"version": "0.0.4"
},
"slide": {
"version": "1.1.3"
},
"runforcover": {
"version": "0.0.2",
"dependencies": {
"bunker": {
"version": "0.1.1",
"dependencies": {
"burrito": {
"version": "0.2.11",
"dependencies": {
"traverse": {
"version": "0.5.2"
},
"uglify-js": {
"version": "1.0.7"
}
}
}
}
}
}
},
"nopt": {
"version": "1.0.10",
"dependencies": {
"abbrev": {
"version": "1.0.3"
}
}
},
"mkdirp": {
"version": "0.2.2"
},
"difflet": {
"version": "0.2.0",
"dependencies": {
"traverse": {
"version": "0.6.0"
},
"charm": {
"version": "0.0.6"
}
}
},
"deep-equal": {
"version": "0.0.0"
}
}
}
}
}
}
},
"ejs": {
"version": "0.6.1"
},
"now": {
"version": "0.8.1",
"dependencies": {
"socket.io": {
"version": "0.9.0",
"dependencies": {
"socket.io-client": {
"version": "0.9.0",
"dependencies": {
"uglify-js": {
"version": "1.2.5"
},
"ws": {
"version": "0.4.0",
"dependencies": {
"commander": {
"version": "0.5.0"
},
"options": {
"version": "0.0.3"
}
}
},
"xmlhttprequest": {
"version": "1.2.2"
}
}
},
"policyfile": {
"version": "0.0.4"
},
"redis": {
"version": "0.6.7"
}
}
},
"node-proxy": {
"version": "0.5.2"
}
}
},
"async": {
"version": "0.1.18"
},
"mhash": {
"version": "0.1.4"
},
"node-markdown": {
"version": "0.1.0"
},
"connect-mongo": {
"version": "0.1.7",
"dependencies": {
"connect": {
"version": "1.8.5",
"dependencies": {
"qs": {
"version": "0.4.2"
},
"mime": {
"version": "1.2.5"
},
"formidable": {
"version": "1.0.9"
}
}
},
"mongodb": {
"version": "0.9.9-6",
"dependencies": {
"bson": {
"version": "0.0.4"
}
}
}
}
}
}
}
{
"author": "ProjectMoon",
"name": "stories",
"description": "Post stories to the internet.",
"version": "0.0.1",
"repository": {
"url": ""
},
"engines": {
"node": ">=0.6.0"
},
"dependencies": {
"express": "",
"mongoose": "",
"bbcode": "",
"ejs": "",
"now": "",
"async": "",
"mhash": "",
"node-markdown": "",
"connect-mongo": ""
},
"scripts": {
"preinstall": "rm -rf build && mkdir -p build && cd build && git clone git://github.com/ajaxorg/ace.git && cd ace && git submodule update --init --recursive",
"install": "mkdir -p static/scripts/ace/ && cp build/ace/build/src/* static/scripts/ace/",
"postinstall": "rm -rf build"
},
"devDependencies": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment