[Pkg-javascript-devel] Bug#970550: Bug#970550: Bug#970550: replacing browserify with webpack or rollup - need help

Pirate Praveen praveen at onenetbeyond.org
Thu Sep 24 12:43:53 BST 2020



On Sun, Sep 20, 2020 at 16:10, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> 
> 
> On Sun, Sep 20, 2020 at 15:51, Nilesh Patra <npatra974 at gmail.com> 
> wrote:
>> I've seen these almost same buffer based errors before - with 
>> webpack specifically - and manually creating a symlink helped. I 
>> did the same in this case and the build passes with "Buffer: true"
>> I've pushed the commit to the same webpack branch
>> Could you take a look and let me know if it made the situation 
>> better/worse?
> 
> diaspora still fails at rake assets:precompile step with same error. 
> I suspected it has something to do with version of buffer we have. 
> libs-browser has buffer 4.3.0 in package.json but we have node-buffer 
> 5.x. But even with buffer 4.9.2 embedded, it fails the same way.

After trying different options of both webpack and rollup, finally 
found this
https://github.com/ai/autoprefixer-rails/blob/master/build/rollup.config.js

I will try using this now.



More information about the Pkg-javascript-devel mailing list