[Pkg-javascript-devel] Need help with building vendor/autoprefixer.js for ruby-autoprefixer-rais

Jonas Smedegaard jonas at jones.dk
Thu Feb 7 10:18:53 GMT 2019


Quoting Pirate Praveen (2019-02-07 09:33:33)
> This was working fine before, I think its breaking now with nodejs 10 
> (guess because of reference to buffer in the error and remembering 
> some discussions around it).
> 
> Can someone help with this error? I tried adding node-buffer as build 
> dependency, but that did not change anything.

For others reading along (because I learned on irc that Praveen wants to 
continue maintain the wrong approach):

It is bad and wrong and unsurprising it falls apart to try to "build" 
vendor/autoprefixer.js - as its path clearly indicates, that is 
convenience code copy from a _different_ upstream project.

Source package is node-autoprefixer, not ruby-autoprefixer-rails. Proper 
thing to do is to have node-autoprefixer build not only targeted Node.js 
but also targeted browsers, and then have ruby-autoprefixer-rails 
symlink and depend on that.

...as has been pointed out numerous times already for those ruby 
packages embedding JavaScript!


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190207/1158d0fa/attachment.sig>


More information about the Pkg-javascript-devel mailing list