mojotech / pioneer

Integration Testing
MIT License
527 stars 35 forks source link

Problem with installing pioneer on Ubuntu 14 #343

Open BagrijRoman opened 8 years ago

BagrijRoman commented 8 years ago

Problem with installing pioneer on Ubuntu 14 Hi. I want to try using pioneer to testing, but i get some troubles. I just try to execute command sudo npm install pioneer and i get npm WARN engine cucumber@0.3.3: wanted: {"node":"0.6 || 0.8 || 0.10 || 0.11"} (current: {"node":"4.4.0","npm":"2.14.20"}) then i get node-gyp rebuild and a lot of errors.

I try to change node version vith nvm to 0.8 and that thig was not resolved

installation freezes in momrnt, when it try get something from https://registry.npmjs.org/i/-/i-0.3.2.tgz For this adress i got in browser answer: {"error":"package could not be found."}

I aulso tryed ti install from git? but i got the same erorr. Is there any other way to install? Can anybody help me to install this pakage?

here is my logs


roman@rmk-pc:~$ cd projects
roman@rmk-pc:~/projects$ nvm use 0.8
Now using node v0.8.28 (npm v1.2.30)
roman@rmk-pc:~/projects$ nvm ls
->      v0.8.28
       v0.10.43
         system
node -> stable (-> v0.10.43) (default)
stable -> 0.10 (-> v0.10.43) (default)
iojs -> iojs- (-> N/A) (default)
roman@rmk-pc:~/projects$ node -v
v0.8.28
roman@rmk-pc:~/projects$ sudo npm install pioneer
[sudo] password for roman: 
npm WARN engine cucumber@0.3.3: wanted: {"node":"0.6 || 0.8 || 0.10 || 0.11"} (current: {"node":"4.4.0","npm":"2.14.20"})

> utf-8-validate@1.1.0 install /home/roman/node_modules/pioneer/node_modules/selenium-webdriver/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

....................................
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.2.0-34-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/roman/node_modules/pioneer/node_modules/selenium-webdriver/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v4.4.0
gyp ERR! node-gyp -v v3.3.0
gyp ERR! not ok
................................
npm WARN optional dep failed, continuing utf-8-validate@1.1.0
npm WARN optional dep failed, continuing bufferutil@1.1.0
npm ERR! fetch failed https://registry.npmjs.org/i/-/i-0.3.2.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 504