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

"npm install phantomjs" fails on Joyent's SmartOS #52

Closed
wkonkel opened this issue Apr 30, 2013 · 3 comments
Closed

"npm install phantomjs" fails on Joyent's SmartOS #52

wkonkel opened this issue Apr 30, 2013 · 3 comments

Comments

@wkonkel
Copy link

wkonkel commented Apr 30, 2013

I've created a $25 bounty on ariya/phantomjs#10521 via https://www.bountysource.com/#issues/302363-support-solaris-and-also-joyent-smartos

npm http GET https://registry.npmjs.org/wordwrap
Unexpected platform or architecture: sunos ia32
npm ERR! [email protected] install: node install.js
npm ERR! sh "-c" "node install.js" failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.

npm ERR! System SunOS 5.11
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /opt/jenkins/jobs/scope.js/workspace
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE

@dpup
Copy link
Contributor

dpup commented Apr 30, 2013

I'm pretty sure this is related to TMPDIR permissions. Can you try making
sure the env variable points to a directory your user has access to.

-- Dan

On Tue, Apr 30, 2013 at 3:48 PM, Warren Konkel [email protected]:

I've created a $25 bounty on ariya/phantomjs#10521https://github.com/ariya/phantomjs/issues/10521via
https://www.bountysource.com/#issues/302363-support-solaris-and-also-joyent-smartos

npm http GET https://registry.npmjs.org/wordwrap
Unexpected platform or architecture: sunos ia32
npm ERR! [email protected] install: node install.js
npm ERR! sh "-c" "node install.js" failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.

npm ERR! System SunOS 5.11
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /opt/jenkins/jobs/scope.js/workspace
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE


Reply to this email directly or view it on GitHubhttps://github.com//issues/52
.

@wkonkel
Copy link
Author

wkonkel commented Apr 30, 2013

[jenkins@qa1:~/.npm/phantomjs/1.9.0-3/package (0) 23:12:49] $ NODE_PATH=/usr/local/lib/node_modules node install.js
Unexpected platform or architecture: sunos ia32

@dpup
Copy link
Contributor

dpup commented Apr 30, 2013

oh, sorry, been getting a lot of dupes. So, the npm installer fetches prebuilt packages from phantomjs.org I don't want to get into the business of creating installers. If one of the prebuilt packages works on sunos I'd be to accept a PR. For now, closing as a dupe of #47.

@dpup dpup closed this as completed Apr 30, 2013
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