Giter Site home page Giter Site logo

Comments (3)

netzpirat avatar netzpirat commented on August 10, 2024

I had the same problem and did some investigation: The root cause for this issue is a bug in locating the node binary in ruby-coffee-script, that has been introduced in the last version by this commit.

You can work around this bug by simply configure the bin_path:

Barista.configure do |config|
    config.bin_path = '/usr/local/bin/node'
end 

from barista.

netzpirat avatar netzpirat commented on August 10, 2024

I have filed an issue for ruby-coffee-script and sent a pull request that resolves this issue.

from barista.

sunaku avatar sunaku commented on August 10, 2024

Thanks netzpirat. I tried upgrading to the newly released coffee-script 2.1.3 gem but the same error still occurs. Next I tried setting config.bin_path = 'node' as you suggested and that fixed the error for me.

With some more investigation, I found that I installed nodejs on my Ubuntu machine and then also made a newer local node.js installation via NVM. CoffeeScript was installed locally in my NVM build, but not in the system-wide Ubuntu installation. That was the root cause of those errors.

I uninstalled the system-wide nodejs and now the problem is fully solved!

from barista.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.