https://pantsbuild.org/ logo
#general
Title
# general
e

enough-analyst-54434

08/27/2015, 3:47 AM
Um, this:
Copy code
npm install selenium-webdriver@2.46.1 --prefix ./canonical --cache ./npm-cache
-
> utf-8-validate@1.1.0 install /tmp/node-test/canonical/node_modules/selenium-webdriver/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

make: Entering directory '/tmp/node-test/canonical/node_modules/selenium-webdriver/node_modules/ws/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/obj.target/validation.node
  COPY Release/validation.node
make: Leaving directory '/tmp/node-test/canonical/node_modules/selenium-webdriver/node_modules/ws/node_modules/utf-8-validate/build'

> bufferutil@1.1.0 install /tmp/node-test/canonical/node_modules/selenium-webdriver/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

make: Entering directory '/tmp/node-test/canonical/node_modules/selenium-webdriver/node_modules/ws/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/obj.target/bufferutil.node
  COPY Release/bufferutil.node
make: Leaving directory '/tmp/node-test/canonical/node_modules/selenium-webdriver/node_modules/ws/node_modules/bufferutil/build'
selenium-webdriver@2.46.1 canonical/node_modules/selenium-webdriver
├── tmp@0.0.24
├── adm-zip@0.4.4
├── xml2js@0.4.4 (sax@0.6.1, xmlbuilder@2.6.4)
├── rimraf@2.4.3 (glob@5.0.14)
└── ws@0.7.2 (options@0.0.6, ultron@1.0.2, utf-8-validate@1.1.0, bufferutil@1.1.0)
jsirois@gill /tmp/node-test $ ls
canonical  npm-cache
jsirois@gill /tmp/node-test $ mkdir copy && cd copy && npm link ../canonical/node_modules/selenium-webdriver
multer@0.1.8 ../canonical/node_modules/selenium-webdriver/node_modules/multer
├── qs@1.2.2
├── mkdirp@0.3.5
├── type-is@1.5.7 (media-typer@0.3.0, mime-types@2.0.14)
└── busboy@0.2.9 (dicer@0.2.3, readable-stream@1.1.13)
... [no SOLINK] ...
promises-aplus-tests@2.1.1 ../canonical/node_modules/selenium-webdriver/node_modules/promises-aplus-tests
├── underscore@1.6.0
├── sinon@1.16.1 (formatio@1.1.1, samsam@1.1.2, lolex@1.3.1, util@0.10.3)
└── mocha@1.21.5 (escape-string-regexp@1.0.2, diff@1.0.8, growl@1.8.1, commander@2.3.0, jade@0.26.3, mkdirp@0.5.0, debug@2.0.0, glob@3.2.3)
/home/jsirois/.nvm/versions/node/v0.12.7/lib/node_modules/selenium-webdriver -> /tmp/node-test/canonical/node_modules/selenium-webdriver
/tmp/node-test/copy/node_modules/selenium-webdriver -> /home/jsirois/.nvm/versions/node/v0.12.7/lib/node_modules/selenium-webdriver -> /tmp/node-test/canonical/node_modules/selenium-webdriver
jsirois@gill /tmp/node-test/copy $ node
> var webdrive = require('selenium-webdriver')
undefined
> webdrive
{ ActionSequence: { [Function] checkModifierKey_: [Function] },
  Builder: [Function],
  By: 
   { className: [Function],
     css: [Function],
     id: [Function],
     linkText: [Function],
     js: [Function],
     name: [Function],
     partialLinkText: [Function],
     tagName: [Function],
     xpath: [Function] },
...