babel / babel/jekyll-babel

Fails with an unlabelled error on Windows

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
33
Forks
8
PR merge metrics
No merged PRs in 30d

Description

On my Windows 10 64-bit it fails with:

```
Conversion error: Jekyll::Converters::Babel encountered an error while converting 'assets/js/components/PlayButton.es6':

(execjs):1: ExecJS::RuntimeError
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/execjs-2.7.0/lib/execjs/external_runtime.rb:184:in `exec_runtime'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/execjs-2.7.0/lib/execjs/external_runtime.rb:39:in `exec'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/execjs-2.7.0/lib/execjs/external_runtime.rb:14:in `initialize'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/execjs-2.7.0/lib/execjs/runtime.rb:57:in `new'
...
```

After banging my head against the wall for a couple of hours I figured out this is the cause (and solution): https://github.com/babel/ruby-babel-transpiler/pull/295

So until that's pulled and included in the next release it'll most likely be broken on Windows.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the conversion of assets/js/components/PlayButton.es6 and the ExecJS stack trace; review the referenced ruby-babel-transpiler pull request and the dependency version used by this repository. Done means the Windows conversion no longer fails with the reported error after a compatible release is included.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, jekyll, ruby
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.