Thank you very much
On Jun 11, 2013 5:53 PM, "Matt" <[email protected]> wrote:

> I highly recommend you don't use that library (from bad experiences in a
> commercial project). If you just want to control phantom you want one of
> these:
>
> node-phantom
> node-phantom-ws
> phantom-proxy
>
>
> On Tue, Jun 11, 2013 at 7:18 AM, Daniel Rinehart <[email protected]>wrote:
>
>> Looks like xcode isn't installed or configured properly based on this
>> message. A little searching on stack overflow will give you the steps
>> needed to resolve it.
>>
>> xcode-select: Error: No Xcode is selected. Use xcode-select -switch
>> <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for
>> further information.
>>
>> -- Daniel R. <[email protected]> [http://danielr.neophi.com/]
>>  On Jun 11, 2013 6:25 AM, "Maxim Yefremov" <[email protected]> wrote:
>>
>>> Hello, I got installed phantomJs <http://phantomjs.org/download.html> on
>>> mac:
>>> $ phantomjs
>>> phantomjs>
>>>
>>> But can not install phantom <https://github.com/sgentle/phantomjs-node> at
>>> my project work folder:
>>> $ sudo npm install phantom
>>> Password:
>>> npm http GET 
>>> https://registry.npmjs.org/**phantom<https://registry.npmjs.org/phantom>
>>> npm http 304 
>>> https://registry.npmjs.org/**phantom<https://registry.npmjs.org/phantom>
>>> npm http GET 
>>> https://registry.npmjs.org/**dnode<https://registry.npmjs.org/dnode>
>>> npm http GET 
>>> https://registry.npmjs.org/**shoe<https://registry.npmjs.org/shoe>
>>> npm http 304 
>>> https://registry.npmjs.org/**dnode<https://registry.npmjs.org/dnode>
>>> npm http 304 
>>> https://registry.npmjs.org/**shoe<https://registry.npmjs.org/shoe>
>>> npm http GET 
>>> https://registry.npmjs.org/**dnode-protocol<https://registry.npmjs.org/dnode-protocol>
>>> npm http GET 
>>> https://registry.npmjs.org/**jsonify<https://registry.npmjs.org/jsonify>
>>> npm http GET 
>>> https://registry.npmjs.org/**weak<https://registry.npmjs.org/weak>
>>> npm http 304 
>>> https://registry.npmjs.org/**jsonify<https://registry.npmjs.org/jsonify>
>>> npm http 304 
>>> https://registry.npmjs.org/**weak<https://registry.npmjs.org/weak>
>>> npm http 304 
>>> https://registry.npmjs.org/**dnode-protocol<https://registry.npmjs.org/dnode-protocol>
>>> npm http GET 
>>> https://registry.npmjs.org/**bindings<https://registry.npmjs.org/bindings>
>>> npm http GET 
>>> https://registry.npmjs.org/**traverse<https://registry.npmjs.org/traverse>
>>> npm http 304 
>>> https://registry.npmjs.org/**bindings<https://registry.npmjs.org/bindings>
>>> npm http 304 
>>> https://registry.npmjs.org/**traverse<https://registry.npmjs.org/traverse>
>>>
>>> > [email protected] install /Users/maks/Dropbox/nodeApps/**
>>> orgi/node_modules/phantom/**node_modules/dnode/node_**modules/weak
>>> > node-gyp rebuild
>>>
>>> xcode-select: Error: No Xcode is selected. Use xcode-select -switch
>>> <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for
>>> further information.
>>>
>>> Traceback (most recent call last):
>>>   File "/usr/local/lib/node_modules/**npm/node_modules/node-gyp/gyp/**gyp",
>>> line 18, in <module>
>>>     sys.exit(gyp.main(sys.argv[1:]**))
>>>   File 
>>> "/usr/local/lib/node_modules/**npm/node_modules/node-gyp/gyp/**pylib/gyp/__init__.py",
>>> line 523, in main
>>>     return gyp_main(args)
>>>   File 
>>> "/usr/local/lib/node_modules/**npm/node_modules/node-gyp/gyp/**pylib/gyp/__init__.py",
>>> line 508, in gyp_main
>>>     generator.GenerateOutput(flat_**list, targets, data, params)
>>>   File 
>>> "/usr/local/lib/node_modules/**npm/node_modules/node-gyp/gyp/**pylib/gyp/generator/make.py",
>>> line 2105, in GenerateOutput
>>>     part_of_all=qualified_target in needed_targets)
>>>   File 
>>> "/usr/local/lib/node_modules/**npm/node_modules/node-gyp/gyp/**pylib/gyp/generator/make.py",
>>> line 769, in Write
>>>     self.Pchify))
>>>   File 
>>> "/usr/local/lib/node_modules/**npm/node_modules/node-gyp/gyp/**pylib/gyp/generator/make.py",
>>> line 1154, in WriteSources
>>>     cflags = self.xcode_settings.GetCflags(**configname)
>>>   File 
>>> "/usr/local/lib/node_modules/**npm/node_modules/node-gyp/gyp/**pylib/gyp/xcode_emulation.py",
>>> line 260, in GetCflags
>>>     sdk_root = self._SdkPath()
>>>   File 
>>> "/usr/local/lib/node_modules/**npm/node_modules/node-gyp/gyp/**pylib/gyp/xcode_emulation.py",
>>> line 247, in _SdkPath
>>>     return os.path.join(self._**GetSdkBaseDir(),
>>>   File 
>>> "/usr/local/lib/node_modules/**npm/node_modules/node-gyp/gyp/**pylib/gyp/xcode_emulation.py",
>>> line 234, in _GetSdkBaseDir
>>>     raise Exception('Error %d running xcode-select' % job.returncode)
>>> Exception: Error 2 running xcode-select
>>> 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/node_modules/node-gyp/lib/**configure.js:415:16)
>>> gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
>>> gyp ERR! stack     at Process.ChildProcess._handle.**onexit
>>> (child_process.js:784:12)
>>> gyp ERR! System Darwin 12.3.0
>>> gyp ERR! command "node" "/usr/local/lib/node_modules/**
>>> npm/node_modules/node-gyp/bin/**node-gyp.js" "rebuild"
>>> gyp ERR! cwd /Users/maks/Dropbox/nodeApps/**orgi/node_modules/phantom/**
>>> node_modules/dnode/node_**modules/weak
>>> gyp ERR! node -v v0.10.5
>>> gyp ERR! node-gyp -v v0.9.5
>>> gyp ERR! not ok
>>> npm ERR! [email protected] install: `node-gyp rebuild`
>>> npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
>>> npm ERR!
>>> npm ERR! Failed at the [email protected] install script.
>>> npm ERR! This is most likely a problem with the weak 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 weak
>>> npm ERR! There is likely additional logging output above.
>>>
>>> npm ERR! System Darwin 12.3.0
>>> npm ERR! command "node" "/usr/local/bin/npm" "install" "phantom"
>>> npm ERR! cwd /Users/maks/Dropbox/nodeApps/**orgi
>>> npm ERR! node -v v0.10.5
>>> npm ERR! npm -v 1.2.18
>>> npm ERR! code ELIFECYCLE
>>> npm ERR! Error: ENOENT, lstat '/Users/maks/Dropbox/nodeApps/**
>>> orgi/node_modules/phantom/**node_modules/shoe/example/**
>>> invert/node_modules/**browserify/node_modules/**detective/node_modules/*
>>> *esprima/test/test.js'
>>> npm ERR! If you need help, you may report this log at:
>>> npm ERR!     
>>> <http://github.com/isaacs/npm/**issues<http://github.com/isaacs/npm/issues>
>>> >
>>> npm ERR! or email it to:
>>> npm ERR!     <[email protected]>
>>>
>>> npm ERR! System Darwin 12.3.0
>>> npm ERR! command "node" "/usr/local/bin/npm" "install" "phantom"
>>> npm ERR! cwd /Users/maks/Dropbox/nodeApps/**orgi
>>> npm ERR! node -v v0.10.5
>>> npm ERR! npm -v 1.2.18
>>> npm ERR! path /Users/maks/Dropbox/nodeApps/**orgi/node_modules/phantom/*
>>> *node_modules/shoe/example/**invert/node_modules/**
>>> browserify/node_modules/**detective/node_modules/**esprima/test/test.js
>>> npm ERR! fstream_path /Users/maks/Dropbox/nodeApps/**
>>> orgi/node_modules/phantom/**node_modules/shoe/example/**
>>> invert/node_modules/**browserify/node_modules/**detective/node_modules/*
>>> *esprima/test/test.js
>>> npm ERR! fstream_type File
>>> npm ERR! fstream_class FileWriter
>>> npm ERR! code ENOENT
>>> npm ERR! errno 34
>>> npm ERR! fstream_stack /usr/local/lib/node_modules/**
>>> npm/node_modules/fstream/lib/**writer.js:284:26
>>> npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
>>> npm ERR!
>>> npm ERR! Additional logging details can be found in:
>>> npm ERR!     /Users/maks/Dropbox/nodeApps/**orgi/npm-debug.log
>>> npm ERR! not ok code 0
>>>
>>> --
>>> --
>>> Job Board: http://jobs.nodejs.org/
>>> Posting guidelines:
>>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>>> You received this message because you are subscribed to the Google
>>> Groups "nodejs" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "nodejs" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>  --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "nodejs" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/nodejs/aMcsdXkLkQo/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to