Munter / tolk

A file reader that promises to translate non-web assets to web assets given the available transpilers. Autoprefixing, sourcemaps and all!
27 stars 0 forks source link

Accord error loading latest babel #46

Open kaeff opened 8 years ago

kaeff commented 8 years ago

Hi Peter,

I just tried fusile (i.e. the example from your JSConf talk) and got this error:

babel version 6.1.18 is not currently supported. Try updating to the latest version

I'm on MacOSX 10, and basically did this:

brew cask install osxfuse
npm install fusile babel
mkdir src
echo "var hello = () => 'world';" >> src/hello.jsx
fusile src dest

From my preliminary understanding, this is an error somewhere in accord or deeper down, but catched in lib/tolk.js:44. Thought I'd let you know, haven't spend much time narrowing down the problem further.

Thanks for your great work! Can't wait to use fusile everywhere =)

kaeff commented 8 years ago

Seems like gatekeeper&travis where faster than me: https://travis-ci.org/Munter/tolk/jobs/90830407#L120

Munter commented 8 years ago

Yeah, looks like you have to stick with babel 5 for now. I haven't been able to keep up with maintenance recently. Life happened and such. Opened a bug with Accord to track status

kaeff commented 8 years ago

On 1 Dec 2015, at 02:17, Peter Müller notifications@github.com wrote:

I haven't been able to keep up with maintenance recently. Life happened and such.

Thanks Peter, no worries, take it easy :-)

gustavnikolaj commented 8 years ago

The issue in accord referenced above, is fixed as of https://github.com/jenius/accord/commit/c8f705021cf022219e052c8ac5ea69bc775ee6e1 - updated accord in the pr referenced.

gustavnikolaj commented 8 years ago

The fix is released with tolk@2.0.0

Before this issue is resolved fusile needs to be updated to the new tolk version. I added a PR for that here: https://github.com/Munter/fusile/pull/141