[Pkg-javascript-devel] Bug#1009245: ruby-autoprefixer-rails: broken build (TypeError: Cannot read property 'env' of undefined)
Pirate Praveen
praveen at onenetbeyond.org
Tue May 3 14:46:01 BST 2022
On Tue, 12 Apr 2022 23:59:16 +0530 Akshay S Dinesh
<akshay at learnlearn.in> wrote:
> There is a possibility that this is related to the execjs version.
>
>
https://github.com/ai/autoprefixer-rails/issues/203#issuecomment-838512342
>
>
> On the other hand, the autoprefixer.js from the gem (about 1 MB) and
the
> autoprefixer.js that's generated through build from the upstream repo
> (about 8 MB) seems to be different. This is unexplained by the dev.
>
>
I think one of the build dependency with major version difference is
causing the broken build.
"@rollup/plugin-commonjs": "^17.0.0", vs 21.0.1+repack-1
"@rollup/plugin-node-resolve": "^11.0.1", vs 13.2.1+ds-1
"@rollup/plugin-replace": "^2.3.3", vs 3.0.0+ds+~2.2.0-1
We should try the upstream build with these newer versions and see if
the error can be reproduced.
More information about the Pkg-javascript-devel
mailing list