Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.42k stars 435 forks source link

Don't use osx binary on freebsd/openbsd #652

Closed nanaya closed 7 years ago

nanaya commented 7 years ago

The binary doesn't run on either platform.

nicks commented 7 years ago

thanks!

Swanty commented 7 years ago

This broke my npm install I have gulp-svg-sprite in packages.json which depends on svg-sprite which depends on phantomjs-prebuilt and it downloads phantomjs-prebuilt 2.1.14 and then throws error saying system not supported

if I try to install phantomjs-prebuilt 2.1.13 manually then it installs fine without errors, but I can't force other modules to install that version. How to fix this?

OS: FreeBSD x64 v10.3

nanaya commented 7 years ago

I doubt the previous version actually work. Installed, perhaps, but executing the binary will fail.

Swanty commented 7 years ago

You're right, binary can't be executed. Only solution I had was to set old svg-sprite version which uses phantomjs 1.9

Why isn't the new phantomjs working on freebsd? Is freebsd not going to be supported anymore?