Coder Social home page Coder Social logo

Coffeescript compile error about zerome HOT 4 CLOSED

binhgo avatar binhgo commented on June 2, 2024
Coffeescript compile error

from zerome.

Comments (4)

HelloZeroNet avatar HelloZeroNet commented on June 2, 2024

I can confirm it does not works with Coffeescript 2.x (probably it would require major changes), but it compiles with 1.12.8.

from zerome.

binhgo avatar binhgo commented on June 2, 2024

yes, I found that it wont work with coffee 2.x, so that I install coffee 1.x (1.12.7 and 1.7.0), I tried both, but it does not work.

Both version of coffee 1.x gave me the error above. The site I am using to test it ZeroMe.

  1. I create a new zite
  2. I clone the ZeroMe from github
  3. I open Developer tools to force CoffeeScript complier
  4. It gave me the error above

from zerome.

HelloZeroNet avatar HelloZeroNet commented on June 2, 2024

I'm pretty sure the error message you get is given by coffeescript 2.x.

Please test the version using coffee --version

from zerome.

binhgo avatar binhgo commented on June 2, 2024

Yup, seem that Coffee 1.x now took affect, After some restarts, now I can build Coffee -> JS.

Thanks ๐Ÿ‘

For other people:

  1. install Coffee 1.12.7: npm install -g [email protected]
  2. stop all ZeroNet instance and restart the machine, I restarted 3 times and it works
  3. Run ZeroNet, open Developer tools in browser and reload the page

from zerome.

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.