Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Install Error on Ubuntu 12.04 #191

Closed
kalimati opened this issue Dec 14, 2013 · 5 comments
Closed

Install Error on Ubuntu 12.04 #191

kalimati opened this issue Dec 14, 2013 · 5 comments

Comments

@kalimati
Copy link

Hi, I was trying to install on Ubuntu 12.04 and this is the string of messages that I got. The node version installed is 0.10.22. Can you help?

node-sass@0.7.0 install /home/sharad/node_modules/node-sass
node build.js
gyp ERR! configure error
gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedir flag instead
gyp ERR! stack at install (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:65:16)
gyp ERR! stack at Object.self.commands.(anonymous function) as install
gyp ERR! stack at getNodeDir (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:150:20)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:93:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:659:7)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:101:17)
gyp ERR! stack at maybeClose (child_process.js:773:16)
gyp ERR! stack at Process.ChildProcess.handle.onexit (childprocess.js:840:5)
gyp ERR! System Linux 3.2.0-57-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/sharad/node_modules/node-sass
gyp ERR! node -v v0.11.10-pre
gyp ERR! node-gyp -v v0.12.1
gyp ERR! not ok
Build failed
npm ERR! node-sass@0.7.0 install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@0.7.0 install script.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.2.0-57-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-sass"
npm ERR! cwd /home/sharad
npm ERR! node -v v0.11.10-pre
npm ERR! npm -v 1.3.15
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sharad/npm-debug.log
npm ERR! not ok code 0

@kalimati
Copy link
Author

I am using Ubuntu Linux 12.04 with x64 arch and v8 version 3.14.5.9

@nschonni
Copy link
Contributor

gyp ERR! node -v v0.11.10-pre

It looks like you've got a pre-release version of Node installed as well. This won't work with node-gyp since it needs to download a specific version to compile the binaries.

Travis-CI builds this project with Node 0.10.22 on 0.12.10 LTS x64 fine

@kalimati
Copy link
Author

Thanks Nick. That was the problem.

On Sat, Dec 14, 2013 at 9:17 PM, Nick Schonning notifications@git.luolix.topwrote:

gyp ERR! node -v v0.11.10-pre

It looks like you've got a pre-release version of Node installed as well.
This won't work with node-gyp since it needs to download a specific version
to compile the binaries.

Travis-CI builds this project with Node 0.10.22 on 0.12.10 LTS x64 fine


Reply to this email directly or view it on GitHubhttps://github.com//issues/191#issuecomment-30576427
.

@LaurentGoderre
Copy link
Contributor

Can we close the issue?

@kalimati
Copy link
Author

Yes. Don't know if I was required to do that.
On Dec 16, 2013 8:21 PM, "Laurent Goderre" notifications@github.com wrote:

Can we close the issue?


Reply to this email directly or view it on GitHubhttps://github.com//issues/191#issuecomment-30665843
.

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

No branches or pull requests

3 participants