Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

npm install fails with incompatible phantomjs version #695

Open
gghai opened this issue Oct 19, 2015 · 0 comments
Open

npm install fails with incompatible phantomjs version #695

gghai opened this issue Oct 19, 2015 · 0 comments
Milestone

Comments

@gghai
Copy link

gghai commented Oct 19, 2015

Using Ml Nightly and develop branch .

Ran the appserver - went fine
Now ran the npm install ; give a below error

cd marklogic-samplestack/
npm install

[email protected] preinstall /home/builder/marklogic-samplestack
node shared/js/dev-tasks/preinstall.js

npm WARN engine [email protected]: wanted: {"node":">= 0.12.x"} (current: {"node":"0.10.33","npm":"2.1.11"})
npm WARN engine [email protected]: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.33","npm":"2.1.11"})
npm WARN engine [email protected]: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.33","npm":"2.1.11"})
npm WARN engine [email protected]: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.33","npm":"2.1.11"})

[email protected] install /home/builder/marklogic-samplestack/node_modules/phantomjs
node install.js

Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2
Receiving...
[========================================] 100% 0.0s

Received 12854K total.
Extracting tar contents (via spawned process)
Removing /home/builder/marklogic-samplestack/node_modules/phantomjs/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2-extract-1445284140287/phantomjs-1.9.8-linux-x86_64 -> /home/builder/marklogic-samplestack/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /home/builder/marklogic-samplestack/node_modules/phantomjs/lib/phantom/bin/phantomjs
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.33","npm":"2.1.11"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.33","npm":"2.1.11"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.33","npm":"2.1.11"})
npm WARN engine [email protected]: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"0.10.33","npm":"2.1.11"})

[email protected] postinstall /home/builder/marklogic-samplestack/node_modules/sauce-connect-launcher
node scripts/install.js

npm WARN engine [email protected]: wanted: {"node":">= 0.12.x"} (current: {"node":"0.10.33","npm":"2.1.11"})

[email protected] postinstall /home/builder/marklogic-samplestack/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync
node postinstall

Installing native dependencies (this may take up to a minute)
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.33","npm":"2.1.11"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.33","npm":"2.1.11"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.33","npm":"2.1.11"})

[email protected] install /home/builder/marklogic-samplestack/node_modules/monitor/node_modules/socket.io-client/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory /home/builder/marklogic-samplestack/node_modules/monitor/node_modules/socket.io-client/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node SOLINK_MODULE(target) Release/obj.target/validation.node: Finished COPY Release/validation.node make: Leaving directory/home/builder/marklogic-samplestack/node_modules/monitor/node_modules/socket.io-client/node_modules/ws/build'

[email protected] install /home/builder/marklogic-samplestack/node_modules/monitor/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory /home/builder/marklogic-samplestack/node_modules/monitor/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node SOLINK_MODULE(target) Release/obj.target/validation.node: Finished COPY Release/validation.node make: Leaving directory/home/builder/marklogic-samplestack/node_modules/monitor/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build'

[email protected] install /home/builder/marklogic-samplestack/node_modules/node-sass
node scripts/install.js

Binary downloaded and installed at /home/builder/marklogic-samplestack/node_modules/node-sass/vendor/linux-x64-11/binding.node

[email protected] postinstall /home/builder/marklogic-samplestack/node_modules/node-sass
node scripts/build.js

/home/builder/marklogic-samplestack/node_modules/node-sass/vendor/linux-x64-11/binding.node exists.
testing binary.
Binary is fine; exiting.
\

[email protected] postinstall /home/builder/marklogic-samplestack
node shared/js/dev-tasks/postinstall.js

