[DRE-maint] Bug#1013218: Fwd: Re: [Pkg-javascript-devel] Bug#1013218: rails: ftbfs SyntaxError: Unexpected token 'export'

Pirate Praveen praveen at onenetbeyond.org
Sun Jun 19 11:16:22 BST 2022



On ഞാ, ജൂൺ 19, 2022 at 15:40, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> Control: reassign -1 rails,ruby-coffee-script-source
> 
> On ഞാ, ജൂൺ 19, 2022 at 12:25, Pirate Praveen 
> <praveen at onenetbeyond.org> wrote:
> 
> This may be related to 1013189 (some binary packages were rearranged 
> in node-babel7 and it may be causing the transpilation failure).
> 
> ruby-blade does not seem to be using babel, so another possibility is 
> ruby-coffee-script and recent major update of cofeescript.
> 
> ruby-coffee-script-source should be update to match cofeescript (1.12 
> to 2.7)

from http://coffeescript.org/#whats-new-in-coffeescript-2

What’s New In CoffeeScript 2?

The biggest change in CoffeeScript 2 is that now the CoffeeScript 
compiler produces modern JavaScript syntax (ES6, or ES2015 and later).

So this explains the breakage. I don't think we can stay with 
cofeescript 1.x so we have to find a way to make cofeescript 2 produce 
ES5 or make execjs handle ES6 since underlying nodejs (16.x) can handle 
it natively.



More information about the Pkg-ruby-extras-maintainers mailing list