[root@AY1309251503212494edZ src]# cnpm install -d npm info it worked if it ends with ok npm info using [email protected] npm info using [email protected] npm info preinstall [email protected] npm info package.json [email protected] No license field. npm info attempt registry request try #1 at 17:38:15 npm http request GET https://registry.npm.taobao.org/ccap npm http 304 https://registry.npm.taobao.org/ccap npm info install [email protected] into /var/www/xxx.net/src npm info installOne [email protected] npm info preinstall [email protected]
[email protected] preinstall /var/www/xxx.net/src/node_modules/ccap node make.js
I’m glad you to select ccap, enjoy it!
ccap is a cross plat form and portable nodejs simple captcha module, simple api and lightweight.
starting compile ccap! good luck! npm info attempt registry request try #1 at 17:38:16 npm http request GET https://registry.npm.taobao.org/node-schedule npm info attempt registry request try #1 at 17:38:16 npm http request GET https://registry.npm.taobao.org/nan npm http 304 https://registry.npm.taobao.org/nan npm http 304 https://registry.npm.taobao.org/node-schedule npm info install [email protected] into /var/www/xxx.net/src/node_modules/ccap npm info install [email protected] into /var/www/xxx.net/src/node_modules/c cap npm info installOne [email protected] npm info installOne [email protected] npm info preinstall [email protected] npm info build /var/www/xxx.net/src/node_modules/ccap/node_modules/node-schedu le npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info preinstall [email protected] npm info build /var/www/xxx.net/src/node_modules/ccap/node_modules/nan npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info build /var/www/xxx.net/src/node_modules/ccap npm info linkStuff [email protected] npm info install [email protected]
[email protected] install /var/www/xxx.net/src/node_modules/ccap node-gyp rebuild
gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | linux | x64 gyp info spawn python2 gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp /gyp_main.py’, gyp info spawn args 'binding.gyp’, gyp info spawn args '-f’, gyp info spawn args 'make’, gyp info spawn args '-I’, gyp info spawn args '/var/www/xxx.net/src/node_modules/ccap/build/config.gyp i’, gyp info spawn args '-I’, gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/add on.gypi’, gyp info spawn args '-I’, gyp info spawn args '/root/.node-gyp/0.12.7/common.gypi’, gyp info spawn args '-Dlibrary=shared_library’, gyp info spawn args '-Dvisibility=default’, gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/0.12.7’, gyp info spawn args '-Dmodule_root_dir=/var/www/xxx.net/src/node_modules/cca p’, gyp info spawn args '–depth=.’, gyp info spawn args '–no-parallel’, gyp info spawn args '–generator-output’, gyp info spawn args ‘build’, gyp info spawn args '-Goutput_dir=.’ ] Traceback (most recent call last): File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 18, in <module> sys.exit(gyp.script_main()) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/in it.py", line 533, in script_main return main(sys.argv[1:]) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/in it.py", line 526, in main return gyp_main(args) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/in it.py", line 502, in gyp_main params, options.check, options.circular_check) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/in it.py", line 129, in Load params[‘parallel’], params[‘root_targets’]) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/inpu t.py", line 2736, in Load variables, includes, depth, check, True) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/inpu t.py", line 386, in LoadTargetBuildFile includes, True, check) [root@AY1309251503212494edZ src]# cnpm install -d npm info it worked if it ends with ok npm info using [email protected] npm info using [email protected] npm info preinstall [email protected] npm info package.json [email protected] No license field. npm info attempt registry request try #1 at 17:38:48 npm http request GET https://registry.npm.taobao.org/ccap npm http 304 https://registry.npm.taobao.org/ccap npm info install [email protected] into /var/www/yunzj.net/src npm info installOne [email protected] npm info preinstall [email protected]
[email protected] preinstall /var/www/yunzj.net/src/node_modules/ccap node make.js
I’m glad you to select ccap, enjoy it!
ccap is a cross plat form and portable nodejs simple captcha module, simple api and lightweight.
starting compile ccap! good luck! npm info attempt registry request try #1 at 17:38:49 npm http request GET https://registry.npm.taobao.org/node-schedule npm info attempt registry request try #1 at 17:38:49 npm http request GET https://registry.npm.taobao.org/nan npm http 304 https://registry.npm.taobao.org/node-schedule npm http 304 https://registry.npm.taobao.org/nan npm info install [email protected] into /var/www/xxx.net/src/node_modules/c cap npm info install [email protected] into /var/www/xxx.net/src/node_modules/ccap npm info installOne [email protected] npm info installOne [email protected] npm info preinstall [email protected] npm info build /var/www/xxx.net/src/node_modules/ccap/node_modules/node-schedu le npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info preinstall [email protected] npm info build /var/www/xxx.net/src/node_modules/ccap/node_modules/nan npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info build /var/www/xxx.net/src/node_modules/ccap npm info linkStuff [email protected] npm info install [email protected]
[email protected] install /var/www/yunzj.net/src/node_modules/ccap node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn python2
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp
/gyp_main.py’,
gyp info spawn args 'binding.gyp’,
gyp info spawn args '-f’,
gyp info spawn args 'make’,
gyp info spawn args '-I’,
gyp info spawn args '/var/www/xxx.net/src/node_modules/ccap/build/config.gyp
i’,
gyp info spawn args '-I’,
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/add
on.gypi’,
gyp info spawn args '-I’,
gyp info spawn args '/root/.node-gyp/0.12.7/common.gypi’,
gyp info spawn args '-Dlibrary=shared_library’,
gyp info spawn args '-Dvisibility=default’,
gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/0.12.7’,
gyp info spawn args '-Dmodule_root_dir=/var/www/xxx.net/src/node_modules/cca
p’,
gyp info spawn args '–depth=.’,
gyp info spawn args '–no-parallel’,
gyp info spawn args '–generator-output’,
gyp info spawn args ‘build’,
gyp info spawn args '-Goutput_dir=.’ ]
Traceback (most recent call last):
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py",
line 18, in <module>
sys.exit(gyp.script_main())
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/in
it.py", line 533, in script_main
return main(sys.argv[1:])
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/in
it.py", line 526, in main
return gyp_main(args)
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/in
it.py", line 502, in gyp_main
params, options.check, options.circular_check)
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/in
it.py", line 129, in Load
params[‘parallel’], params[‘root_targets’])
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/inpu
t.py", line 2736, in Load
variables, includes, depth, check, True)
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/inpu
t.py", line 386, in LoadTargetBuildFile
includes, True, check)
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/inpu
t.py", line 238, in LoadOneBuildFile
None)
File “binding.gyp", line 1
{
^
SyntaxError: invalid syntax
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/nod
e_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Linux 2.6.32-358.6.2.el6.x86_64
gyp ERR! command “node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/b
in/node-gyp.js” “rebuild”
gyp ERR! cwd /var/www/yunzj.net/src/node_modules/ccap
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm info [email protected] Failed to exec install script
npm ERR! Linux 2.6.32-358.6.2.el6.x86_64
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “–registry=https://reg
istry.npm.taobao.org” “–cache=/root/.npm/.cache/cnpm” “–disturl=https://npm.ta
obao.org/dist” “–userconfig=/root/.cnpmrc” “install” "-d”
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild’.
npm ERR! This is most likely a problem with the ccap package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls ccap
npm ERR! There is likely additional logging output above.
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm info postuninstall [email protected]
npm ERR! Please include the following file with any support request: npm ERR! /var/www/xxx.net/src/npm-debug.log
npm-debug.log文件内容:////////////////////////////////////////////////////////////////////////////////////////////////////// gyp ERR! stack at ChildProcess.emit (events.js:110:17) 234 silly install resolved main: 'include_dirs.js’, 234 silly install resolved repository: { type: 'git’, url: ‘git://github.com /rvagg/nan.git’ }, 234 silly install resolved scripts: 234 silly install resolved { test: 'tap --gc test/js/*-test.js’, 234 silly install resolved 'rebuild-tests’: ‘pangyp rebuild --directory t est’ }, 234 silly install resolved contributors: 234 silly install resolved [ [Object], 234 silly install resolved [Object], 234 silly install resolved [Object], 234 silly install resolved [Object],