Samplestack: fetching browser run-time dependencies
? May bower anonymously report usage statistics to improve the tool over time? No
bower cached git://github.com/GrumpyWizards/ngMarkdown.git#c396e44b64
bower validate c396e44b64 against git://github.com/GrumpyWizards/ngMarkdown.git#c396e44b64d9e67f4dbc5626e2a645d36e87ed01
bower cached git://github.com/clockworked247/bootstrap-bower.git#43c2759a31
bower validate 43c2759a31 against git://github.com/clockworked247/bootstrap-bower.git#43c2759a3127a7b75732728e8d027ca348d06af2
bower cached git://github.com/wooldridge/ngTagsInput-bower.git#bb0e439000
bower validate bb0e439000 against git://github.com/wooldridge/ngTagsInput-bower.git#bb0e439000983363a17256862b5ae763ef6b5000
bower cached git://github.com/angular/bower-angular-cookies.git#1.3.8
bower validate 1.3.8 against git://github.com/angular/bower-angular-cookies.git#1.3.8
bower cached git://github.com/angular/bower-angular-mocks.git#1.3.8
bower validate 1.3.8 against git://github.com/angular/bower-angular-mocks.git#1.3.8
bower cached git://github.com/angular/bower-angular-sanitize.git#1.3.8
bower validate 1.3.8 against git://github.com/angular/bower-angular-sanitize.git#1.3.8
bower cached git://github.com/marklagendijk/ui-router.stateHelper.git#1.2.1
bower validate 1.2.1 against git://github.com/marklagendijk/ui-router.stateHelper.git#1.2.1
bower cached git://github.com/angular-ui/ui-router.git#0.2.13
bower validate 0.2.13 against git://github.com/angular-ui/ui-router.git#0.2.13
bower cached git://github.com/components/highlightjs.git#8.4.0
bower validate 8.4.0 against git://github.com/components/highlightjs.git#8.4.0
bower cached git://github.com/angular/bower-angular.git#1.3.8
bower validate 1.3.8 against git://github.com/angular/bower-angular.git#1.3.8
bower cached git://github.com/twbs/bootstrap-sass.git#3.3.3
bower validate 3.3.3 against git://github.com/twbs/bootstrap-sass.git#3.3.3
bower cached git://github.com/es-shims/es5-shim.git#4.1.0
bower validate 4.1.0 against git://github.com/es-shims/es5-shim.git#4.1.0
bower cached git://github.com/Hypercubed/angular-marked.git#0.0.12
bower validate 0.0.12 against git://github.com/Hypercubed/angular-marked.git#0.0.12
bower cached git://github.com/lodash/lodash.git#2.4.1
bower validate 2.4.1 against git://github.com/lodash/lodash.git#2.4.1
bower cached git://github.com/jquery/jquery.git#2.1.3
bower validate 2.1.3 against git://github.com/jquery/jquery.git#2.1.3
bower cached git://github.com/pablojim/highcharts-ng.git#0.0.7
bower validate 0.0.7 against git://github.com/pablojim/highcharts-ng.git#0.0.7
bower cached git://github.com/chjj/marked.git#0.3.3
bower validate 0.3.3 against git://github.com/chjj/marked.git#0.3.3
bower cached git://github.com/highslide-software/highcharts-release.git#4.0.4
bower validate 4.0.4 against git://github.com/highslide-software/highcharts-release.git#4.0.4
bower cached git://github.com/jrburke/requirejs-bower.git#2.1.15
bower validate 2.1.15 against git://github.com/jrburke/requirejs-bower.git#2.1.15
bower cached git://github.com/stacktracejs/stacktrace.js.git#0.6.4
bower validate 0.6.4 against git://github.com/stacktracejs/stacktrace.js.git#0.6.4
bower cached git://github.com/moment/moment.git#2.9.0
bower validate 2.9.0 against git://github.com/moment/moment.git#2.9.0
bower cached git://github.com/Modernizr/Modernizr.git#2.8.3
bower validate 2.8.3 against git://github.com/Modernizr/Modernizr.git#2.8.3
bower cached git://github.com/domenic/chai-as-promised.git#4.1.1
bower validate 4.1.1 against git://github.com/domenic/chai-as-promised.git#4.1.1
bower cached git://github.com/HenningM/jstimezonedetect.git#1.0.6
bower validate 1.0.6 against git://github.com/HenningM/jstimezonedetect.git#1.0.6
bower cached git://github.com/chaijs/chai.git#1.10.0
bower validate 1.10.0 against git://github.com/chaijs/chai.git#1.10.0
bower cached git://github.com/mochajs/mocha.git#2.1.0
bower validate 2.1.0 against git://github.com/mochajs/mocha.git#2.1.0
bower cached git://github.com/wilmoore/sinon-browser-only.git#1.12.1
bower validate 1.12.1 against git://github.com/wilmoore/sinon-browser-only.git#1.12.1
bower cached git://github.com/millermedeiros/requirejs-plugins.git#1.0.3
bower validate 1.0.3 against git://github.com/millermedeiros/requirejs-plugins.git#1.0.3
bower cached git://github.com/moment/moment.git#2.9.0
bower validate 2.9.0 against git://github.com/moment/moment.git#2.9.0
bower cached git://github.com/angular/bower-angular.git#1.2.28
bower validate 1.2.28 against git://github.com/angular/bower-angular.git#>=1 <1.3.0
bower cached git://github.com/domenic/sinon-chai.git#2.6.0
bower validate 2.6.0 against git://github.com/domenic/sinon-chai.git#2.6.0
bower new version for git://github.com/angular/bower-angular.git#>=1 <1.3.0
bower resolve git://github.com/angular/bower-angular.git#>=1 <1.3.0
bower new version for git://github.com/lodash/lodash.git#2.4.1
bower resolve git://github.com/lodash/lodash.git#2.4.1
bower download https://github.com/angular/bower-angular/archive/v1.2.29.tar.gz
bower download https://github.com/lodash/lodash/archive/2.4.1.tar.gz
bower new version for git://github.com/stacktracejs/stacktrace.js.git#0.6.4
bower resolve git://github.com/stacktracejs/stacktrace.js.git#0.6.4
bower download https://github.com/stacktracejs/stacktrace.js/archive/0.6.4.tar.gz
bower extract angular#>=1 <1.3.0 archive.tar.gz
bower extract lodash#2.4.1 archive.tar.gz
bower resolved git://github.com/angular/bower-angular.git#1.2.29
bower resolved git://github.com/lodash/lodash.git#2.4.1
bower extract stacktrace-js#0.6.4 archive.tar.gz
bower resolved git://github.com/stacktracejs/stacktrace.js.git#0.6.4

Please note that,
angular-bootstrap#43c2759a31 depends on angular#>=1 <1.3.0 which resolved to angular#1.2.29
angular-cookies#1.3.8, angular-mocks#1.3.8, angular-sanitize#1.3.8, marklogic-samplestack depends on angular#1.3.8 which resolved to angular#1.3.8
ng-tags-input#bb0e439000 depends on angular#>=1.2.1 which resolved to angular#1.3.8
angular-ui-router.stateHelper#1.2.1 depends on angular#>=1.2.0 which resolved to angular#1.3.8
angular-ui-router#0.2.13 depends on angular#>= 1.0.8 which resolved to angular#1.3.8
angular-marked#0.0.12 depends on angular#>= 1.2.5 which resolved to angular#1.3.8
Resort to using angular#1.3.8 which resolved to angular#1.3.8
Code incompatibilities may occur.

bower install ngMarkdown#c396e44b64
bower install angular-bootstrap#43c2759a31
bower install ng-tags-input#bb0e439000
bower install angular-ui-router.stateHelper#1.2.1
bower install angular-ui-router#0.2.13
bower install highlightjs#8.4.0
bower install angular-cookies#1.3.8
bower install es5-shim#4.1.0
bower install bootstrap-sass#3.3.3
bower install angular#1.3.8
bower install angular-sanitize#1.3.8
bower install angular-mocks#1.3.8
bower install marked#0.3.3
bower install highcharts-ng#0.0.7
bower install jquery#2.1.3
bower install angular-marked#0.0.12
bower install requirejs#2.1.15
bower install highcharts#4.0.4
bower install modernizr#2.8.3
bower install chai-as-promised#4.1.1
bower install jstzdetect#1.0.6
bower install moment#2.9.0
bower install momentjs#2.9.0
bower install chai#1.10.0
bower install sinon-browser-only#1.12.1
bower install sinon-chai#2.6.0
bower install mocha#2.1.0
bower install lodash#2.4.1
bower install requirejs-plugins#1.0.3
bower install stacktrace-js#0.6.4

ngMarkdown#c396e44b64 bower_components/ngMarkdown

angular-bootstrap#43c2759a31 bower_components/angular-bootstrap
└── angular#1.3.8

ng-tags-input#bb0e439000 bower_components/ng-tags-input
└── angular#1.3.8

angular-ui-router.stateHelper#1.2.1 bower_components/angular-ui-router.stateHelper
├── angular#1.3.8
└── angular-ui-router#0.2.13

angular-ui-router#0.2.13 bower_components/angular-ui-router
└── angular#1.3.8

highlightjs#8.4.0 bower_components/highlightjs

angular-cookies#1.3.8 bower_components/angular-cookies
└── angular#1.3.8

es5-shim#4.1.0 bower_components/es5-shim

bootstrap-sass#3.3.3 bower_components/bootstrap-sass
└── jquery#2.1.3

angular#1.3.8 bower_components/angular

angular-sanitize#1.3.8 bower_components/angular-sanitize
└── angular#1.3.8

angular-mocks#1.3.8 bower_components/angular-mocks
└── angular#1.3.8

marked#0.3.3 bower_components/marked

highcharts-ng#0.0.7 bower_components/highcharts-ng

jquery#2.1.3 bower_components/jquery

angular-marked#0.0.12 bower_components/angular-marked
├── angular#1.3.8
└── marked#0.3.3

requirejs#2.1.15 bower_components/requirejs

highcharts#4.0.4 bower_components/highcharts

modernizr#2.8.3 bower_components/modernizr

chai-as-promised#4.1.1 bower_components/chai-as-promised

jstzdetect#1.0.6 bower_components/jstzdetect

moment#2.9.0 bower_components/moment

momentjs#2.9.0 bower_components/momentjs

chai#1.10.0 bower_components/chai

sinon-browser-only#1.12.1 bower_components/sinon-browser-only

sinon-chai#2.6.0 bower_components/sinon-chai

mocha#2.1.0 bower_components/mocha

lodash#2.4.1 bower_components/lodash

requirejs-plugins#1.0.3 bower_components/requirejs-plugins

stacktrace-js#0.6.4 bower_components/stacktrace-js
Samplestack: cleaning up unused directories
npm ERR! Linux 2.6.32-504.8.1.el6.x86_64
npm ERR! argv "node" "/home/builder/local/bin/npm" "install"
npm ERR! node v0.10.33
npm ERR! npm v2.1.11
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package phantomjs does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants [email protected] - 1.9.7-15

npm ERR! Please include the following file with any support request:
npm ERR! /home/builder/marklogic-samplestack/npm-debug.log

I am able to see this error on windows and linux against the
npm -v
2.1.11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants